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 yak-worktree-workflowgit 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/yak-worktree-workflow)<a href="https://agentmods.dev/skills/mattwynne/yaks/yak-worktree-workflow"><img src="https://agentmods.dev/badge/skills/mattwynne/yaks/yak-worktree-workflow/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/yak-worktree-workflow"><img src="https://agentmods.dev/badge/skills/mattwynne/yaks/yak-worktree-workflow.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.00037 | $0.00471 |
| Opus 5 | $0.00018 | $0.00235 |
| Sonnet 5 | $0.00007 | $0.00094 |
| Haiku 4.5 | $0.00004 | $0.00047 |
Grade A, and why
yak-worktree-workflow 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 9d 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.
What it actually says
Yak Worktree Workflow
Use the start_yak, show_yak, merge_yak, and subagent tools to
work on a yak in an isolated worktree.
The Workflow
1. Start the yak
Call the start_yak tool with the yak name. This:
- Marks it as wip
- Creates a git worktree in
.worktrees/<yak-id> - Returns the worktree path and branch name
2. Read the yak context
Call show_yak to get the full details including context.
If the context is missing, empty, or too vague — STOP and ask the user. Do not proceed without clear requirements. Ask specific questions:
- "The context doesn't specify X. Should I...?"
- "There are multiple approaches. Do you prefer A or B?"
3. Delegate to a worker subagent
Use the subagent tool to delegate implementation:
subagent(
agent: "worker",
cwd: "<worktree-path>",
task: "<derived from yak context>"
)
The task should include:
- What to build (from the yak context)
- Key constraints or acceptance criteria
- A reminder to commit changes before finishing
4. Merge
Call the merge_yak tool with the branch name. This:
- Runs
dev check(tests, lint, complexity, mutation tests) - Rebases onto main
- Fast-forward merges
- Removes the worktree and branch
If merge fails, read the output, fix issues via another subagent round in the worktree, and try again.
5. Mark done
Use bash: yx done "<yak name>"
Key Principles
- Verify context before starting work. The yak name alone doesn't tell you what to build.
- Merge as soon as tests pass. This is trunk-based development. Branch age is the enemy.
- Summarise what you did when reporting back to the user.
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.
- 9d ago First seen · 69 lines · 37 tokens per session scan A e9457737caaa
yak-worktree-workflow is a skill published in the GitHub repository mattwynne/yaks (58 stars, last pushed 28d ago), licensed MIT. It adds 37 tokens to every session and 471 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
github-project-management
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning.
beads
Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory. Trigger when the user asks to find ready work, claim or close tasks, create follow-up work, inspect blockers, recover project context, or…
pipeline-conductor
Operating procedure for the kirocrew-pipeline-conductor agent - run one issue/PR pipeline on one repository as a supervised fleet. Auto-pick items, preflight every candidate to one deterministic claim verdict, stand up one worker session per item in a dedicated folder, probe them each cycle with one script call…
github
Drive GitHub via the official gh CLI — repos, issues, pull requests, releases, gists, Actions runs, and raw REST through gh api. Use when the user asks to inspect or manage GitHub.
gh
GitHub CLI skill for interacting with GitHub via the gh command line tool. Use when Bub needs to (1) Create, view, or manage GitHub repositories, (2) Work with issues and pull requests, (3) Create and manage releases, (4) Run and monitor GitHub Actions workflows, (5) Create and manage gists, or (6) Perform any GitHub…
create-milestone
Create a GitHub milestone for an upcoming release. Suggests the next version based on the latest release, gathers all merged PRs and closed issues since that release, presents a draft with two tables (Issues and PRs) for user approval, then creates the milestone and assigns all approved items.