Skip to main content

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.

CODING & MCP Benchmark Study
addyosmani/agent-skills repository card showing 122.3k stars and production-grade engineering skills branding
addyosmani/agent-skills repository card showing 122.3k stars and production-grade engineering skills branding Source: github.com
Field Note · The Short Version 2 min read

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

LayerExamplePrimary JobBest Used ForContext Overhead
Skillcode-review-and-qualityWorkflow with steps and exit criteriaInvoked inside a persona or commandLow, scoped to skill steps
Personacode-reviewerRole with perspective and output formatSingle-perspective auditsMedium, full system prompt
Command/reviewUser-facing entry pointRepeatable workflowsMedium to high, composes personas
Command/shipOrchestrator fan-outPre-merge go/no-go decisionsHigh, 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

JSON8 lines
{
  "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.

addyosmani/agent-skills repository card showing 122.3k stars and production-grade engineering skills branding
addyosmani/agent-skills repository card showing 122.3k stars and production-grade engineering skills branding

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?
A skill is a workflow with steps and exit criteria (the how). A persona is a role with a perspective and output format (the who). A command is a user-facing entry point (the when) that composes personas and skills.
When should I use direct persona invocation versus a slash command?
Use direct persona invocation for a single perspective on a single artifact with the user in the loop. Use slash commands for repeatable workflows you would otherwise re-explain every time.
Does /ship run personas in parallel or sequentially?
/ship fans out to code-reviewer, security-auditor, and test-engineer in parallel, then synthesizes their reports into a single go/no-go decision.

Bibliography & Verification

Primary Sources & References

3 cited sources
  1. [01] github.com addyosmani / agent-skills
  2. [02] github.com skills / documentation-and-adrs / SKILL.md
  3. [03] github.com main / docs / agents.md

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.

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.