[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1KJAA8VSX6MCSJF2J49EJ":3,"skill-same:01M7F1KJAA8VSX6MCSJF2J49EJ":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7F1KJAA8VSX6MCSJF2J49EJ","arena",null,"Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for \u002Farena or $arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.","willgosnold\u002Fpatchbook","willgosnold","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90176365?v=4","01M7F13J2VJ2R4DZHPQY7P92A0","Will Gosnold","01M7F1K8G0DXVG90J6F8WQR138",1,"MIT","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Farena\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: arena\ndescription: \"Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for \u002Farena or $arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.\"\ndisable-model-invocation: true\n---\n\n# Arena\n\nOpen a step list with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything, and keep it current at each phase. Codex keeps it with `update_plan`. Claude Code keeps it in the reply.\n\n## Phase A: Frame\n\nEvery candidate gets the same prompt, so the prompt is the contract.\n\n1. State the artifact each candidate is producing.\n2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task.\n3. Pick the runners. Use the `arena runners` line in `.agents\u002Fpstack-models.md` in the project's main checkout (`\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\u002F.agents\u002Fpstack-models.md\"`, which may not exist), else `claudeAgent\u002Fclaude-opus-5-5 high`, `codex\u002Fgpt-6.1-sol xhigh`, one runner per entry. A role line is `\u003Crole>: \u003Centry>, \u003Centry>, ...`, and a panel role runs one subagent per entry. An entry `\u003Cprovider>\u002F\u003Cmodel> \u003Ceffort>` becomes `target: {providerInstanceId: \u003Cprovider>, model: \u003Cmodel>, options: {effort: \u003Ceffort>}}`, with `reasoningEffort` instead of `effort` for `codex`. `inherit-parent` means omit `target`. The effort is a ceiling: lower it for routine work, never raise it, and never set `fastMode`. Spawn more runners when the arena covers multiple design directions. Use the same model N times when the work is generation-bound rather than judgment-sensitive.\n4. Give each candidate its own output location (a git worktree where possible, otherwise `\u002Ftmp\u002Farena-\u003Cslug>\u002Fcandidate-\u003Cn>\u002F`), per the **separate-before-serializing-shared-state** principle skill.\n\n## Phase B: Fan out\n\nSpawn all N subagents in one message: N `delegate_task` calls with `mode: \"async\"`, each with its own `clientRequestId` and, when its output location is a worktree, `isolation: \"worktree\"`. A worktree starts from the parent's current local commit without uncommitted edits, so commit the shared grounding first or give it by absolute path. Each `task` holds the whole brief: the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected. Keep each `taskId` and `childThreadId`. Each completion wakes this thread, so end the turn instead of polling.\n\nIf a candidate produces no output, proceed with N-1 and note the dropout.\n\n## Phase C: Cross-judge\n\nAfter all Phase B candidates complete, choose one entry from the `arena cross-judge pool` line in `.agents\u002Fpstack-models.md` in the project's main checkout (`\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\u002F.agents\u002Fpstack-models.md\"`, which may not exist), else from `claudeAgent\u002Fclaude-opus-5-5 high`. Prefer a different model family from the parent's. Spawn one judge subagent on that entry with `delegate_task`, `mode: \"async\"`, and no `isolation`. Its brief says \"Do not edit, create, commit, or push files.\", and you run `git status` afterward. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing.\n\n## Phase D: Pick a base\n\nRead every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.\n\nPick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.\n\n## Phase E: Graft\n\nWalk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in by hand, per the **redesign-from-first-principles** principle skill, so the result stays coherent under one mental model. Don't paste mechanically.\n\nIf the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.\n\n## Phase F: Verify\n\nVerify the synthesized artifact like any other output, per the **prove-it-works** principle skill. If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it.\n\n## Outputs\n\nOne synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.\n","# Arena\n\nOpen a step list with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything, and keep it current at each phase. Codex keeps it with `update_plan`. Claude Code keeps it in the reply.\n\n## Phase A: Frame\n\nEvery candidate gets the same prompt, so the prompt is the contract.\n\n1. State the artifact each candidate is producing.\n2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task.\n3. Pick the runners. Use the `arena runners` line in `.agents\u002Fpstack-models.md` in the project's main checkout (`\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\u002F.agents\u002Fpstack-models.md\"`, which may not exist), else `claudeAgent\u002Fclaude-opus-5-5 high`, `codex\u002Fgpt-6.1-sol xhigh`, one runner per entry. A role line is `\u003Crole>: \u003Centry>, \u003Centry>, ...`, and a panel role runs one subagent per entry. An entry `\u003Cprovider>\u002F\u003Cmodel> \u003Ceffort>` becomes `target: {providerInstanceId: \u003Cprovider>, model: \u003Cmodel>, options: {effort: \u003Ceffort>}}`, with `reasoningEffort` instead of `effort` for `codex`. `inherit-parent` means omit `target`. The effort is a ceiling: lower it for routine work, never raise it, and never set `fastMode`. Spawn more runners when the arena covers multiple design directions. Use the same model N times when the work is generation-bound rather than judgment-sensitive.\n4. Give each candidate its own output location (a git worktree where possible, otherwise `\u002Ftmp\u002Farena-\u003Cslug>\u002Fcandidate-\u003Cn>\u002F`), per the **separate-before-serializing-shared-state** principle skill.\n\n## Phase B: Fan out\n\nSpawn all N subagents in one message: N `delegate_task` calls with `mode: \"async\"`, each with its own `clientRequestId` and, when its output location is a worktree, `isolation: \"worktree\"`. A worktree starts from the parent's current local commit without uncommitted edits, so commit the shared grounding first or give it by absolute path. Each `task` holds the whole brief: the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected. Keep each `taskId` and `childThreadId`. Each completion wakes this thread, so end the turn instead of polling.\n\nIf a candidate produces no output, proceed with N-1 and note the dropout.\n\n## Phase C: Cross-judge\n\nAfter all Phase B candidates complete, choose one entry from the `arena cross-judge pool` line in `.agents\u002Fpstack-models.md` in the project's main checkout (`\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\u002F.agents\u002Fpstack-models.md\"`, which may not exist), else from `claudeAgent\u002Fclaude-opus-5-5 high`. Prefer a different model family from the parent's. Spawn one judge subagent on that entry with `delegate_task`, `mode: \"async\"`, and no `isolation`. Its brief says \"Do not edit, create, commit, or push files.\", and you run `git status` afterward. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing.\n\n## Phase D: Pick a base\n\nRead every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.\n\nPick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.\n\n## Phase E: Graft\n\nWalk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in by hand, per the **redesign-from-first-principles** principle skill, so the result stays coherent under one mental model. Don't paste mechanically.\n\nIf the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.\n\n## Phase F: Verify\n\nVerify the synthesized artifact like any other output, per the **prove-it-works** principle skill. If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it.\n\n## Outputs\n\nOne synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","b47f5118e95c2c9791e6e975b6a9a97571d2dc67",".agents\u002Fskills\u002Farena",0,"https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook","https:\u002F\u002Fgithub.com\u002Fwillgosnold","Independent AI safety research | London | MSc @ University of Exeter ","2026-10-28 06:42:27",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add willgosnold\u002Fpatchbook --skill arena",{"tool":39,"command":40},"bunx","bunx skills add willgosnold\u002Fpatchbook --skill arena",{"tool":42,"command":43},"pnpm","pnpm dlx skills add willgosnold\u002Fpatchbook --skill arena","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Farena\u002FSKILL.md",[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7F1TFAS2GDQR010AV81M3H1","patchbook-update","Pull upstreams into a repo that keeps its changes in a patchbook (.patchbook\u002F), repair what broke from each change's intent, test and review, then merge and deploy only when the sync was clean or the test command passes, and otherwise ask, opening a pull request when there are commits to push. Use when a scheduled task or the user says to update a patchbook repo, or for \u002Fpatchbook-update or $patchbook-update.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002Fskills\u002Fpatchbook-update\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7F1T945FRSKCATSWWGM0HJG","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7F1T54ST6QFMHX8CX01DKNB","verify-patchbook","Drive the patchbook CLI from this checkout in a disposable sandbox (its own git repos, store, config and a fake model) and capture a transcript as proof. Use to reproduce a patchbook bug, run an issue's repro script, or prove a change to clone, init, record, the pre-commit hook, build, status, check, sync or upstream works the way a user would see it.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-patchbook\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7F1T3NHKBVGVD4BT2C5BG7A","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7F1T1SSJSW2KVN8JXXBGZNN","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7F1SXXN9RHQNWNG3JFBPZW0","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or $technical-writing, or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fwillgosnold\u002Fpatchbook\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[]]