install-from-remote-library — Claude Code skill: how to install
install-from-remote-library guides safe skill installs from shared repos. Inspects targets via --list and previews every action with a dry-run flag.
MIT 161 installs ★ 1,161 updated 2026-09-21
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-codeWhat install-from-remote-library does
This skill enforces a guarded workflow for adding tools via npx ai-agent-skills. Instead of pulling an entire shared library, the agent inspects available items first by running the --list command. This step keeps unnecessary code out of the project.
A preview run with --dry-run -p is mandatory before writing any files. The workflow explicitly prohibits combining the --collection and --skill flags in a single command. If the remote repository returns errors or unclear output, the agent stops immediately and prints the diagnostic hint verbatim.
Once finished, the agent returns the inspected repository name, the chosen package, the dry-run output, and the exact command executed.
What it helps with
- inspect available skills in a remote repository with --list
- preview tool installation changes using --dry-run before writing files
- install a curated bundle using the --collection flag
- download a single targeted skill without pulling an entire repo
Example prompts for the agent
- Check what skills are available in MoizIbnYousaf/ai-agent-skills using --list
- Run a dry-run install for the starter-pack collection from owner/repo
- Install only the git-commit skill from user/skills with preview
How to install install-from-remote-library
1Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-code2Manually: put the files in place
~/.claude/skills/install-from-remote-library/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/install-from-remote-library/
1Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a codex2Manually: put the files in place
.agents/skills/install-from-remote-library/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a cursor2Manually: put the files in place
.cursor/skills/install-from-remote-library/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MoizIbnYousaf/ai-agent-skills skills/install-from-remote-library2Manually: put the files in place
.github/skills/install-from-remote-library/SKILL.md1Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a gemini-cli2Platform CLI
gemini skills install https://github.com/MoizIbnYousaf/ai-agent-skills --path skills/install-from-remote-libraryManually: put the files in place
.devin/skills/install-from-remote-library/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about install-from-remote-library
How do I install install-from-remote-library in Claude Code?
Run the command npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-code.
What does the install-from-remote-library skill do?
It instructs the agent to inspect remote repositories first and verify installation plans with dry-run flags before downloading skills.
Can I combine the collection and skill flags in one command?
No, the workflow rules forbid mixing --collection and --skill. You pick either a curated collection or a single tool.
Source text
SKILL.md · MIT
--- name: install-from-remote-library description: Use when installing skills from a shared ai-agent-skills library repo. Inspect with `--list` first, prefer `--collection`, and preview with `--dry-run` before installing. category: workflow version: 4.1.0 --- # Install From Remote Library ## Goal Install from a shared library repo without guessing, over-installing, or skipping the preview step. ## Invariants - Always inspect the remote library first with `install <source> --list`. - Prefer `--collection` when the library clearly exposes a starter pack or focused bundle. - Always run `--dry-run` before the real install. - Keep the install small. Do not pull a whole library when the user only needs a narrow slice. ## Workflow 1. Inspect the source library. ```bash npx ai-agent-skills install <owner>/<repo> --list ``` 2. Choose the smallest fitting target. - Prefer `--collection starter-pack` or another named collection when it matches the user's need. - Use `--skill <name>` only when the user needs one specific skill or the library has no useful collection. - Do not combine `--collection` and `--skill`. 3. Preview the install plan before mutating anything. ```bash npx ai-agent-skills install <owner>/<repo> --collection starter-pack --dry-run -p ``` or ```bash npx ai-agent-skills install <owner>/<repo> --skill <skill-name> --dry-run -p ``` 4. If the plan looks right, run the real install with the same scope. ```bash npx ai-agent-skills install <owner>/<repo> --collection starter-pack -p ``` ## Decision Rules - If the library has a curated collection that already matches the user's stack, use it. - If the remote library is empty or the list output is unclear, stop and report that instead of guessing. - If the install path throws an `ERROR` / `HINT`, surface that verbatim and follow the hint before retrying. - If the user is exploring a large library, keep them in browse mode first rather than installing immediately. ## Done Return: - what source library you inspected - which collection or skill you chose - the dry-run result - the exact final install command you used
© MoizIbnYousaf · MIT · MoizIbnYousaf/ai-agent-skills