Core Capabilities
This skill is used to help users understand and manage all AI skills available in the current environment.
Use Cases
- The user asks: "What skills do I have available?"
- The user asks: "List all skills."
- The user wants to find a skill with a specific function (e.g., "Is there a skill for processing images?").
- The user wants to view the specific documentation or usage of a certain skill.
Execution Logic
1. List all skills
Agent Execution Instructions:
- Determine this SKILL.md file's directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/<script-name>.ts - Replace all
${SKILL_DIR}in this document with the actual path
Onlyexecute the following single command. It is forbidden to run ls or perform other environment checks before execution:
npx -y bun ${SKILL_DIR}/scripts/list-skills.ts
2. Search skills
When the user makes a vague query (e.g., "find a skill for processing PDF"), you may use grep to search:
grep -r "PDF" "${SKILL_DIR}/../*/SKILL.md" | cut -d: -f1 | sort | uniq
3. View a specific skill
When the user requests to view a specific skill, directly use read_file to read the corresponding directory's SKILL.md。
4. Fix skills with missing descriptions
When the list shows that a skill is ❌ 缺失描述 , you should proactively prompt for a fix:
- Use
read_fileto read that skill'sSKILL.md(note: skip any existing or incorrect YAML section). - Based on the file content, extract or summarize its core functionality, and generate a YAML Front Matter containing
nameanddescription:--- name: skill-folder-name description: 简短描述(100字以内,包含主要功能和触发词) --- - Insert the generated YAML at the very top of the file.
Notes
- The skill name is the directory name.
- The description information comes from the
SKILL.mdfield in the YAML Front Matter at the top ofdescription.