docs/en/skills/index.mdx
Skills provide infinite extensibility for the Agent. Each Skill consists of a description file (SKILL.md), execution scripts (optional), and resources (optional), describing how to accomplish specific types of tasks.
The difference between Skills and Tools: Tools are atomic operations implemented in code (e.g., file read/write, command execution), while Skills are high-level workflows based on description files that can combine multiple Tools to complete complex tasks.
CowAgent offers multiple ways to acquire skills:
/skill list --remote/skill install clawhub:nameSee Install Skills and Skill Management Commands for details. You can also create skills through conversation.
~/cow/skills/skills/Skills with the same name are overridden by priority.
skills/
├── my-skill/
│ ├── SKILL.md # Skill description (frontmatter + instructions)
│ ├── scripts/ # Execution scripts (optional)
│ └── resources/ # Additional resources (optional)
---
name: my-skill
description: Brief description of the skill
metadata:
emoji: 🔧
requires:
bins: ["curl"]
env: ["MY_API_KEY"]
primaryEnv: "MY_API_KEY"
---
# My Skill
Detailed instructions...
| Field | Description |
|---|---|
name | Skill name, must match directory name |
description | Skill description, Agent decides whether to invoke based on this |
metadata.requires.bins | Required system commands |
metadata.requires.env | Required environment variables |
metadata.always | Always load (default false) |