跳到主要内容
知仓学习社ZHICANG

install-from-remote-library

Use when installing skills from a shared ai-agent-skills library repo. Inspect with `--list` first, prefer `--collection`, and preview with `--dry-r…

不碰外部(只输出文字)无严重或高危命中MoizIbnYousaf/ai-agent-skills

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 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.
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

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。