Using Skills
Skills are reusable workflows that provide domain-specific guidance for tasks. They help you follow best practices and maintain consistency across projects.
Discovering Skills
- List available skills: Use
list_skillsto see all available skills - Filter by tag: Use
list_skills tag="debugging"to find relevant skills - Filter by adapter: Use
list_skills adapter="claude-code"to find compatible skills
Invoking Skills
When you encounter a task that matches a skill's domain:
- Invoke the skill: Use
invoke_skill skill="skill-name" message="Your task description" - Follow the returned instructions: The skill provides step-by-step guidance
- Adapt as needed: Skills are guidelines, not rigid rules
Skill Priority
Skills are discovered from three locations (in priority order):
- Project skills (
.cliagents/skills/): Project-specific workflows - Personal skills (
~/.cliagents/skills/): Your custom workflows - Core skills (bundled with cliagents): Standard best practices
Higher-priority skills shadow lower-priority ones with the same name.
Creating Your Own Skills
Create a SKILL.md file in any of the skill directories:
---
name: my-skill
description: Use when [trigger condition]
adapters: [claude-code, gemini-cli] # Optional: restrict adapters
tags: [category1, category2] # For discovery
---
# My Skill
Your workflow instructions here...
Best Practices
- Keep skills focused on one domain or workflow
- Include clear trigger conditions in the description
- Use tags for discoverability
- Provide step-by-step instructions
- Include examples where helpful
