Charger une compétence

VérifiéPrudence

Charge une compétence depuis le répertoire .claude/library/ dans le contexte de la conversation actuelle. Utilisez cette commande pour activer un ensemble prédéfini d'instructions pour une tâche spécifique, comme le codage ou le débogage.

Spar Skills Guide Bot
DeveloppementDébutant
6002/06/2026
Claude Code
#skill-management#claude-customization#library#context-loading

Recommandé pour

Notre avis

Charge une compétence depuis le répertoire local .claude/library dans le contexte de la conversation.

Points forts

  • Simple d'utilisation avec une seule commande
  • Exploite la structure de fichiers existante
  • Fournit un retour clair sur le succès ou l'échec
  • Permet de lister les compétences disponibles si le nom est incorrect

Limites

  • Ne fonctionne qu'avec les compétences stockées dans .claude/library
  • Nécessite que le nom de la compétence soit exact
  • Ne gère pas les chemins personnalisés ou les sous-répertoires
Quand l'utiliser

Utilisez cette compétence lorsque vous souhaitez intégrer rapidement les instructions d'une compétence préexistante dans la session en cours.

Quand l'éviter

Évitez de l'utiliser si la compétence n'est pas encore installée dans la bibliothèque, car elle échouera silencieusement.

Analyse de sécurité

Prudence
Score qualité80/100

The skill instructs the agent to run a shell command to list available skills. While the command is hardcoded and non-destructive, it uses a shell command, which could be a concern in unconstrained environments.

Points d'attention
  • Uses shell command 'ls' to list directory contents, which could be risky if the agent's shell execution is not sandboxed, though the command is hardcoded and benign.

Exemples

Load a skill named 'jj'
/load jj
List available skills
/load nonexistent-skill

Load Skill

Load a skill from the .claude/library/ directory into the current context.

Usage

When the user invokes /load <skill-name>, load the specified skill from .claude/library/<skill-name>/SKILL.md into the conversation context.

Instructions

  1. Use the Read tool to read .claude/library/$1/SKILL.md
  2. If the file exists, the skill content will be loaded into context for reference
  3. If the file doesn't exist, list available skills using: ls -1 .claude/library/
  4. Inform the user whether the skill was loaded successfully or not

Example

User: /load jj

You should:

  • Use Read tool with file_path: .claude/library/jj/SKILL.md
  • If successful, the skill instructions are now available in context
  • Confirm to the user that the skill has been loaded

Available Skills

Skills are stored in .claude/library/{skill-name}/SKILL.md format.

Skills similaires