install-from-remote-library — скилл для Claude Code: установка
Скилл install-from-remote-library помогает безопасно ставить скиллы из общих репозиториев. Сначала изучает состав каталога и запускает тестовый прогон через --dry-run.
MIT 161 установок ★ 1 161 обновлён 2026-09-21
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-codeЧто делает install-from-remote-library
Скилл регламентирует загрузку сторонних инструментов через CLI ai-agent-skills. Вместо скачивания всего репозитория целиком агент сначала запрашивает список через npx ai-agent-skills install <owner>/<repo> --list. Это помогает оценить содержимое каталога до внесения изменений в проект.
Перед реальной установкой обязательно запускается предварительный прогон с флагом --dry-run -p. Скилл запрещает объединять параметры --collection и --skill в одной команде: агент выбирает либо готовый тематический набор, либо отдельный инструмент. Если библиотека пуста или вывод команды непонятен, процесс прерывается без попыток угадать структуру.
В конце агент выводит отчёт: проверенный репозиторий, выбранный пакет, итог тестового запуска и точную финальную команду установки.
Какие задачи решает
- просмотреть список скиллов в удалённом репозитории через --list
- проверить план установки скилла или коллекции без изменения файлов с помощью --dry-run
- установить готовый набор скиллов из коллекции starter-pack
- поставить одиночный скилл без скачивания всей сторонней библиотеки
Примеры запросов агенту
- Посмотри, какие скиллы есть в репозитории MoizIbnYousaf/ai-agent-skills, и покажи список
- Сделай тестовый прогон установки коллекции starter-pack из репозитория owner/repo
- Установи скилл git-commit из библиотеки user/skills с флагом -p
Как установить install-from-remote-library
1Через Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-code2Вручную: положить файлы
~/.claude/skills/install-from-remote-library/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/install-from-remote-library/
1Через Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a codex2Вручную: положить файлы
.agents/skills/install-from-remote-library/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a cursor2Вручную: положить файлы
.cursor/skills/install-from-remote-library/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install MoizIbnYousaf/ai-agent-skills skills/install-from-remote-library2Вручную: положить файлы
.github/skills/install-from-remote-library/SKILL.md1Через Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a gemini-cli2Командой платформы
gemini skills install https://github.com/MoizIbnYousaf/ai-agent-skills --path skills/install-from-remote-libraryВручную: положить файлы
.devin/skills/install-from-remote-library/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об install-from-remote-library
Как установить install-from-remote-library в Claude Code?
Выполните команду npx skills add MoizIbnYousaf/ai-agent-skills --skill install-from-remote-library -a claude-code.
Что делает скилл install-from-remote-library?
Он задаёт сценарий установки скиллов через утилиту npx ai-agent-skills. Скилл обязывает агента изучить список через --list, выполнить предварительную проверку через --dry-run и не скачивать лишние файлы.
Можно ли одновременно указать коллекцию и отдельный скилл?
Нет, правила скилла прямо запрещают объединять ключи --collection и --skill. Агент обязан выбрать либо готовый бандл, либо один конкретный инструмент.
Исходный текст
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