[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BZAZVGVNPWG1H18RYCF6RM":3,"skill-same:01M7BZAZVGVNPWG1H18RYCF6RM":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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BZAZVGVNPWG1H18RYCF6RM","ds-best-of-n",null,"Run N independent attempts at the same task in parallel, pick the strongest as the base, and graft the best parts of the others into it. Use when one attempt at a non-trivial artifact could land on the wrong shape, or for \u002Fds-best-of-n, 'try a few versions', 'best of 3'.","Mostafa-Taher-git\u002FGreeneek","Mostafa-Taher-git","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F178865212?v=4","01M7BZ9VH4JJ0HP475H6CEJCGJ","Mostafa Taher Ahmed","01M7BZ9VHSXZMWJSX2W9MSCMB2",0,"MIT","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fds-best-of-n\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ds-best-of-n\ndescription: \"Run N independent attempts at the same task in parallel, pick the strongest as the base, and graft the best parts of the others into it. Use when one attempt at a non-trivial artifact could land on the wrong shape, or for \u002Fds-best-of-n, 'try a few versions', 'best of 3'.\"\n---\n\n\n# ds-best-of-n\n\nOne attempt is a sample, not an answer. DeepSeek is cheap enough that three to five attempts usually cost less than one round of fixing a bad first try.\n\n## Steps\n\n1. Frame the task. Write one prompt that every attempt gets unchanged. Write a private rubric of 3 to 6 concrete, checkable criteria. Attempts never see the rubric.\n2. Pick N. Use 3 by default and 5 when the design space is wide. Give each attempt its own output location, such as a git worktree or a separate temp folder.\n3. Spawn N subagents at once with the prompt, the shared context and their output path. Ask each for the artifact plus a short note on alternatives it rejected. If a harness cannot run subagents, run the attempts one after another in fresh contexts.\n4. Check each attempt. Run its build, tests or a quick probe. Record pass or fail with output. Discard attempts that do not run.\n5. Score the survivors against the rubric. Pick the one with the best overall structure as the base. Structure beats polish.\n6. List the specific strong parts of the other attempts: a test, an edge case, a cleaner function. Graft only those into the base. Do not merge whole files.\n7. Re-run the full checks on the grafted result and show the output.\n\n## Stop when\n\n- The grafted result passes every check and you have reported base, grafts and scores.\n- Or no attempt passes after one re-run with a clarified prompt. Report what failed.\n\n## Rules\n\n- Never pick by reading the attempt's own summary. Pick by running it.\n- Do not let one attempt see another before scoring.\n- Keep the losing attempts until the final checks pass.\n\n## Greeneek working contract\n\nThis skill is installed in the Greeneek repository. Where a step below conflicts with these rules, these rules win.\n\n- Restate the goal in one line, read the real files before editing, and work on `main` in small vertical slices. Preserve uncommitted and concurrent work; never reset, force-push, or overwrite another session's changes.\n- Evidence before \"done\": run the real check and record the exact command and its output. Never weaken a test, add a blind retry, raise a timeout without a diagnosed cause, or delete a failing assertion to get green.\n- Agent waves never commit, push, tag, or publish. No npm auto-publish on `main`; release tags are immutable and Item 8 stays last.\n- Live model lanes stay BLOCKED without `GREENEEK_API_KEY`; mocked coverage is never reported as real-CLI verification.\n- Registrations are effects, ESM everywhere, and misconfiguration fails at the earliest resolvable point.\n- Source of truth: `.agents\u002Fnotes\u002Fproposed\u002Fprocess\u002F2026-11-01-v0.3.9-master-release-plan.md`. Append evidence to its Execution ledger and keep its Resume State current in the same commit as the change.\n\n## Greeneek-specific override\n\nParallel attempts in Greeneek go through Maestro\u002FFleet, not ad-hoc shell processes sharing one worktree. Two agents must never write this worktree at once: they share the index and the plan file. When parallel execution is unavailable, run the attempts sequentially in fresh contexts and report that.\n","# ds-best-of-n\n\nOne attempt is a sample, not an answer. DeepSeek is cheap enough that three to five attempts usually cost less than one round of fixing a bad first try.\n\n## Steps\n\n1. Frame the task. Write one prompt that every attempt gets unchanged. Write a private rubric of 3 to 6 concrete, checkable criteria. Attempts never see the rubric.\n2. Pick N. Use 3 by default and 5 when the design space is wide. Give each attempt its own output location, such as a git worktree or a separate temp folder.\n3. Spawn N subagents at once with the prompt, the shared context and their output path. Ask each for the artifact plus a short note on alternatives it rejected. If a harness cannot run subagents, run the attempts one after another in fresh contexts.\n4. Check each attempt. Run its build, tests or a quick probe. Record pass or fail with output. Discard attempts that do not run.\n5. Score the survivors against the rubric. Pick the one with the best overall structure as the base. Structure beats polish.\n6. List the specific strong parts of the other attempts: a test, an edge case, a cleaner function. Graft only those into the base. Do not merge whole files.\n7. Re-run the full checks on the grafted result and show the output.\n\n## Stop when\n\n- The grafted result passes every check and you have reported base, grafts and scores.\n- Or no attempt passes after one re-run with a clarified prompt. Report what failed.\n\n## Rules\n\n- Never pick by reading the attempt's own summary. Pick by running it.\n- Do not let one attempt see another before scoring.\n- Keep the losing attempts until the final checks pass.\n\n## Greeneek working contract\n\nThis skill is installed in the Greeneek repository. Where a step below conflicts with these rules, these rules win.\n\n- Restate the goal in one line, read the real files before editing, and work on `main` in small vertical slices. Preserve uncommitted and concurrent work; never reset, force-push, or overwrite another session's changes.\n- Evidence before \"done\": run the real check and record the exact command and its output. Never weaken a test, add a blind retry, raise a timeout without a diagnosed cause, or delete a failing assertion to get green.\n- Agent waves never commit, push, tag, or publish. No npm auto-publish on `main`; release tags are immutable and Item 8 stays last.\n- Live model lanes stay BLOCKED without `GREENEEK_API_KEY`; mocked coverage is never reported as real-CLI verification.\n- Registrations are effects, ESM everywhere, and misconfiguration fails at the earliest resolvable point.\n- Source of truth: `.agents\u002Fnotes\u002Fproposed\u002Fprocess\u002F2026-11-01-v0.3.9-master-release-plan.md`. Append evidence to its Execution ledger and keep its Resume State current in the same commit as the change.\n\n## Greeneek-specific override\n\nParallel attempts in Greeneek go through Maestro\u002FFleet, not ad-hoc shell processes sharing one worktree. Two agents must never write this worktree at once: they share the index and the plan file. When parallel execution is unavailable, run the attempts sequentially in fresh contexts and report that.\n",{"name":5,"description":7},"main","183a0e26a183c692b6f1fc3d97039183e80c4796",".agents\u002Fskills\u002Fds-best-of-n","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek","https:\u002F\u002Fgreeneek.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git","www.mostafa-taher.duckdns.org","2026-11-15 04:10:26",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-best-of-n",{"tool":38,"command":39},"bunx","bunx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-best-of-n",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-best-of-n","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fds-best-of-n\u002FSKILL.md",true,[],[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},"01M7BZFPXJY0FHK7MWC9TFFJ6X","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fuser-only-skill\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},"01M7BZFM9WBCZKC1QHKJNXCGE2","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fsnapshot-skill\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},"01M7BZFK35HJX56MKCBR55BW5A","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fmodel-only-skill\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},"01M7BZFFRD3339VT24M97Q52ZE","editing-cordis-compositions","Use when creating, changing, or validating a Cordis composition for this harness — writing or editing an agent preset, adding or removing a plugin row, deciding whether something belongs to the host composition or to one session, checking whether a preset you authored actually mounts, or diagnosing a row that mounted but contributed nothing.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fpreset\u002Fagent-presets\u002Fpresets\u002Fcordis\u002Fskills\u002Fediting-cordis-compositions\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},"01M7BZFAQMT5FNWTPZ9X8JB1RW","cordis-plugin-development","Create, modify, debug, or extend dynamic Cordis Plugins, including Host Services and Events, Client Slot and theme UI, Package-private Client-to-Host calls, dynamic Tools, version updates, approval failures, and runtime diagnostics. Use this Skill to route a user request to the correct platform and Inspect Provider, then define, run, repair, or roll back the Plugin.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fpreset\u002Fagent-presets\u002Fpresets\u002Fcordis\u002Fskills\u002Fcordis-plugin-development\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},"01M7BZF8Q58ZZ1T0Y08SVHK9XM","preview-tour","Inspect the bundled Preview workspace and its deterministic Session examples.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fexperimental\u002Fwebworker-runtime\u002Ftests\u002Ffixtures\u002Fvfs-example\u002Fworkspace\u002F.agents\u002Fskills\u002Fpreview-tour\u002FSKILL.md",[],[]]