Martin Andrt CZ
Home / Insights / Skills instead of long prompts: a procedure packaged for AI
Skills

Skills instead of long prompts: a procedure packaged for AI

· updated
Three narrow procedure cards side by side, one of them linked by a gold arrow to a task window

A skill is a folder with a SKILL.md file that holds the procedure for one type of task. The model loads it in full only when the skill’s description matches the task. My failure log from April 2026 shows that a good description removes only one of four causes of a procedure not working.

What Anthropic added

Anthropic introduced Agent Skills on 16 October 2025 as folders of instructions, scripts and resources. At startup, only the name and description of each skill sit in context. The full SKILL.md is read when the model judges that the task fits, and further files in the folder are read on demand. A long prompt, by contrast, stays in context the whole time.

The failure log, April 2026

From 17 April 2026 I had a written procedure for drafting e-mails. My log entry of 22 April records three failures of it, and the archive documents three different kinds:

A fourth case is from 28 April. The ban on sending updates to a task system without an explicit instruction stood in three places, but the procedure for that system made commenting the default behaviour. The procedure won. I rewrote it to “default is no comment” and named one binding place for the rule.

On 21 April I introduced a rule: for a known task type, read the matching procedure before producing output. After the next failure I added keywords (e-mail, draft, write) that force the read before a draft is created. That is a skill description written by hand. I have not measured how well it holds.

The 35-line ceiling

On 17 April 2026 I wrote down the format of a procedure: a heading with a description, input, numbered steps, output, and limits, meaning what never to do. With it came a recommendation of at most 35 lines, with longer procedures split or rewritten as a skill. My notes do not say why 35.

I kept it badly. According to the version history, on 18 April, when I moved the commands into the repository, 10 of 15 commands had more than 35 lines, the longest 78. By 30 April it was 12 of 14, and the end-of-session procedure had grown from 65 to 90 lines. The ceiling was a recommendation with no check. The archive does not show that length caused any failure.

What follows from it

In April 2026 my procedures were markdown files in my own memory, not skills in Anthropic’s format with a description field. The principle is the same.

Update, November 2026: I never enforced the 35-line ceiling. As of 24 October 2026 the commands run from 26 to 325 lines, and the recommendation applies only to new ones. In the cleanup of 13 October 2026, the usage trace showed that 80 of 106 procedures had not been opened by anyone for six weeks. I promoted two to skills and shortened the skill descriptions (from 17.9 to 9 thousand characters in total). The keyword map I added to the procedures in May had 11 of 75 skills invisible in July 2026 because of a parser bug.

Sources

FAQ

How does a skill differ from a slash command?

I trigger a slash command myself by name, for example /name. The model picks a skill on its own from the description, so the description has to say when to use it.