Claude Code skill library
Forty-eight skills that turn my infrastructure runbooks, GitLab habits, research and memory routines into procedures Claude Code loads on demand, next to fifty-five vendored ones. Each skill costs context in every session, so I treat a skill like a dependency and measure what the library costs.
An AI assistant without the procedure guesses. In January 2026, setting up a new site, the assistant needed DNS, a reverse proxy, and a certificate, and it made up the server addresses instead of looking them up. Its own record of that session says so plainly: “I made up IPs instead of checking infrastructure registry.”
The answer was a skill: a written runbook for one kind of job that Claude Code loads when that job comes up. Since autumn 2025 my team of AI agents and I have built a library that now holds forty-eight of them, for the work I do over and over: DNS changes, certificates, reverse proxies, site deployments, merge requests, reviews, research, memory, and video notes. The skills folder holds fifty-five more that are not mine. They come from gstack, a third-party suite, pinned to one commit.
Every skill has a cost. Its description loads into every session, whether the skill is used or not. So I treat a skill like a software dependency: it has to earn its place, and when an agent’s start-up context turned out to be large, we measured where it went instead of guessing.
What a skill is, and which are mine
A skill is a folder with a SKILL.md file. Its frontmatter holds a name and a one-line description, and Claude sees those for every skill at the start of a session. The body, the actual runbook, loads only when the skill is used.
The forty-eight I count as mine fall into a few groups:
- Infrastructure runbooks. DNS records through signed dynamic updates, with no server restarts; certificates through a DNS challenge; reverse proxy setup; mail accounts; firewall changes with validation and a backup first. A deployment skill chains DNS, proxy, certificate, git, and pipeline for a new site, and it asks before it builds a staging site, a rule I added in October 2026.
- GitLab flow. Merge request descriptions from the commits, git hygiene, branch protection for a staging flow, pipeline checks, an issue filer that grades severity in four levels, and a review gate that grades findings so only serious ones send work back.
- Spec-driven build. A workflow skill that runs GitHub’s Spec Kit method from idea to implementation, with a gate at each stage.
- Memory and research. Tools for my memory system, a handoff before a session’s context is reset, a three-phase research framework with scores, and web search through a self-hosted search engine.
- Media. Video to structured notes, branded PDFs, and images.
What is not mine, said plainly: the fifty-five gstack skills (planning reviews, QA, browser work, and shipping) are vendored. A lock file pins them to one upstream commit, and a setup script installs them. Several of my own skills adopt a method from elsewhere: the Spec Kit workflow comes from GitHub, and the file format is Anthropic’s. The handoff skill lives once in a shared repository and is linked in, so every agent runs the same copy.
Who built it
Several rules on this page are mine: use the skill when one exists, ask before a staging site, one shared handoff skill, and no new skill without agreement. The skill files themselves were written with Claude under my direction, and agents did the measuring, building, and reviewing described below. “We” on this page means me and that team. I merge every skill change.
Decisions
Where a repeated procedure lives
There were four places to put a procedure the assistant needs again and again, and each has a cost:
- Explain it each session. It costs time every session, it drifts, and the assistant fills the gaps with guesses, like those addresses.
- Put it in the instruction file that loads in every session. That file alone is about 7,300 tokens. Every procedure added there is paid for in every session, even when it is not used.
- Make it an MCP tool. Tool descriptions load every session too. In one case, moving the guidance out of a tool’s description and into a skill cut about 3,500 tokens of always-loaded text to about 500.
- Write a skill. The description is always loaded; the body only on use. The cost: the model can ignore a skill, and a runbook can be wrong.
We chose skills for procedures that need no running service, and kept MCP servers for remote APIs. The rule that makes a runbook worth having is mine. When a skill exists for a task, the assistant uses it, even if it knows the steps and even if it wrote the skill. In my words to the assistant: “I don’t care if you wrote the protocol and know everything about it, you use the skill.”
Use is also how a runbook gets corrected. On October 18, 2026, I found that the DNS skill described the public DNS wrongly; the fix merged on October 21.
A skill asks, a hook enforces
A skill is advice. In December 2025 the search skill was being skipped, because the built-in web search tool was always available and nothing stopped the model from using it. The fix was a hook: a script that runs before a tool call and denies the built-in search, so the skill is the path that works. A record from March 2026 adds the other half: a reminder after the act is too late to change behavior.
Where a rule matters most, a hook blocks the alternative. The skill explains how to do the job.
A skill is a dependency
On June 22, 2026, I set a standing rule: no new skill without first agreeing that it is warranted. The record gives the reason: “every skill’s description loads into Claude’s context every session, consuming tokens AND diluting Claude’s functional awareness/attention.” Treat it like a software dependency, with an ongoing cost per session.
In October 2026 the cost showed up in numbers. A fresh session of our builder agent sat at 6 to 8 percent of its context before it did any work, on every restart. I suspected the MCP servers. An agent read the session logs instead: the first turn of the last four sessions held 60,562, 68,329, 68,526, and 69,253 tokens. The MCP instructions were about 1,200 of those. By its rough estimate, the instruction files were about 18,000 and the skill listing about 17,000, a count that may take in more than the skill descriptions.
The fix for that role had two parts: a short instruction file written for the builder, and an allow-list of twenty-four skills, eight of them mine, with everything else switched off. The setting has no wildcard, so a script computes the list at each run. In a trial probe, start-up context fell from about 49,000 tokens to about 30,000, about 37 percent lower once the short instructions are added back. That trial changed both parts at once, so it does not say how much came from the skills alone.
The rule also has a gate now. Adding or changing a skill goes through a merge request, and I merge it.
How it’s built
- Format:
SKILL.mdper folder. Frontmatter is meant to hold only the name and description; trust level and model tier sit in a block in the body, so they load only with the skill. The December 2025 refactor that moved them was recorded as saving about 630 tokens of always-loaded text. Most of my skills follow it (thirty-three of the forty-eight). - Distribution: one harness repository that every machine I use pulls from; gstack pinned in a lock file and installed by a setup script.
- Allow-lists: a script turns a short allow-list into a full off-list for the role at each run.
- Enforcement: hooks in the Claude Code settings, for the rules that must hold.
Where it stands
The library grew from twenty-one skills in a December 2025 audit to more than thirty-five in March 2026 and about fifty by June 2026. It holds forty-eight of mine now, about flat since June, and some early skills were retired.
On one machine, in the forty-five days up to November 29, 2026, sixteen of the forty-eight were invoked at least once. Search ran thirty times, the review gate fourteen times in its first five days, and the handoff skill thirteen times. Earlier in the year, the deployment skill set up at least three sites. Spec Kit’s method shows up as 149 spec files across thirty-three of my repositories.
The work that is open follows the same rule. An open issue lists near-duplicate skills to prune from the shared listing. The builder’s allow-list was the first; a second seat’s list is planned once it has shown the method, and the live sessions still need to be measured after the change.