Index of every page on this site: llms.txt
All skills
moizibnyousaf avatar

/install-from-remote-library

@6d95c78
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/moizibnyousaf/ai-agent-skills/install-from-remote-library

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈50 tokens for metadata: the name and description. ≈465 when used: this file.

Description uses 2.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈200 characters, or 2.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.
npx ai-agent-skills install <owner>/<repo> --list
  1. 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.
  1. Preview the install plan before mutating anything.
npx ai-agent-skills install <owner>/<repo> --collection starter-pack --dry-run -p

or

npx ai-agent-skills install <owner>/<repo> --skill <skill-name> --dry-run -p
  1. If the plan looks right, run the real install with the same scope.
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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a standard workflow for using the ai-agent-skills CLI tool to install additional skills from remote repositories. It enforces safe usage patterns by requiring the agent to list contents and perform dry runs before any installation occurs.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 6d95c78. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 8 months ago
category
workflow
version
4.1.0

README badge

README badge for moizibnyousaf/ai-agent-skills/install-from-remote-library