Skip to Content
SubsystemsSkills System

Skills System

Source: src/skills/bundledSkills.ts, loadSkillsDir.ts, bundled/

Overview

Skills are extended command definitions that package prompts, tool configurations, and workflows into reusable units. They can be invoked via slash commands.

Bundled Skills

Claude Code ships with 17+ bundled skills in src/skills/bundled/:

SkillDescription
commitAI-assisted git commits
claude-apiBuild apps with Claude API/SDK
keybindingsCustomize keyboard shortcuts
simplifyReview and simplify code
loopRun commands on recurring intervals
rememberSave information to memory
skillifyCreate new skills
batchBatch operations

Skill Structure

A skill definition includes:

  • name — Identifier for invocation
  • description — What the skill does
  • prompt — The prompt template that gets expanded
  • triggers — When to suggest this skill
  • tools — Tools the skill needs access to

Loading Skills

Skills are loaded from two sources:

  1. Bundled (bundledSkills.ts) — Built into the application
  2. Custom (loadSkillsDir.ts) — Loaded from user’s skill directories

Invocation

Skills are invoked through the Skill tool or via slash commands:

/commit # Invokes the commit skill /simplify # Invokes the simplify skill

When invoked, the skill’s prompt is expanded with context and executed as if the user had typed it directly.

Last updated on