manage-skill
Manage Claude Code skills. Use this when user wants to create, edit, update, delete a skill.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Manage Skill
Purpose
Execute the Workflow and Report sections to manage Claude Code skills.
Variables
- IS_DOTFILES:
trueif current repo is dotfiles, otherwisefalse - SCOPE:
- if IS_DOTFILES, then ask user (user-level/project-local)
- if not IS_DOTFILES, then
project-local
- SKILLS_DIR:
- if user-level then
files/claude/skills - if project-local then
.claude/skills
- if user-level then
- SETTINGS_FILE:
- if user-level then
files/claude/settings.json - if project-local then
.claude/settings.local.json
- if user-level then
Workflow
- Determine the operation (create, edit, or delete) from user's request
- Execute the operation:
- If create, then:
- If requirements unclear, then ask using AskUserQuestion: skill name, purpose, tool restrictions
- If IS_DOTFILES, then ask scope (user-level/project-local)
- Create
SKILLS_DIR/[skill-name]/SKILL.md - Follow the format in format.md, see basic-structure.md for template
- If edit, then:
- Locate
SKILLS_DIR/[skill-name] - Read and modify
SKILL.mdor supporting files as requested
- Locate
- If delete, then:
- Confirm with user before deletion
- Remove
SKILLS_DIR/[skill-name]
- If create, then:
- Update
SETTINGS_FILEpermissions as needed
Report
Inform the user:
- The operation performed and skill location
- For user-level: remind to run Nix to deploy
- For project-local: immediately available in the current project
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!