SuperAPI AI Directory

skill-manager

Agents & models

View repository

Updated 10-16 08:35

About this skill

Skill Manager

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:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. 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:

  1. Use read_file to read that skill's SKILL.md(note: skip any existing or incorrect YAML section).
  2. Based on the file content, extract or summarize its core functionality, and generate a YAML Front Matter containing name and description :
    ---
    name: skill-folder-name
    description: 简短描述(100字以内,包含主要功能和触发词)
    ---
    
  3. 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.md field in the YAML Front Matter at the top of description .