AI Skill Libraries: Teaching Your Coding Agent the House Rules
If you’ve used Claude Code, Cursor or Codex for more than a week, you know the pattern. The agent writes fluent code — and then invents a test framework that doesn’t exist, ignores your conventions, or refactors half the repo when you asked for a one-line fix. The model isn’t stupid. It just doesn’t know how your team works.
Skills are the fix for that, and skill libraries are the fix for skills. This article explains what they are, looks closely at two very different libraries — Matt Pocock’s AIHero skills and Lauren Tan’s pstack — surveys the wider field, and closes with what the evidence says about choosing well.
What skills actually are
A skill is a folder of reusable instructions: a SKILL.md file, plus optional supporting files, that teaches an agent how to do a job well. Running test-driven development. Reviewing a pull request. Debugging a stubborn failure. Writing documentation that sounds like your team wrote it.
Anthropic introduced the format for its own agents. Vercel turned it into an ecosystem in January 2026 with a skills CLI and the directory skills.sh: npx skills add owner/repo installs a skill into more than 75 agents, including Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI. Claude Code also runs an official plugin marketplace, where Anthropic’s own Frontend Design skill has passed a million installs.
A single skill is handy. A library is more interesting, because the best ones are designed as sets — the pieces share a philosophy and call on each other. Two of the most talked-about libraries take opposite approaches.
Matt Pocock’s skills: small tools for real engineers
Matt Pocock is known to most JavaScript developers as an educator. His AIHero skills repository — “Skills for Real Engineers”, he calls them — is his library for daily engineering work, “not vibe coding”, in his words. It’s MIT-licensed, contains around 27 skills, and has attracted more than 330,000 GitHub stars (333,212 on 26 November 2026).
His philosophy is deliberately small: composable, editable tools that work with any model. He positions them explicitly against all-in-one frameworks such as GSD, BMAD and Spec-Kit, which take ownership of the whole process. His objection is that owning the whole process takes away your control.
The skills target four failure modes of AI coding:
- Misalignment.
/grill-meand/grill-with-docsinterview you relentlessly about a plan before any code is written. If the agent’s understanding is wrong, you want to find out in conversation, not in a pull request. - Verbosity and jargon. One skill builds a shared domain language with a GLOSSARY.md and architecture decision records. Pocock’s favourite example replaces a sentence of explanation with a single shared phrase — “the materialization cascade”.
- Code that doesn’t work.
/tddenforces a red-green-refactor loop./diagnosing-bugsruns a disciplined debugging loop instead of the classic thrash. - Architectural decay.
/improve-codebase-architectureand/codebase-designpush deep modules: lots of behaviour behind a small interface.
The structure is worth understanding because it explains the feel of the library. Skills split into user-invoked (they run only when you type them, like /grill-me) and model-invoked (the agent may reach for them automatically when a task fits). A user-invoked skill can call a model-invoked one; never the reverse. Nothing happens unless you ask for it, or the situation clearly calls for it.
Other skills cover the rest of the working day: /to-spec and /to-tickets turn plans into artefacts, /implement and /implement-spec execute them, /code-review runs a two-axis review — coding standards plus spec compliance — as parallel sub-agents, and /wayfinder plans work too big for one session. There’s also /wait-what, which re-pitches a message that didn’t land in plain English. That one tells you a lot about the author.
Installation is two lines, depending on taste: claude plugin install mattpocock-skills@claude-plugins-official for auto-updating, or npx skills@latest add mattpocock/skills to copy editable files into your project. Version 1.3 shipped in October 2026.
Independent analysis backs the “light” claim. A review by Dbggr in October 2026 measured it as the lightest general library whose skills can still fire on their own: roughly 570 tokens of always-on cost, and no hooks running behind your back.
Lauren Tan’s pstack: one opinionated stack
Lauren Tan — poteto — has written millions of lines of code at Meta, Netflix and Cursor, and sits on the React core team working on the React Compiler. She open-sourced pstack in May 2026 after her Cursor skills were used 10,000 times in one week by Cursor’s own engineering team.
Her framing is blunter than most documentation dares to be. Agents, she says, are “like new hires in a constant state of amnesia and idiocy… capable yet stupid, and very teachable”. The goal isn’t more code: “pstack helps you write less, but higher quality code.”
Where Pocock’s library is pick-and-mix, pstack is routed. The core is /poteto-mode: a higher-order skill that reads your task, chooses one of 22 playbooks — bug fix, performance, feature, refactoring, prototype, shipping, investigation, babysitting a PR and more — and runs the other skills as the steps need them. You don’t have to know which skill you need; you ask for the mode and it navigates.
Some of the individual skills are genuinely distinctive:
/interrogateruns an adversarial, multi-model review of a diff./arenamakes several parallel attempts at the same task, then keeps the best parts of each./howand/whyinvestigate how or why a subsystem works — and/whyanswers from commits, PR discussions, Slack and Notion, not just the code./architectsettles types and data structures before you cross function boundaries./unslopstrips AI tells from writing./blast-radius,/show-me-your-work,/reflect,/correctand/figure-it-outround out the set.
Underneath sit 24 one-line principle skills that read like a personal engineering creed: the laziness protocol (bias toward deletion and the smallest change that works), prove-it-works (verify against the real artefact, not “it compiles”), fix root causes, subtract before you add.
The contrast with Pocock is the point. Pocock gives you a toolbox and leaves the routing to you. Tan gives you a crew with a foreman, built for what she calls fearless parallelism: many agents working at once, with rigour applied. A write-up by Barnaby Robson calls it “the skills behind 2,500 PRs a month”. The library holds around 54 skills, almost all manual-only — roughly 70 tokens of always-on cost, per Dbggr’s measurements — and community ports run it on Claude Code, Codex and Copilot.
The wider field
Pocock and Tan are two points on a spectrum, and the ecosystem spans the rest of it:
- obra/superpowers (Jesse Vincent) is one of the most-starred libraries — hundreds of thousands of stars and over a million installs on Anthropic’s marketplace — and the opposite end from Pocock: one mandatory end-to-end workflow. Brainstorm, plan in a git worktree, test-first development through subagents, review. Its README says “Mandatory workflows, not suggestions”, and it injects about 1,500 tokens at the start of every session.
- anthropics/skills is Anthropic’s official set: the document skills behind Claude’s file features (Word, PDF, PowerPoint, Excel), plus skill-creator, mcp-builder, frontend-design and webapp-testing.
- gstack, published by Y Combinator’s chief executive, takes role-based organisation furthest: 57 skills arranged as a virtual engineering team, and the heaviest library measured.
- addyosmani/agent-skills (Addy Osmani) offers 25 lifecycle skills from spec to launch, including security and performance.
- Vendors publish skills for their own products: vercel-labs/agent-skills for React and Next.js (its web-design-guidelines skill has more than 800,000 installs), microsoft/skills for Azure SDKs, trailofbits/skills for security auditing.
- Directories and leaderboards — ComposioHQ/awesome-claude-skills, VoltAgent/awesome-agent-skills and the skills.sh leaderboard — help you find candidates.
With this much choice, the obvious question is whether installing more skills makes your agent better. The evidence says the opposite.
What the evidence says
An April 2026 study from SkillsBench tested Claude Opus 4.6 with and without skills. With hand-picked, relevant skills, it passed 51.2 per cent of tasks; with none, 35.4 per cent. That’s a large, real gain — when the skills are chosen well.
The same study then let the model retrieve its own skills from a pool of 34,198 public ones. Pass rates fell to 38.4 per cent — barely above the no-skills baseline. The skills didn’t fail; the choosing did.
A separate web-development study found something similar at smaller scale. A pool of 31 public skills cut pass rates by 1.3 to 4.2 percentage points and raised token costs by 72 to 394 per cent. Unused skills aren’t free: they sit in context, costing money and attention on every call.
The pattern across both studies is consistent, and it’s the most useful thing to take away from this article: curation beats volume.
How to choose without drowning
The evidence supports five habits:
- Install at most one workflow library. Pocock’s skills, pstack and superpowers each encode a whole way of working. Two of them will fight — and you’ll pay for both in tokens.
- Cherry-pick and pin individual skills. Most libraries work fine à la carte. Install
/tddbecause you want TDD, not because the rest of the menu came with it. - Read the hooks and scripts before you install. A skill is code that runs next to your codebase. The lightest libraries — Pocock’s at roughly 570 tokens, pstack at roughly 70 — are light because they don’t run anything behind your back. Weight and surprise tend to arrive together.
- Write your own skills for repo-specific conventions. No public library can know your naming scheme, your deploy ritual or the one test that always breaks. This is where a small amount of your own effort beats everything else.
- Revisit occasionally. The field is months old and moving fast. The best choice in November 2026 may not be the best choice by spring.
The house rules, written down
Skill libraries are a young idea doing an old job: writing down how good work gets done, so it can be repeated. The best of them — Pocock’s restraint, Tan’s routing — are opinions about engineering, captured in a format a machine can follow.
Treat them the way you’d treat any new hire’s induction material. Borrow the good parts, correct the parts that don’t fit your house, and never hand over the whole induction folder without reading it first.