Skills System
Skills are persistent markdown files that teach PocketPaw how to handle specific types of tasks. They’re loaded into the agent’s context on every interaction.
What is a Skill?
A skill is a SKILL.md file stored in ~/.pocketclaw/skills/. Each skill defines:
- When to activate — Trigger phrases or conditions
- How to execute — Step-by-step instructions
- What tools to use — Tool chains and sequences
- Output format — Expected response structure
Creating Skills
Via the Skill Generator Tool
The agent can create skills using the skill_gen tool:
User: Create a skill for writing daily standup summariesAgent: [uses skill_gen] → Created skill: daily-standup.mdManually
Create a markdown file in ~/.pocketclaw/skills/:
# Code Review Skill
## TriggerWhen the user asks to review code, a PR, or a diff.
## Steps1. Read the file or diff provided2. Analyze for: - Bug risks - Performance issues - Security concerns - Code style3. Provide structured feedback
## Output Format### SummaryBrief overall assessment.
### Issues Found- **[severity]** Description of issue (line X)
### Suggestions- Improvement suggestionsSkill Loading
Skills are loaded by the AgentContextBuilder:
- On startup, all
*.mdfiles in~/.pocketclaw/skills/are read - Skill content is injected into the system prompt
- The agent uses skills as reference when handling matching requests
- After creating a new skill via
skill_gen, the loader is reloaded
Skill Directory
~/.pocketclaw/skills/├── daily-standup.md├── code-review.md├── meeting-notes.md└── git-workflow.mdBest Practices
- Keep skills focused — One skill per task type
- Be specific — Clear trigger conditions prevent false matches
- Include examples — Show the expected output format
- Reference tools — Specify which tools to use
- Test and iterate — Try the skill and refine it
Was this page helpful?