| name | link-skills |
| description | Link all skills from the ai-resources git subtree into .claude/skills/. Use when the user asks to "link skills", "set up skills from ai-resources", or "link to all skills in the ai-resources subtree". |
| disable-model-invocation | true |
| allowed-tools | Bash |
link-skills
Create symlinks in .claude/skills/ for every skill in the ai-resources subtree, making them available as slash commands.
Instructions
- Confirm that an
ai-resources/skills/ directory exists in the current working directory. If not, abort and tell the user to add the ai-resources subtree first.
- Create
.claude/skills/ in the current working directory if it does not already exist.
- For each subdirectory in
ai-resources/skills/, create a relative symlink:
for skill_dir in ai-resources/skills/*/; do
skill_name=$(basename "$skill_dir")
mkdir -p .claude/skills
ln -sfn "../../ai-resources/skills/$skill_name" ".claude/skills/$skill_name"
done
- Report which symlinks were created.