Agent Skills Are Becoming a Standard: How to Write a Skill Any Agent Can Load
TL;DR: In the first week of November, anthropics/skills, google/skills, mattpocock/skills and cloudflare/security-audit-skill all hit GitHub Trending on the same day. They do different things, but they share one file:
SKILL.md. Anthropic has turned it into a cross-agent standard; the spec lives at agentskills.io (source: GitHub Trending 2026-11-07; Anthropic skills repo updated 2026-11-06).
A skill is a plug-and-play plugin for an LLM
The idea is simple: a folder with one SKILL.md (YAML frontmatter plus natural-language instructions), optionally carrying scripts and assets. The agent loads it on demand instead of stuffing every procedure into the system prompt. You save context, you get composable capabilities, and the same skill works across teams and across agents.
Two traps in the spec
The frontmatter needs only two fields: name and description. Two traps bite in practice:
- description is capped at 1024 characters: anthropics/skills itself trimmed a 1176-char description down to 992 because the upload validator enforces the limit. And description is the only signal an agent uses to decide whether to load a skill -- too short or too vague, and it never triggers.
- name cannot contain reserved words: claude and anthropic are banned from skill names. There is literally a commit in anthropics/skills that renamed
claude-academy-guidetoacademy-guidefor exactly this reason.
---
name: pr-title-lint
description: Enforce Conventional Commits for PR/commit titles. Use when a PR is opened or a commit title looks non-conforming.
---
# PR Title Lint
Reject titles that do not match type(scope): summary.
## Steps
1. Read the title from the argument or the latest commit.
2. Match ^(feat|fix|docs|refactor|test|chore)(.+)?: .+$
3. On mismatch, print the suggested fix and exit 1.
Why this is a standard, not a feature
Look at the stars: mattpocock/skills around 317k, anthropics/skills around 188k, google/skills around 23k. The ecosystem converged on its own, and the skills.sh CLI makes installs portable:
npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit
npx skills add ./pr-title-lint --global
This is the most underrated piece of agent engineering in 2026: it pulls "capability" out of model weights and prompts and turns it into a versioned, auditable, shareable unit.
Case study: cloudflare turns auditing into a pipeline
cloudflare/security-audit-skill is not a prompt -- it is a six-phase flow: reconnaissance, coverage-led hunting, candidate validation, structured output (findings.json plus report-schema.json), independent record verification, then a target-neutral report. Two design choices are worth stealing:
- Adversarial verification: the agent that validates a finding is never the agent that found it. Checking your own work is always optimistic.
- Only confirm a boundary failure: when unsure, mark it
needs_validationand leave it hanging instead of declaring a verdict; severity is impact times likelihood, not "deviated from a checklist."
It also hard-requires an OS-level sandbox (no external network, resource limits, writes only to scratch) -- otherwise the conclusion stays at needs_validation and never executes target code. That lines up with the "sandbox the agent before it touches a repo" rule from the git piece.
Hands-on: write a minimal skill and install it
Take the frontmatter above, drop in a script that actually runs:
#!/usr/bin/env bash
# pr-title-lint.sh
title="$1"
python3 - "$title" <<'PY'
import sys, re
title = sys.argv[1]
pat = r'^(feat|fix|docs|refactor|test|chore)(\([^)]+\))?:\s.+$'
if not re.match(pat, title):
print("bad title:", title)
sys.exit(1)
PY
Install locally and verify the trigger:
npx skills add ./pr-title-lint --global
# ask the agent to run this skill on a non-conforming title; it should exit 1
Closing thought
A skill is "install a plugin into your agent," and a plugin can carry arbitrary scripts. So the only rule that matters: install skills only from sources you trust, read its SKILL.md and scripts before installing, and run them in a sandbox. Turn capability into auditable units, and agent engineering finally becomes engineering.