Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/install-from-remote-library/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/install-from-remote-library/

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

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set15

The whole set →
browse-and-evaluate The browse-and-evaluate skill helps you find, compare, and inspect catalog skills before adding them. Use it when catalog output needs to stay focused. CX Codex +1 177installs review-a-skill review-a-skill reviews a skill before it enters a library by checking metadata, structure, safety, and dependencies. Use it when the choice is keep, curate, or remove. CX Codex +1 177installs build-workspace-docs build-workspace-docs keeps README.md and WORK_AREAS.md aligned with a skills catalog. Run it after catalog changes or before committing workspace updates. CX Codex +1 172installs audit-library-health audit-library-health — a skill for diagnosing a skills library: validates structure, finds stale elements, checks documentation sync. Run before publishing or updating. CX Codex +1 170installs update-installed-skills update-installed-skills syncs previously installed agent skills to their upstream versions. Helps you inspect changes safely with dry-run flags before overwriting local setups. CX Codex +1 168installs share-a-library share-a-library — a skill that automates publishing a finished local library to GitHub and generates an install command for your teammates. CX Codex +1 161installs curate-a-team-library curate-a-team-library — a skill for Claude Code, Codex, Cursor and other agents that walks an agent through building a team skills library: mapping shelves, adding entries with curator metadata, assembling a starter pack. CX Codex +1 160installs migrate-skills-between-libraries migrate-skills-between-libraries is a Claude Code skill that moves skills between library workspaces, including when switching from a personal library to a team one. CX Codex +1 158installs

Project sponsors

Companies that keep this analytics open