Export des compétences Claude

VérifiéSûr

Génère un catalogue markdown complet de toutes les compétences Claude disponibles. Découvre les compétences personnelles, de projet et de plugin, puis crée un fichier SKILLS.md documenté.

Spar Skills Guide Bot
DocumentationIntermédiaire
2002/06/2026
Claude Code
#skill-export#documentation#skills-catalog#skill-discovery

Recommandé pour

Notre avis

Exporte un catalogue Markdown de toutes les compétences Claude disponibles dans l'environnement.

Points forts

  • Découvre automatiquement les compétences personnelles, de projet et de plugins
  • Génère un tableau Markown structuré avec nom, description et emplacement
  • Évite de scanner inutilement l'ensemble d'une marketplace en se limitant aux plugins activés

Limites

  • Ne lit que le frontmatter YAML (5 premières lignes) des fichiers SKILL.md
  • Nécessite une structure de répertoires spécifique à Claude Code
  • La découverte des plugins dépend de fichiers de configuration locaux
Quand l'utiliser

Quand vous avez besoin d'une vue d'ensemble de toutes les compétences Claude disponibles pour la documentation ou l'audit.

Quand l'éviter

Quand vous voulez exécuter ou modifier une compétence spécifique plutôt que de la lister.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only reads local files (SKILL.md, settings.json, marketplace manifests) using allowed tools like Read, Glob, and benign Bash commands (cat, find, ls). It writes a markdown file locally. There is no network access, destructive operations, or exfiltration.

Aucun point d'attention détecté

Exemples

Generate skill catalog
Generate a catalog of all available Claude skills and save it to a markdown file.
Export all skills
Export all Claude skills to a file called SKILLS.md in the current directory.
List skills with descriptions
List all Claude skills and their descriptions, including those from plugins, in a table.

name: skill-export description: Export Claude skills. Use to generate documentation of all available Claude Skills. allowed-tools: TodoWrite, Glob, Read, Bash(echo:), Bash(cat:), Bash(find:), Bash(ls:) license: MIT

Skill Export

Generate a comprehensive markdown catalog of all Claude skills available in the environment.

Workflow

Discover Skills from Three Sources

Personal Skills: ~/.claude/skills/*/SKILL.md

  • Scan all subdirectories for SKILL.md files

Project Skills: .claude/skills/*/SKILL.md

  • Scan all subdirectories relative to current working directory

Plugin Skills: Requires careful multi-step discovery

  1. Read ~/.claude/settings.json to get enabled plugins (format: plugin-name@marketplace-id)
  2. Parse each plugin ID into plugin name and marketplace ID
  3. Look up marketplace location in ~/.claude/plugins/known_marketplaces.json
  4. Read {marketplaceLocation}/.claude-plugin/marketplace.json to get the marketplace manifest
  5. Find the specific plugin by name in the manifest's plugins array
  6. Only scan skills listed in that plugin's skills array (do not scan entire marketplace)
  7. For each skill path, read {marketplaceLocation}/{skillPath}/SKILL.md

Critical: Plugin discovery must be scoped to enabled plugins. Do not scan all skills in a marketplace—only those listed in the specific enabled plugin's manifest entry.

Extract and Format

For each SKILL.md file:

  • Parse YAML frontmatter to extract name and description.
  • Record location as absolute path to the skill directory (use dirname() of SKILL.md path)

Critical: Only read the YAML frontmatter, i.e., the top 5 lines, of SKILL.md files.

Generate markdown table:

# Skills

Skills are additional instructions for specific scenarios. Given below is a list of name, description, and location of all available skills. 
If a skill is relevant to the task you're performing based on its description, read the SKILL.md file at the location of that skill for additional instructions.

| Name | Description | Location |
|------|-------------|----------|
| skill-name | Description text | /absolute/path/to/skill |

Formatting: escape pipe characters (\|), remove newlines from descriptions, sort by location type then name.

Write Output

Write the output into a SKILLS.md file at the current working directory. Write the generated markdown into the file, and display summary to the user in chat.

Skills similaires