Skip to main content

Module skills

Module skills 

Source
Expand description

Skill system.

Skills are reusable, user-defined workflows loaded from markdown files in .agent/skills/ or ~/.config/agent-code/skills/. Each skill is a markdown file with YAML frontmatter that defines:

  • description: what the skill does
  • whenToUse: when to invoke it
  • userInvocable: whether users can invoke it via /skill-name

The body of the skill file is a prompt template that gets expanded when the skill is invoked. Supports {{arg}} substitution.

Modules§

remote
Remote skill discovery and installation.

Structs§

Skill
A loaded skill definition.
SkillMetadata
Frontmatter metadata for a skill.
SkillRegistry
Registry of loaded skills from bundled, project, and user directories.