Install a generated skill from the output folder to the global ~/.claude/skills/ directory. Lists available skills in output/ and installs the selected one. Use when implementing, installing, deploying, or activating a previously generated skill.
Install a previously generated skill from the output/ folder to the global ~/.claude/skills/ directory.
Search for generated skills:
Glob output/*/SKILL.md
For each skill found, read its SKILL.md frontmatter and extract the name and description fields.
If no skills are found in output/, inform the user: "No generated skills found in output/. Use /generate-skill to create one first."
Display available skills:
## Available Skills in output/
| # | Name | Description |
|---|------|-------------|
| 1 | [name] | [description (first 100 chars)] |
| 2 | ... | ... |
If $ARGUMENTS is provided and matches a skill name in output/, use it directly.
If $ARGUMENTS is not provided or doesn't match, show the list from Phase 1 and ask the user to pick by name or number.
Run the validation script on the selected skill before installing:
python "${CLAUDE_SKILL_DIR}/../validate-skill/scripts/quick_validate.py" output/<skill-name>
If validation reports any FAIL, warn the user and ask if they want to proceed anyway or fix the issues first.
If validation passes, proceed to install.
Check if ~/.claude/skills/<skill-name>/ already exists.
If it exists — show a comparison:
## Skill already installed globally
**[skill-name]** exists at `~/.claude/skills/[skill-name]/`.
| | Global (current) | Output (new) |
|---|---|---|
| Files | [count] | [count] |
| SKILL.md lines | [count] | [count] |
| Description | [first 80 chars] | [first 80 chars] |
Ask: "Overwrite the global version with the one from output/? (y/n)"
If it does not exist — proceed to 4b.
~/.claude/skills/<skill-name>/output/<skill-name>/ to ~/.claude/skills/<skill-name>/:
mkdir -p ~/.claude/skills/<skill-name>
cp -r output/<skill-name>/* ~/.claude/skills/<skill-name>/
## Skill Installed
**[skill-name]** has been installed to `~/.claude/skills/[skill-name]/`.
Files installed:
- [list of files copied]
Restart Claude Code to pick up the new skill, then use it with:
- `/[skill-name] [example usage based on argument-hint]`