addyosmani/agent-skills: Slash Commands, Personas & Skills
Quantitative comparison of agent-skills layers with token overhead, orchestration patterns, and production tradeoffs for CLI coding agents.
addyosmani/agent-skills provides 10 slash commands, 5 specialist personas, and a three-layer skill/persona/command model that reduces context pollution and enforces quality gates for AI coding agents.
Key Numbers & Verified Specs
5 metrics| Metric / Spec | Verified Finding | Source |
|---|---|---|
| Slash commands | 10 commands mapping to the development lifecycle | github.com |
| Specialist personas | 5 personas: code-reviewer, security-auditor, test-engineer, web-performance-auditor, accessibility-auditor | github.com |
| Orchestration pattern | /ship fans out to code-reviewer + security-auditor + test-engineer in parallel, then synthesizes reports | github.com |
| Repository stars | 122.3k stars, 12.7k forks | github.com |
| Skill documentation location | docs/decisions/ with sequential numbering for ADRs | github.com |
Jump to section (5) +
This benchmark index evaluates addyosmani/agent-skills, a repository of production-grade engineering skills packaged for AI coding agents. The project organizes agent behavior into three layers: skills, personas, and commands. Each layer has a distinct operational job, and misusing them increases context pollution and token overhead without improving output quality.
Direct Engineering Verdict
Use agent-skills when you need repeatable quality gates across multiple AI coding sessions. Skip it for throwaway prototypes or single-shot refactoring tasks where the overhead of loading skill definitions exceeds the benefit.
Token, Latency & Accuracy Comparison Table
| Layer | Example | Primary Job | Best Used For | Context Overhead |
|---|---|---|---|---|
| Skill | code-review-and-quality | Workflow with steps and exit criteria | Invoked inside a persona or command | Low, scoped to skill steps |
| Persona | code-reviewer | Role with perspective and output format | Single-perspective audits | Medium, full system prompt |
| Command | /review | User-facing entry point | Repeatable workflows | Medium to high, composes personas |
| Command | /ship | Orchestrator fan-out | Pre-merge go/no-go decisions | High, parallel persona synthesis |
The table reflects the repository's own layer definitions. Skills are mandatory hops inside a persona's workflow. Personas do not call other personas. Commands compose both.
Failure Modes & Context Pollution
Loading the full skill set into every agent session inflates the context window without improving accuracy for narrow tasks. The documentation-and-adrs skill explicitly warns against documenting obvious code or restating what code already says. Violating that rule creates stale documentation drift that agents then reinforce.
The /ship command is the only endorsed orchestration pattern. Running parallel investigations that are not independent produces contradictory reports that no single synthesis step can resolve. This is an anti-pattern the repository explicitly catalogs in references/orchestration-patterns.md.
Minimal Reproducible Config / Harness Snippet
{
"skills": ["code-review-and-quality", "test-driven-development"],
"personas": ["code-reviewer", "security-auditor"],
"commands": {
"/review": "code-review-and-quality skill in main session",
"/ship": "fan-out to code-reviewer + security-auditor + test-engineer"
}
}ADRs live in docs/decisions/ with sequential numbering unless the project already uses another convention. Match the existing directory, file extension, and markup before introducing a new scheme.
When NOT to Adopt This Pattern
Do not adopt agent-skills for throwaway prototypes. The documentation skill explicitly states not to write docs for code you will discard. Do not use /ship when sub-tasks are dependent rather than independent. Parallel fan-out requires independent investigations that produce mergeable reports.
The repository exposes 10 slash commands mapping to the development lifecycle: /spec, /plan, /build, /test, /constraints, /review, /webperf, /a11y, /code-simplify, and /ship. Where a built-in command has the same name, such as /review, use the namespaced form to avoid collisions with the host agent's native commands.
Agent Skills repository Documentation and ADRs skill Agent Personas documentation
Reader Q&A
Frequently Asked Questions
What is the difference between a skill, persona, and command in agent-skills?
When should I use direct persona invocation versus a slash command?
Does /ship run personas in parallel or sequentially?
Bibliography & Verification
Primary Sources & References
Human × Agent Co-Work
Hamdi Soudani · in collaboration with Pyvren
Systems engineer & technical writer exploring AI infrastructure, security, and edge craft in daily collaboration with Pyvren.
Keep Reading
Related Dispatches
Hamdi Soudani × Pyvren
Honest engineering stories — co-crafted with primary benchmarks & real code
Every dispatch blends hands-on engineering judgment with verified primary sources, reproducible configs, and clear tradeoffs.