AgentSkillsCN

skills-management

管理AI编码代理的技能:列出、安装、移除、更新、审查、移动,以及发现新技能。当用户希望查找、安装、移除或更新技能,审查技能质量,将技能在不同范围间移动,检查更新,或询问“我该如何完成X?”——而X可能已有现成的技能时,使用此功能。

SKILL.md
--- frontmatter
name: skills-management
description: Manages skills for AI coding agents: list, install, remove, update, review, move, and discover. Use when the user asks to find, install, remove, or update skills, review skill quality, move skills between scopes, check for updates, or asks "how do I do X" where X might have an existing skill.

Skills Manager

Quick Reference

TaskCommand
List allpython3 scripts/list_skills.py
List by scopepython3 scripts/list_skills.py -s user or -s project
Show detailspython3 scripts/show_skill.py <name>
Review skillpython3 scripts/review_skill.py <name>
Deletepython3 scripts/delete_skill.py <name>
Delete from agentspython3 scripts/delete_skill.py <name> --all-agents --force
Move to userpython3 scripts/move_skill.py <name> user
Move to projectpython3 scripts/move_skill.py <name> project
Create newUse /skill-creator
Discovery & Install
Find skillsnpx skills find [query]
Review remote skillsFetch skills.sh pages, assess using assessment framework
List ecosystem skillsnpx skills list or npx skills ls
Install from GitHubnpx skills add <owner/repo@skill> -g -y
Remove ecosystem skillnpx skills remove <name> -g -y or npx skills rm
Check for updatesnpx skills check
Update allnpx skills update
Browse onlineskills.sh
Multi-Agent
Detect agentspython3 scripts/detect_agents.py
List agent skillspython3 scripts/list_agent_skills.py --agent cursor
Install to agentpython3 scripts/install_skill.py /path --agent cursor
Copy between agentspython3 scripts/copy_skill.py <name> --from claude-code --to cursor
Move between agentspython3 scripts/move_skill_agent.py <name> --from claude-code --to cursor

Scopes

ScopePathVisibility
User~/.claude/skills/All projects for this user
Project.claude/skills/This repository only

User scope takes precedence over project scope for skills with the same name.

Operations

List Skills

bash
python3 scripts/list_skills.py              # All skills
python3 scripts/list_skills.py -s user      # User scope only
python3 scripts/list_skills.py -f json      # JSON output

Show Skill Details

bash
python3 scripts/show_skill.py <name>           # Basic info
python3 scripts/show_skill.py <name> --files   # Include file listing
python3 scripts/show_skill.py <name> -f json   # JSON output

Review Skill

Audits a skill against best practices and suggests improvements:

bash
python3 scripts/review_skill.py <name>         # Review with text output
python3 scripts/review_skill.py <name> -f json # JSON output for programmatic use

Checks performed:

  • Name format (lowercase, hyphens, max 64 chars, gerund form)
  • Description quality (triggers, third person, specificity)
  • Body length (warns if >500 lines)
  • Time-sensitive content
  • Path format (no Windows backslashes)
  • Reference depth (should be one level)
  • Table of contents for long files

After reviewing: Read the skill's SKILL.md and apply the suggested fixes directly.

Delete Skill

CRITICAL: Always use AskUserQuestion to confirm before deleting: "Are you sure you want to delete the skill '[name]'? This cannot be undone."

bash
python3 scripts/delete_skill.py <name>              # Claude Code only, with confirmation
python3 scripts/delete_skill.py <name> --force      # Skip confirmation prompt
python3 scripts/delete_skill.py <name> -s project   # Target specific scope
python3 scripts/delete_skill.py <name> -a cursor    # Delete from specific agent
python3 scripts/delete_skill.py <name> --all-agents --force  # Delete from all agents

Multi-agent deletion: Skills installed via npx skills add may exist in multiple agent directories. The default mode (no flags) deletes from Claude Code only and warns if copies remain in other agents. Use --all-agents to delete from every detected agent at once.

For ecosystem-installed skills, prefer npx skills remove <name> -g -y first. Use delete_skill.py --all-agents as fallback for manual cleanup.

Move Skill

bash
python3 scripts/move_skill.py <name> user      # Project → User (personal)
python3 scripts/move_skill.py <name> project   # User → Project (share with team)
python3 scripts/move_skill.py <name> user -f   # Overwrite if exists

Modify Skill

  1. Run python3 scripts/show_skill.py <name> to locate it
  2. Edit SKILL.md directly at the returned path

Create New Skill

Use the /skill-creator skill for guided creation with proper structure.

Discover & Install Skills

Search and install skills from the open agent skills ecosystem via the Skills CLI (npx skills). Browse at skills.sh.

Find Skills

bash
npx skills find [query]              # Interactive search
npx skills find react performance    # Keyword search
npx skills find pr review            # Search by task

Install from Ecosystem

bash
npx skills add <owner/repo@skill> -g -y    # Install globally, skip prompts
npx skills add vercel-labs/agent-skills@vercel-react-best-practices -g -y

List Ecosystem Skills

bash
npx skills list                      # List all installed ecosystem skills
npx skills ls                        # Alias
npx skills list -g                   # Global skills only
npx skills list -a cursor            # Skills for a specific agent

Remove Ecosystem Skills

Uninstalls skills installed via npx skills add. For locally-created skills, use python3 scripts/delete_skill.py instead.

CRITICAL: Always confirm with the user before removing.

bash
npx skills remove <name> -g -y       # Remove a global skill, skip prompt
npx skills rm <name>                 # Alias, with confirmation prompt
npx skills remove <name> -a cursor   # Remove from specific agent
npx skills remove --all -g -y        # Remove all global ecosystem skills

Check & Update

bash
npx skills check                     # Check for available updates
npx skills update                    # Update all installed skills

When the user asks to "update skills", "update all skills", "are my skills up to date?", or "check for updates":

  1. Run npx skills check first to show what has updates available
  2. If updates exist, confirm with user before running npx skills update
  3. After updating, remind user to restart the agent for changes to take effect

When to Search

Use npx skills find when the user:

  • Asks "how do I do X" where X is a common task
  • Says "find a skill for X" or "is there a skill for X"
  • Wants specialized capabilities (design, testing, deployment, etc.)

Common Search Categories

CategoryExample queries
Web Devreact, nextjs, typescript, tailwind
Testingtesting, jest, playwright, e2e
DevOpsdeploy, docker, kubernetes, ci-cd
Docsdocs, readme, changelog, api-docs
Qualityreview, lint, refactor, best-practices
Designui, ux, design-system, accessibility
Productivityworkflow, automation, git

Review & Compare Results

When search results are ambiguous (3+ results, similar names, or user asks to compare), assess candidates before recommending. This is agent-driven — use WebFetch on https://skills.sh/<owner>/<repo>/<skill> pages and apply judgment.

Trigger conditions:

  • 3+ results returned for a query
  • Multiple results with similar names or overlapping descriptions
  • User asks to compare, review, evaluate, or pick the best
  • A result has suspicious metrics (niche topic with very high installs)

Process:

  1. Fetch skills.sh pages for top 3-6 candidates
  2. Evaluate quality signals: install count, agent distribution, age, description, relevance, overlap with installed skills
  3. Assign verdict: Recommended / Consider / Skip
  4. Present ranked summary with 1-2 sentence assessments

See references/remote-skill-assessment.md for the full assessment framework including red flags and scoring signals.

No Results

If no skills found: offer to help directly, then suggest npx skills init <name> to create a custom skill.

Multi-Agent Operations

Manage skills across 42 supported AI coding agents. Full registry at skills.sh.

Supported Agents

Agent IDDisplay NameProject Skills DirGlobal Skills Dir
adalAdaL.adal/skills~/.adal/skills
ampAmp.agents/skills~/.config/agents/skills
antigravityAntigravity.agent/skills~/.gemini/antigravity/skills
augmentAugment.augment/skills~/.augment/skills
claude-codeClaude Code.claude/skills~/.claude/skills
clineCline.cline/skills~/.cline/skills
codebuddyCodeBuddy.codebuddy/skills~/.codebuddy/skills
codexCodex.agents/skills~/.codex/skills
command-codeCommand Code.commandcode/skills~/.commandcode/skills
continueContinue.continue/skills~/.continue/skills
crushCrush.crush/skills~/.config/crush/skills
cursorCursor.cursor/skills~/.cursor/skills
droidDroid.factory/skills~/.factory/skills
gemini-cliGemini CLI.agents/skills~/.gemini/skills
github-copilotGitHub Copilot.agents/skills~/.copilot/skills
gooseGoose.goose/skills~/.config/goose/skills
iflow-cliiFlow CLI.iflow/skills~/.iflow/skills
junieJunie.junie/skills~/.junie/skills
kiloKilo Code.kilocode/skills~/.kilocode/skills
kimi-cliKimi Code CLI.agents/skills~/.config/agents/skills
kiro-cliKiro CLI.kiro/skills~/.kiro/skills
kodeKode.kode/skills~/.kode/skills
mcpjamMCPJam.mcpjam/skills~/.mcpjam/skills
mistral-vibeMistral Vibe.vibe/skills~/.vibe/skills
muxMux.mux/skills~/.mux/skills
neovateNeovate.neovate/skills~/.neovate/skills
openclawOpenClawskills~/.openclaw/skills
opencodeOpenCode.agents/skills~/.config/opencode/skills
openhandsOpenHands.openhands/skills~/.openhands/skills
piPi.pi/skills~/.pi/agent/skills
pochiPochi.pochi/skills~/.pochi/skills
qoderQoder.qoder/skills~/.qoder/skills
qwen-codeQwen Code.qwen/skills~/.qwen/skills
replitReplit.agents/skills~/.config/agents/skills
rooRoo Code.roo/skills~/.roo/skills
traeTrae.trae/skills~/.trae/skills
trae-cnTrae CN.trae/skills~/.trae-cn/skills
windsurfWindsurf.windsurf/skills~/.codeium/windsurf/skills
zencoderZencoder.zencoder/skills~/.zencoder/skills

Detect Installed Agents

bash
python3 scripts/detect_agents.py              # List detected agents
python3 scripts/detect_agents.py --all        # Show all supported agents
python3 scripts/detect_agents.py -f json      # JSON output

List Skills for Any Agent

bash
python3 scripts/list_agent_skills.py --agent cursor           # Single agent
python3 scripts/list_agent_skills.py --agent goose -s global  # Specific scope
python3 scripts/list_agent_skills.py --all                    # All detected agents
python3 scripts/list_agent_skills.py --agent amp -f json      # JSON output

Install Skill to Agents

bash
python3 scripts/install_skill.py /path/to/skill --agent cursor              # Single agent
python3 scripts/install_skill.py /path/to/skill --agent cursor --agent amp  # Multiple agents
python3 scripts/install_skill.py /path/to/skill --all                       # All detected
python3 scripts/install_skill.py /path/to/skill --agent goose -s global     # Global scope
python3 scripts/install_skill.py /path/to/skill --agent cursor --force      # Overwrite

Copy Skill Between Agents

bash
python3 scripts/copy_skill.py my-skill --from claude-code --to cursor
python3 scripts/copy_skill.py my-skill --from claude-code --to cursor --to-scope global
python3 scripts/copy_skill.py my-skill --from claude-code --from-scope project --to amp
python3 scripts/copy_skill.py my-skill --from claude-code --to cursor --force

Move Skill Between Agents

bash
python3 scripts/move_skill_agent.py my-skill --from claude-code --to cursor
python3 scripts/move_skill_agent.py my-skill --from claude-code --to goose --force

Important Notes

  • Restart required: After adding, removing, or moving skills, restart the AI agent for changes to take effect
  • Edits are immediate: Changes to existing skill content work without restart
  • Agent detection: Uses config directory presence to detect installed agents
  • Always update all agents: When updating a locally-developed skill, use install_skill.py --all -s global --force to push changes to every detected agent — not just Claude Code. A skill updated only in ~/.claude/skills/ will be stale in all other agents

References — The Complete Guide to Building Skills for Claude

Consult these when reviewing skills or advising on skill structure and best practices.

FileDescription
references/01-introduction.mdWhat skills are, who this guide is for, two learning paths
references/02-fundamentals.mdSkill structure, progressive disclosure, composability, MCP integration
references/03-planning-and-design.mdUse cases, categories, success criteria, YAML frontmatter, writing instructions
references/04-testing-and-iteration.mdTrigger tests, functional tests, performance comparison, skill-creator usage
references/05-distribution-and-sharing.mdDistribution model, API usage, GitHub hosting, positioning
references/06-patterns-and-troubleshooting.md5 workflow patterns, common errors and fixes
references/07-resources-and-references.mdOfficial docs, example skills, tools, support channels
references/ref-a-quick-checklist.mdPre-build, development, upload, and post-upload checklists
references/ref-b-yaml-frontmatter.mdRequired/optional fields, security restrictions
references/ref-c-complete-skill-examples.mdLinks to production-ready skill examples
references/remote-skill-assessment.mdFramework for evaluating ecosystem skills before installation

Acknowledgments

Multi-agent support is based on the Skills CLI (npx skills) by Vercel Labs. Browse the open agent skills ecosystem at skills.sh.