Install Share A Library
Pick your agent. Every command is ready to paste.
npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-libraryThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads share-a-library when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the share-a-library skill”. In Codex, type $share-a-library.
Share A Library
Goal
Turn a finished local library into a real shared artifact with a repo URL and an install command another agent can use.
Preconditions
- You are already inside a managed library workspace.
- The library has been sanity-checked.
npx ai-agent-skills build-docshas already run, or you run it now before publishing.
Workflow
- Regenerate docs if needed.
npx ai-agent-skills build-docs
- Publish the workspace to GitHub.
git init
git add .
git commit -m "Initialize skills library"
gh repo create <owner>/<repo> --public --source=. --remote=origin --push
- Return the exact shareable install command.
If the library has a starter-pack collection:
npx ai-agent-skills install <owner>/<repo> --collection starter-pack -p
Otherwise:
npx ai-agent-skills install <owner>/<repo> -p
Guardrails
- Do not stop at
git init. A shared library is not shared until the repo exists and the install command is ready. - If the repo already exists, connect the existing remote and push instead of creating a duplicate.
- Prefer the collection install command when a curated starter pack exists.
- Return the actual repo coordinates you used, not placeholders.
Done
Return:
- the repo URL
- whether you shared a collection or the whole library
- the exact install command to hand to teammates
Tips for Share A Library
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 18 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Share A Library
What does the Share A Library skill do?
Use when a managed library is ready to publish to GitHub and hand to teammates as an install command. Run the GitHub publishing steps, then return the exact shareable install command.
How do I install Share A Library?
Run "npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Share A Library work in Cursor and Codex?
Yes. Share A Library uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Share A Library free?
Share A Library is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Share A Library?
Share A Library is published by MoizIbnYousaf in the MoizIbnYousaf/ai-agent-skills repository, together with 17 other skills.




