What Are Skills?
Skills are directories placed in~/.claude/skills/ containing a SKILL.md file with YAML frontmatter. They extend Claude’s capabilities with specialized instructions, templates, and workflows.
What Are Agents?
Agents are individual.md files placed in ~/.claude/agents/ with YAML frontmatter that declares metadata and tool access. They act as autonomous personas that can use specific tools and follow defined instructions.
Key Differences
| Aspect | Skill | Agent |
|---|---|---|
| Format | Directory with SKILL.md | Single .md file with YAML frontmatter |
| Install location | ~/.claude/skills/ | ~/.claude/agents/ |
| Tool access | Inherits from session | Declares specific tools in frontmatter |
| Security surface | Lower — instructions only | Higher — tool access declarations |
| claude.ai support | Yes (ZIP upload) | No (CLI/Cowork only) |
API Endpoints
AgentPowers provides two ways to interact with agents via the API:Unified Endpoints (Both Types)
The/v1/skills endpoints work for both skills and agents. Use the optional ?type= filter to narrow results:
Agent-Specific Endpoints
The/v1/agents namespace enforces type=agent — it will return 404 for items that are skills:
CLI Usage
The CLI handles both types transparently:Security Pipeline
Agents receive additional security scrutiny beyond what skills get:- Layers 1-2 (shared): File type validation, pattern scanning, VirusTotal, ClamAV, Snyk, GuardDog, AI review
- Layer 3 (agent-only): Tool access audit, instruction analysis for social engineering or prompt injection, trust level scoring
low, medium, high) indicates the assessed risk based on which tools the agent requests access to.
Categories
Agent-specific categories help with discovery:| Category | Description |
|---|---|
code-agents | Code review, testing, refactoring, and generation |
automation-agents | Workflow orchestration, task coordination, pipeline automation |
research-agents | Information gathering, data analysis, research automation |
dev-tools, security, productivity, and ai-ml based on their description.
Publishing Agents
Publishing an agent works the same as publishing a skill:SKILL.md vs .md files with agent frontmatter.