Importer une compétence depuis une URL ou un fichier

Importe une compétence Claude Code externe depuis une URL ou un fichier local, valide son contenu, détecte les doublons et l'enregistre dans .claude/skills/ avec métadonnées de source.

Spar Skills Guide Bot
ProductiviteDébutant
0013/09/2026
Claude Code
#skill-import#claude-code#automation#file-management#metadata

Recommandé pour


description: Import a skill from a URL or local file

Import Skill

Import an external Claude Code skill into this project.

Usage

/mm:import-skill <url-or-path>

Arguments

The argument is auto-detected:

  • If it starts with https://, it's treated as a URL
  • Otherwise, it's treated as a local file path

What it does

  1. Fetches content from the URL or reads the local file
  2. Validates the skill content (UTF-8, frontmatter, size)
  3. Checks for duplicate skills
  4. Injects source tracking metadata (source_url, imported_at)
  5. Saves to .claude/skills/{slug}/SKILL.md

Examples

/mm:import-skill https://github.com/user/repo/blob/main/skills/my-skill.md
/mm:import-skill /path/to/local/skill.md
Skills similaires