| name | link-skills |
| description | Link all skills from the ai-resources directory 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 directory". |
| allowed-tools | Bash |
link-skills
Create symlinks in .claude/skills/ for every skill in the ai-resources directory, 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 ai-resources first (see the ai-resources README).
- 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.