How do you turn a way of working into a reusable skill?
18 posts
Playbook
Practitioners define skills by explicit triggers and constraints, then validate them against baseline performance and context limits.
- Define triggers and exclusions first
Start the skill description with three sentences stating what it does, when to use it, and when not to. Include specific trigger phrases and cases where the skill does not apply to prevent false triggers. Keep the main body within 100 lines and move details to a reference file one level deep . 16
- Compress descriptions for startup budget
Keep skill descriptions under 250 characters to fit the startup character budget. Use a script to list deleted trigger words after compression and restore them individually. Run behavior tests to ensure no systematic drop in accuracy, such as comparing scores like 88/96 against 90/96 . 2
- Optimize for token efficiency
Instruct the agent to write skills in a token-efficient manner and relax grammar constraints. Avoid book-length descriptions that load into every context. Use a dedicated skill to identify and flag the worst offenders with high token consumption . 3
- Implement automated maintenance checks
Run format and link checks before committing a skill. Require authors to attach an evaluation prompt set and scoring criteria. Evaluate the entire skill library on a weekly schedule, comparing accuracy and token cost with and without each skill to maintain quality . 8
- Validate with A/B testing
Run the same prompt with and without the skill to compare results. Test near-miss prompts that should not trigger the skill to verify it does not activate incorrectly. This ensures the skill adds value without causing false positives . 1
Choosing between approaches
Compressing descriptions under 250 characters may remove necessary trigger words, requiring manual restoration and testing to confirm no loss in performance 2. Detailed skills risk exceeding context budgets, necessitating token-efficient writing styles that may sacrifice grammatical precision 3.
Not covered yet
The material does not specify a standard method for versioning skills or handling backward compatibility when existing skills are updated.
Posts
- Write the SKILL.md description first, in three sentences: what, when to use, when notAfter writing 17 skills, the author writes the description first, in three sentences: what it does, when to use it and when not to.
- Compress skill descriptions under 250 characters and A/B test the restored trigger wordsThe author found that the descriptions of 114 skills exceeded the startup character budget, so the overflow kept only names and no longer triggered automatically.

- Ask your agent to write skills token-efficiently and relax the grammarPeter Steinberger says that when you write skills, you should ask your agent to be token efficient and relax grammar.
- Rewrite database-architect agent to catch locking risks in migrationsDaniel San rewrote the database-architect agent for Claude Code to handle complex migrations.
- Split Claude Code motion work into brief, build, and fixer agents to save usageAI Labs built a reusable Claude Code workflow for motion graphics that separates planning, building, and reviewing.

- Start every skill with trigger phrases and exclusions; put hard rules in files and scriptsAfter managing 43 skills, the author starts each with trigger phrases and cases where it does not apply, writes hard rules (drafts only, at most ten targets per batch, no bank account numbers) into the file, and uses scripts for steps with a standard answer.

- A Claude Code skill for better HTML plans: simple language, code snippets, questions and mockupsThariq is building a skill for Claude Code that produces better HTML plans.

- Run format and link checks before commit and evaluate the whole skill library weeklyGoogle's team describes how it maintains Agent Skills: format and link checks run before commit, authors must attach an evaluation prompt set and scoring criteria, and the whole library is evaluated weekly on a schedule, comparing accuracy and token cost with and without each skill.

- A read-only prompt to check repos and local setups against the October 21-22 security disclosuresPhilipp Schmid shares a read-only prompt for checking repositories, containers and local environments against the security disclosures of October 21-22, 2026.
- Cloudflare's security-audit skill found 21 real bugs among 26 flagged in a six-month-old appThe author ran the Cloudflare security-audit skill on his own app, in use for half a year, and it flagged 26 problems, of which 21 were real vulnerabilities.

- Write a Skill with a Use when trigger, phased steps and a skeptic subagent to double-check
- For each skill, list three requests that must trigger it and three that must not
- Five steps for financial planners with no code to launch their own agents
8 more posts to see