The problem that these scripts solve is something that was encountered by my company when trying to enforce git commit signature verifications. We had given out yubikeys to every employee but not kept the public keys after provisioning them! This is a bit problem because it's next to impossible to extract the full public key from a yubikey without knowing three different incantations and the internals of how GnuPG deals with smartcards. That said, I wrote these scripts to automate the re-provisioning of the company's yubikeys (specifically just the PGP applet) so we could have our public keys stored it our own in-house PKI.
Obligatory: if you see any way this project can be improved, please open a pull request. I'm also open to work :)