Automates the full publish cycle for skills you've edited in .agents/skills/: detects changes by comparing git hashes, snapshots for rollback, runs code review to catch dangerous bash or prompt injection, copies to your ai-skills repo, pushes upstream, then installs locally using the github spec (not a local path, which breaks lockfile merges). The safety hash check in step 7 is clever, it verifies the installed content matches what you started with before dropping git tracking. Cherry picks the lockfile commit to your target branch so you don't pollute your feature branch with infrastructure updates. Replaces the old elevate-skill workflow and assumes you're working in a repo that already has the skills infrastructure set up.
npx skills add https://github.com/camacho/ai-skills --skill publish-skill