skill-installer
Installing, updating, and uninstalling AI skills from Git repositories, ZIP archives, and manual placement. Use this skill whenever a user asks to install…
от donggua-zen★ 65 звёзд на GitHub
Установить skill-installer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill Installer — Skill Installation & Management Guide
Overview
This skill guides you through installing, updating, and uninstalling skills. The core workflow is:
Download/Prepare → Validate (must pass) → Install to {SKILL_DIR}/<name>/
Target directory: {SKILL_DIR}/(该占位符运行时已替换为真实绝对路径,直接使用,不要自行拼 ~)
1. Installation Workflow
All installation methods follow the same three-step workflow.
1.1 Download — to Working Directory
Place the skill source in the current working directory, not the target directory:
# Git clone
git clone https://github.com/.../repo.git ./<skill-name>
# ZIP extraction
unzip skill.zip -d ./<skill-name>
# Manual creation
mkdir ./<skill-name> (then edit SKILL.md)
1.2 Validate — Must Pass
Run the bundled validation script before installing. The script lives in this skill's own directory (scripts/validate-skill.mjs), relative to the resourceBase directory returned by skill_learn. Run it from that directory:
node scripts/validate-skill.mjs ./<skill-name>
All 14 checks must pass before proceeding. If validation fails, fix the reported issues and re-run until it passes.
1.3 Install — Move to Skills Directory
Once validated, move the directory to the target location:
mv ./<skill-name> {SKILL_DIR}/<skill-name>
The file watcher automatically detects and registers the skill within seconds.
2. Installation Methods
2.1 From Git Repository
Best for: Published skills, team-shared skills, version history.
Required from user:
- Git URL (required): e.g.
https://github.com/owner/repoor[email protected]:owner/repo.git - Branch (optional): specific branch (defaults to repo default)
- Subdirectory (optional): path in monorepos where the skill lives
Steps:
- Validate Git URL format (must start with
http://,https://, orgit@) - Clone to current working directory:
git clone --depth 1 <url> ./temp-<name> - Locate SKILL.md (search root, then 1-2 levels deep)
- Extract
namefrom frontmatter - Run validation script (must pass)
- Check for naming conflicts in target directory
- Move to
{SKILL_DIR}/<name>/ - Clean up temp files
- File watcher auto-detects and registers
2.2 From ZIP Archive
Best for: Local skills, downloaded bundles, manual distribution.
Steps:
- Extract ZIP to current working directory:
unzip <file>.zip -d ./temp-<name> - Locate SKILL.md (search root, then 1-2 levels deep)
- Extract
namefrom frontmatter - Run validation script (must pass)
- Check for naming conflicts in target directory
- Move to
{SKILL_DIR}/<name>/ - Clean up temp files
- File watcher auto-detects and registers
2.3 Manual Placement
Best for: Development, testing, quick prototyping.
Steps:
Create skill directory in working directory:
mkdir ./<name>Write
./<name>/SKILL.mdwith valid frontmatterOptionally add
scripts/,references/,assets/Run validation script (must pass; run from this skill's
resourceBasedirectory returned byskill_learn):node scripts/validate-skill.mjs ./<name>Move to target directory:
mv ./<name> {SKILL_DIR}/<name>/File watcher auto-detects and registers
3. Verification
3.1 Confirm Registration
read({ path: "{SKILL_DIR}/<skill-name>/SKILL.md" })
Returns the full SKILL.md content if the skill exists and is valid.
3.2 Validation Error Reference
| Error Message | Root Cause | Fix |
|---|---|---|
| "missing YAML frontmatter" | No --- delimiters |
Add frontmatter with --- on line 1 |
| "YAML frontmatter must be an object" | Frontmatter is not a mapping | Use key: value format |
| "Skill name is required" | name field missing |
Add name: to frontmatter |
| "Skill name must contain only lowercase letters, numbers, and hyphens" | Name has uppercase/underscore/etc | Use [a-z0-9-] only |
| "Skill name mismatch" | Directory name ≠ frontmatter name | Rename directory or fix name field |
| "Skill description is required" | description field missing |
Add description: to frontmatter |
| "name must not start or end with a hyphen" | Leading/trailing - |
Remove leading/trailing hyphens |
| "Failed to parse YAML frontmatter" | Invalid YAML syntax | Check YAML formatting |
4. Updates
4.1 Hot-Reload (content change only)
Directly edit {SKILL_DIR}/<name>/SKILL.md. The file watcher detects the change and reloads the skill automatically.
4.2 Full Reinstall (renamed or moved)
Re-install using the same method. The file watcher handles old skill removal and new skill registration automatically.
4.3 Version Tracking
If the skill has a version field, the system tracks history in {SKILL_DIR}/.versions/versions.json.
5. Uninstall vs Disable
| Operation | Disk | Prompt | Reversible? |
|---|---|---|---|
| **Disable |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл skill-installer?
Installing, updating, and uninstalling AI skills from Git repositories, ZIP archives, and manual placement. Use this skill whenever a user asks to install, download, add, import, set up, or save a skill.
Как установить скилл skill-installer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-installer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…