Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mattwynne/yaks --skill preparing-a-yakgit clone --depth 1 https://github.com/mattwynne/yaksWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mattwynne/yaks/preparing-a-yak)<a href="https://agentmods.dev/skills/mattwynne/yaks/preparing-a-yak"><img src="https://agentmods.dev/badge/skills/mattwynne/yaks/preparing-a-yak/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mattwynne/yaks/preparing-a-yak"><img src="https://agentmods.dev/badge/skills/mattwynne/yaks/preparing-a-yak.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.02500 |
| Opus 5 | $0.00016 | $0.01250 |
| Sonnet 5 | $0.00006 | $0.00500 |
| Haiku 4.5 | $0.00003 | $0.00250 |
Grade A, and why
preparing-a-yak scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Preparing a Yak
Overview
Preparing a yak turns a vague idea into a buildable spec with
sub-yaks. Each phase stores its output on the yak itself
using yx commands, so everything travels with the yak.
Yaks come in different flavours. A feature adds or changes observable behaviour. A refactoring changes structure while preserving behaviour. A chore is everything else (dependency upgrades, CI fixes, tooling). The preparation flow adapts to the type.
When to Use
- Yak exists but has no context, or context is vague
- Before picking up a yak for implementation
- When a yak needs requirements fleshed out before coding
Don't use when:
- Yak already has context, examples, and sub-yaks
- Yak is a simple, obvious task (just pick it up)
Phase 0: Read Existing State
Before doing anything, understand what you're working with:
-
Read the yak's current state:
yx context --show "yak name" yx field --show "yak name" examples -
Read parent and sibling yaks for scope and constraints:
yx ls -
Explore relevant code — read the files and tests that this yak will touch. Ground yourself in the codebase before brainstorming.
Skip phases that already have approved content. If the yak already has a solid spec in context, go straight to Phase 2.
Phase 1: Mark the Yak as WIP
Before doing any visible work, claim the yak:
yx state "yak name" wip
Preparation is active work. Other agents and the human need to see that this yak is being worked on.
Phase 2: Brainstorm the Spec
Use /brainstorming to explore the idea collaboratively with
the user.
Adaptation: Instead of writing the spec to a file, store it as the yak's context:
cat <<'EOF' | yx context "yak name"
# Goal
[What this yak accomplishes]
# Type
[Feature | Refactoring | Chore]
# Success Criteria
[Specific, testable criteria]
# Design Decisions
[Key decisions from brainstorming]
EOF
Done when: The user approves the spec in context, and the yak's type (feature, refactoring, or chore) is clear.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 331 lines · 32 tokens per session scan A 14df0c9f25f4
preparing-a-yak is a skill published in the GitHub repository mattwynne/yaks (58 stars, last pushed 29d ago), licensed MIT. It adds 32 tokens to every session and 2,500 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
skill-creator
Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.
skill-index-updater
Add GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given GitHub URLs to onboard. Don't use for authoring (skill-creator), improving (skill-auto-improver), or install (asm install).
hello-world
A minimal test skill that greets the user and demonstrates the ASM publish workflow.
openagents-workspace
OpenAgents Workspace collaboration tools — shared files, browser, and multi-agent coordination. Use when: sharing files or reports, browsing websites, reading shared files, checking workspace agents, or collaborating with other agents via @mentions.
refresh-index
Sync every enabled repo in the curated skill index and open a confirmation-gated PR. Use when refreshing already-indexed sources. Don't use for adding new repos, improving a single skill, or installing skills locally.
coding
Use when five specialized coding agents (linter, perf, refactor, security, test) that enforce quality gates across the development lifecycle. From lint enforcement through performance profiling, refactoring, security auditing, and test coverage. Use when working with coding agents.