[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CDDYQA7774WS0JPW1T7DSS":3,"skill-same:01M6CDDYQA7774WS0JPW1T7DSS":62},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6CDDYQA7774WS0JPW1T7DSS","best-of-n",null,"Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.","codewhale-hq\u002FCodewhale","codewhale-hq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326694313?v=4","01M6CDD9D70AD3631SMRJ7REW4","Codewhale","01M6CDD9H0VAXYCB2NGGPZC16K",41173,"MIT","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fskills\u002Fbest-of-n\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"best of n","generate","verification","SET","rubric","only","worktrees","compare","judge","candidate","apply","solutions","2026-11-10 10:12:30",false,"---\nname: best-of-n\ndescription: Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.\nmetadata:\n  short-description: Compare independent candidates\n---\n\n# Best of N\n\nUse this skill when a consequential design, implementation, explanation, or\ndebugging task has several plausible solutions and comparison is worth the\nextra model work. It is the preferred ensemble pattern for high-stakes or\nambiguous approaches. Do not use it for a tiny change or when\nthe user has already chosen the approach.\n\n## Set The Tournament\n\n1. Define one task, one evidence packet, and one explicit scoring rubric before\n   launching candidates. Include correctness, fit to the request, simplicity,\n   risk, and verification.\n2. Choose `N` from 2 to 4 for a quick comparison (default 3). For an explicit\n   experimental search, use the Workflow search option: 2–16 live candidates,\n   with larger validated populations queued at the Workflow host's\n   concurrency gate rather than launched at once.\n3. Give every candidate the same task and rubric. Add only a candidate number;\n   do not steer candidates toward different conclusions unless diversity is an\n   explicit part of the request.\n4. Prefer a session goal (`create_goal` or active `\u002Fgoal`) when the tournament\n   spans more than one parent turn.\n\n## Generate Independently\n\nStart the candidates as parallel background `agent` workers and return agent_ids\nimmediately so the parent stays free. For proposals, reviews, or research, keep\nthem read-only:\n\n```json\n{\n  \"action\": \"start\",\n  \"name\": \"candidate_1\",\n  \"prompt\": \"Produce candidate 1 for the task below. Return the proposal, evidence, risks, and rubric self-score. Do not edit files.\\n\\n\u003CTASK AND RUBRIC>\",\n  \"type\": \"general\",\n  \"model_strength\": \"same\",\n  \"write_authority\": \"read_only\"\n}\n```\n\nLaunch the remaining candidates with the same contract, then use `agent` wait\nor completion events to collect every result. Do not show one candidate another\ncandidate's answer before generation finishes.\n\nWhen candidates must implement code, give each one:\n\n- `type: \"implement\"`\n- `worktree: true`\n- `write_authority: \"worktree_write\"`\n- the same bounded `write_roots` or `exact_files`\n\nNever run parallel writers in the parent checkout. Each candidate must return\nthe structured candidate contract (candidate id, hypothesis, paths, commands,\nself-verdict, risks, and artifact references). A self-verdict is evidence to\ninspect, not a hard-gate result.\n\nOptional diversity: pin different `model` \u002F Fleet `fleet_profile` values when\nthe project has multiple capable routes; otherwise keep model strength `same`.\n\n## Judge Once\n\nUse one read-only reviewer worker, or the parent when the result is small, to\nscore all candidates against the original rubric. The judge must:\n\n- cite evidence from each candidate rather than vote by style;\n- reject candidates that violate authority, scope, or verification gates;\n- treat candidate-reported commands and PASS claims as untrusted until replay;\n- name the winner and the decisive reasons;\n- identify useful pieces worth combining, if any;\n- say when the candidates are tied or all fail.\n\nDo not ask candidates to vote for themselves. Do not silently merge incompatible\napproaches into a new unreviewed solution.\n\n## Integrate Only After PASS\n\nFor proposal-only work, return the winning answer with a compact score summary.\nFor code work:\n\n1. Freeze the baseline, evaluator, hard gates, score rule, and authority before\n   a larger search admits candidates. Any evaluator change starts a revision.\n2. After a worker loses write authority, apply its patch to a clean baseline\n   and let the runtime—not that worker—run hard gates and scoring.\n3. Inspect the winning worktree diff and independently replay it on the clean\n   baseline. A different read-only model may look for gaming, but deterministic\n   tests remain the authority.\n4. Present the verified winner for review. Applying or merging is a separate,\n   explicit user action; `NONE` is valid when every candidate fails.\n5. Preserve losing and failed candidate receipts as useful negative results.\n\nThe checked-in `operate_best_of_n.workflow.js` recipe supports\n`strategy: \"search\"` for structured 2–16 candidate generation and review. It\ndoes **not** yet turn prompt-listed commands into hidden runtime gates. Do not\nadvertise those gates until a runtime evaluator host consumes a frozen search\nspec.\n\nStop early when one candidate reveals a hard constraint that invalidates the\ntournament. Report the negative result rather than spending the remaining\nbudget to manufacture variety.\n","# Best of N\n\nUse this skill when a consequential design, implementation, explanation, or\ndebugging task has several plausible solutions and comparison is worth the\nextra model work. It is the preferred ensemble pattern for high-stakes or\nambiguous approaches. Do not use it for a tiny change or when\nthe user has already chosen the approach.\n\n## Set The Tournament\n\n1. Define one task, one evidence packet, and one explicit scoring rubric before\n   launching candidates. Include correctness, fit to the request, simplicity,\n   risk, and verification.\n2. Choose `N` from 2 to 4 for a quick comparison (default 3). For an explicit\n   experimental search, use the Workflow search option: 2–16 live candidates,\n   with larger validated populations queued at the Workflow host's\n   concurrency gate rather than launched at once.\n3. Give every candidate the same task and rubric. Add only a candidate number;\n   do not steer candidates toward different conclusions unless diversity is an\n   explicit part of the request.\n4. Prefer a session goal (`create_goal` or active `\u002Fgoal`) when the tournament\n   spans more than one parent turn.\n\n## Generate Independently\n\nStart the candidates as parallel background `agent` workers and return agent_ids\nimmediately so the parent stays free. For proposals, reviews, or research, keep\nthem read-only:\n\n```json\n{\n  \"action\": \"start\",\n  \"name\": \"candidate_1\",\n  \"prompt\": \"Produce candidate 1 for the task below. Return the proposal, evidence, risks, and rubric self-score. Do not edit files.\\n\\n\u003CTASK AND RUBRIC>\",\n  \"type\": \"general\",\n  \"model_strength\": \"same\",\n  \"write_authority\": \"read_only\"\n}\n```\n\nLaunch the remaining candidates with the same contract, then use `agent` wait\nor completion events to collect every result. Do not show one candidate another\ncandidate's answer before generation finishes.\n\nWhen candidates must implement code, give each one:\n\n- `type: \"implement\"`\n- `worktree: true`\n- `write_authority: \"worktree_write\"`\n- the same bounded `write_roots` or `exact_files`\n\nNever run parallel writers in the parent checkout. Each candidate must return\nthe structured candidate contract (candidate id, hypothesis, paths, commands,\nself-verdict, risks, and artifact references). A self-verdict is evidence to\ninspect, not a hard-gate result.\n\nOptional diversity: pin different `model` \u002F Fleet `fleet_profile` values when\nthe project has multiple capable routes; otherwise keep model strength `same`.\n\n## Judge Once\n\nUse one read-only reviewer worker, or the parent when the result is small, to\nscore all candidates against the original rubric. The judge must:\n\n- cite evidence from each candidate rather than vote by style;\n- reject candidates that violate authority, scope, or verification gates;\n- treat candidate-reported commands and PASS claims as untrusted until replay;\n- name the winner and the decisive reasons;\n- identify useful pieces worth combining, if any;\n- say when the candidates are tied or all fail.\n\nDo not ask candidates to vote for themselves. Do not silently merge incompatible\napproaches into a new unreviewed solution.\n\n## Integrate Only After PASS\n\nFor proposal-only work, return the winning answer with a compact score summary.\nFor code work:\n\n1. Freeze the baseline, evaluator, hard gates, score rule, and authority before\n   a larger search admits candidates. Any evaluator change starts a revision.\n2. After a worker loses write authority, apply its patch to a clean baseline\n   and let the runtime—not that worker—run hard gates and scoring.\n3. Inspect the winning worktree diff and independently replay it on the clean\n   baseline. A different read-only model may look for gaming, but deterministic\n   tests remain the authority.\n4. Present the verified winner for review. Applying or merging is a separate,\n   explicit user action; `NONE` is valid when every candidate fails.\n5. Preserve losing and failed candidate receipts as useful negative results.\n\nThe checked-in `operate_best_of_n.workflow.js` recipe supports\n`strategy: \"search\"` for structured 2–16 candidate generation and review. It\ndoes **not** yet turn prompt-listed commands into hidden runtime gates. Do not\nadvertise those gates until a runtime evaluator host consumes a frozen search\nspec.\n\nStop early when one candidate reveals a hard constraint that invalidates the\ntournament. Report the negative result rather than spending the remaining\nbudget to manufacture variety.\n",{"name":5,"metadata":36,"description":7},{"short-description":37},"Compare independent candidates","main","61e914bfdde385343e409ff1119ad49d753823e0","crates\u002Fskills\u002Fassets\u002Fskills\u002Fbest-of-n",3570,"https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale","https:\u002F\u002Fcodewhale.net\u002F","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq","https:\u002F\u002Fcodewhale.net","Open-source coding agent for your terminal. Works with the model provider you choose.","2026-11-15 03:34:17",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add codewhale-hq\u002FCodewhale --skill best-of-n",{"tool":54,"command":55},"bunx","bunx skills add codewhale-hq\u002FCodewhale --skill best-of-n",{"tool":57,"command":58},"pnpm","pnpm dlx skills add codewhale-hq\u002FCodewhale --skill best-of-n","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fskills\u002Fbest-of-n\u002FSKILL.md",true,[],[63,71,78,85,92,131],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M762EE9REJW663W55G782CWX","editing-cordis-compositions","Use when creating, changing, or validating an agent preset or other Cordis composition for this harness, including deciding host versus preset placement and checking that an authored preset mounts.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fdsh-creator\u002Fskills\u002Fediting-cordis-compositions\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M762EADNG6KAPG19QDSN2QNZ","cordis-plugin-development","Use when designing, reviewing, adding, enabling, disabling, installing, configuring, or debugging a plugin, bundle, feature, page, panel, tool, or MCP connection in the current Harness profile, including a shipped plugin that is disabled by default, and for any visual object, decoration, or widget request that names no other destination, which means an installed UI plugin rendered in the Harness Web UI.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fdsh-creator\u002Fskills\u002Fcordis-plugin-development\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"01M762E804R47G7ZG4Z8G6TB7E","cordis-composition-reference","Use when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fdsh-creator\u002Fskills\u002Fcordis-composition-reference\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"01M762E5S379GXSVPA7P6JVNG7","agent-experience","Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step workflows, to make information discoverable and use context efficiently.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fcrates\u002Fskills\u002Fassets\u002Fdsh-creator\u002Fskills\u002Fagent-experience\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":95,"description":96,"descriptionZh":97,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":110,"publishedAt":31},"01M6CDJRMPR8FX1WVFP94PGDMD","gh-find-prs","GitHub PR 与议题队列审查","Survey the open Codewhale PR and issue queue read-only: fetch each item, check it against current code, and produce one coverage and disposition matrix with cited evidence and credit owed.","以只读方式梳理开放的 Codewhale PR 和议题队列：获取每一项，对照当前代码进行核查，并生成一份包含引用证据和应致谢对象的覆盖度与处置矩阵。","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fgh-find-prs\u002FSKILL.md",[100,105],{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":106,"categoryName":107,"taxonomyType":108,"taxonomyTypeDesc":109},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[111,112,113,114,115,116,117,118,119,24,120,121,122,123,124,125,126,127,128,129,130],"prs","find","gh find prs","gh","check","evidence","pr","survey","open","produce","code","coverage","read","issue","queue","codewhale","matrix","read-only","with","fetch",{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":143,"publishedAt":31},"01M6CDJP0ZYMQNA6AN028X7A96","gh-file-issue","GitHub 议题创建","Use when filing a new Codewhale GitHub issue: turn a bug or idea into a well-formed, actionable issue with repro, acceptance criteria, labels, and milestone.","用于提交新的 Codewhale GitHub 议题：将 bug 或想法转化为结构良好、可执行的议题，包含复现步骤、验收标准、标签和里程碑。","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002FCodewhale\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fgh-file-issue\u002FSKILL.md",[139,142],{"categoryNo":140,"categoryName":141,"taxonomyType":103,"taxonomyTypeDesc":104},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":106,"categoryName":107,"taxonomyType":108,"taxonomyTypeDesc":109},[144,145,146,124,114,147,148,149,150,126,151,152,153,154,155,156,157,129,158,159,160],"file","file issue","gh file issue","new","github","github issue","bug","use","actionable","filing","labels","when","milestone","idea","acceptance criteria","repro","acceptance"]