Skills

Skills are reusable slash commands with typed arguments that give the agent specialized capabilities for a specific task.

Built-In Skills

SkillDescription
/helpShow available commands, skills, and keyboard shortcuts
/clearClear conversation history and reset context
/compactManually trigger context compaction
/modelSwitch AI model or provider mid-session
/btwAsk a side question without leaving the current task
/undoRevert the most recent file change
/costDisplay token usage and estimated cost
/skillsList all available skills
/toolsList all available tools
/mcpManage MCP server connections

Custom Skills

Create custom skills by adding markdown files to a skills directory. Each skill has a frontmatter section that defines its parameters and behavior.

Skill Discovery

Skills are automatically discovered from:

  • ~/.config/codecli/skills/ — User-level skills
  • .codecli/skills/ — Project-level skills
  • Plugin-provided skills
PreviousAgents & Multi-AgentNextHooks