[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD6NXAMTA2JNYBSNX1CES9":3,"skill-same:01M6AD6NXAMTA2JNYBSNX1CES9":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":17,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6AD6NXAMTA2JNYBSNX1CES9","experiment-arms","多臂实验假设验证","Runs many single-hypothesis \"arms\" as do-not-merge PRs, measures each with paired, interleaved runs against a cost-matched control, keeps only the arms that clear a keep bar set in advance, records every negative, and composes the winners into a stack that is re-measured on real traffic after merge. It opens PRs and burns CI, so it runs only on `\u002Flever arms` or an explicit ask to measure ideas (\"which of these ideas actually helps?\", \"is this change worth it?\", \"try that tip I saw\", \"run arms on this\") for a CI, perf, eval, benchmark or cost hill-climb where the system can be run on demand.","将多个单假设的'试验分支（arms）'作为禁止合并的 PR 运行，通过与成本匹配的对照进行配对、交错运行来逐一测量，仅保留达到预先设定保留门槛（keep bar）的分支，记录每一个无效结果（negative），并将胜出的分支组合成一个技术栈（stack），在合并后于真实流量上重新测量。由于它会创建 PR 并大量消耗 CI 资源，因此仅在 `\u002Flever arms` 命令、或用户明确要求测量想法时才运行（例如'这些想法中哪些真正有用？''这个改动值得吗？''试试我看到的那个技巧''对这些运行 arms'），适用于系统可按需运行的 CI、性能、评估、基准测试或成本爬坡优化（hill-climb）场景。","github\u002Flever","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD6AQD82NPA8BVHR3MZKS2",292,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C2K0CN9HRHVCE0RCDD30J4","实验设计与假设验证","SCENARIO","使用场景",[31,32,33,34,35,36,37],"experiment arms","change","merge","perf","run","benchmark","ci","2026-11-10 10:12:30",false,"---\nname: experiment-arms\nuser-invocable: false\ndescription: Runs many single-hypothesis \"arms\" as do-not-merge PRs, measures each with paired, interleaved runs against a cost-matched control, keeps only the arms that clear a keep bar set in advance, records every negative, and composes the winners into a stack that is re-measured on real traffic after merge. It opens PRs and burns CI, so it runs only on `\u002Flever arms` or an explicit ask to measure ideas (\"which of these ideas actually helps?\", \"is this change worth it?\", \"try that tip I saw\", \"run arms on this\") for a CI, perf, eval, benchmark or cost hill-climb where the system can be run on demand.\n---\n\n# Experiment arms\n\nThe experiment arm method turns a pile of ideas into measured, landed improvements. Each hypothesis gets its own small, revertible PR (an **arm**) that exists only to be measured. Arms run in parallel against a shared control that does the same work, and each one is judged against a keep bar you wrote down before looking. Winners get composed into a stack and landed at whatever autonomy level the repo allows. Losers become closed `[negative result]` PRs plus a ledger row, so no one has to try them again. The number you report at the end comes from real traffic after merge, not from the estimate.\n\nStart from a Loop Card ([`templates\u002Floop-card.md`](..\u002F..\u002Ftemplates\u002Floop-card.md)). If you don't have one yet, run `find-the-loop` first.\n\n## When to use \u002F not use\n\nUse it when:\n- the metric has run-to-run noise and you can run the real system on demand (CI, a perf harness, an eval, a benchmark);\n- there are several candidate changes, or one popular tip nobody has measured on your setup;\n- the result must survive review by someone who will ask \"compared to what?\".\n\nDon't use it when:\n- one deterministic test settles the question. Write the test.\n- the expected effect is smaller than the noise floor and you can't afford the n needed to see it. Pick a different instrument or a bigger lever.\n- the system can't be run on demand. Observe production instead and say the evidence is weaker.\n\n## Roles\n\n| Role | Owns |\n|---|---|\n| Coordinator (you, or one session) | Loop Card, hypothesis table, ledger, budget, cutoff, status |\n| One worker per arm | One change, its arm PR, its measurement, a KEEP\u002FDROP report with numbers |\n| Reviewer on a different model | Critique of the hypothesis table and the final stack (see `cross-model-review`) |\n\nA coordinator that starts editing code stops coordinating. Keep it to orchestration.\n\n## Steps\n\n1. **Name the felt metric and the statistic.** Use the number a person actually experiences: PR time-to-green, not one job's duration; long frames, not render count. Report p50 and p90. Note any guard metrics (cost, failure rate, test count) that must not regress.\n2. **Baseline and critical path.** Pull 50–150 historical samples. Decompose them and name the slowest required lane, since only changes to the critical path move the felt metric. Write the result to `baseline.md`.\n3. **Measure noise first (A\u002FA).** Run the control against itself (two identical arms) for at least 3 rounds. The spread of those deltas is the noise floor. If the keep bar is inside it, raise n or change the instrument before you run a single treatment.\n4. **Write the hypothesis table.** One row per arm, with these columns: concept, expected Δ, on critical path?, risk, equivalence proof, owner. One concept per arm and no drive-by edits. Read the ledger first, and don't re-run a recorded negative without a new reason.\n5. **Pre-register the keep bar** in the Loop Card before any treatment runs. The default: the arm wins against control in **every** round, the median paired Δ beats the bar and is outside the noise floor, the 95% CI of the paired Δ excludes zero, and equivalence passes (same test identities, byte-identical outputs, same eval answer key).\n6. **Freeze a measurement base**, a branch or SHA that stays fixed for the whole round. Branch every arm from it.\n7. **Build arms in parallel, in batches.** Run as many at once as your spend tier's lane cap and the repo's `budgets.max_parallel_arms` allow, whichever is lower; queue the rest for the next batch. Each gets one worktree, one worker and one draft PR from a `lever\u002Farm-\u003Cname>` branch, titled `[measurement — do not merge] \u003Carm>` with a do-not-merge label. Push early so other work can stack on it. Don't serialize measurement while waiting for an earlier arm's result. Run everything now and decide the order afterwards.\n8. **Make the control cost-matched.** The control must do the same work as the treatment. Put the same nonce change in every arm *and* the control so that caches bust equally and path filters can't skip lanes. Reject any arm whose heavy checks were skipped. An empty commit that goes green in 2 minutes is not a control.\n9. **Run paired, interleaved rounds.** In each round, push every arm and the control together. Pilot with 3 pairs, decide with n ≥ 6 per arm (12 for small effects), and use n ≥ 10 for any headline number. Below 6 complete pairs the verdict is INCONCLUSIVE, whatever the tier. A failed or missing treatment run counts against the arm, not as a skipped pair. Run at least 2 rounds. Label small-n p90s as exploratory. For CI, use [`scripts\u002Fci_arm_driver.py`](scripts\u002Fci_arm_driver.py) (see [`ci-adapter.md`](ci-adapter.md)).\n10. **Watch the base.** If `main` (or the harness) breaks, void every round that ran on it. Merge the fix into every arm's measurement commit, since that's for measurement only, and re-run.\n11. **Decide keep or kill** against the bar from step 5, using [`scripts\u002Farm_stats.py`](scripts\u002Farm_stats.py) (`--min-pairs`, default 6; it checks reliability before speed). Write every DROP to the ledger ([`templates\u002Fledger.md`](..\u002F..\u002Ftemplates\u002Fledger.md)) with its numbers, close its PR, and retitle it `[negative result] \u003Carm>`. Re-test popular tips like any other arm: a widely shared one can lose on your hardware.\n12. **Compose the winners.** Order them by dependency, then by measured value. Run one combined confirmation round (about 5 pairs) of the full stack against control, because effects don't always add up. If interactions are unclear, report a range (\"between A and B depending on whether X and Y stack\").\n13. **Land at the configured level.** Open the real PRs, validate each one on its exact head SHA, and hand the set to `landing-plan`. Arms stay at L1. Winners land at the level resolved by [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md).\n14. **Re-measure after merge on real traffic** at +24 h and +72 h. Publish the estimate next to the realized result, and say which is which. Paired arms are the *decision* instrument; post-merge traffic is the *reporting* instrument.\n15. **Clean up.** Close every remaining arm and validation PR, file follow-ups, and feed the realized-vs-estimated error back into the next Loop Card.\n\nReport status only when something changes, in the form `metric: x → y (Δz%)`, with p50\u002Fp90, arms running\u002Fkept\u002Fdropped, budget used, and evidence level ([`templates\u002Fstatus-digest.md`](..\u002F..\u002Ftemplates\u002Fstatus-digest.md)).\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| Metric \u002F statistic | felt metric, p50 + p90 | any metric with an instrument the agent can run |\n| Keep bar | wins every round; median paired Δ ≥ bar and outside A\u002FA noise; 95% CI excludes 0; equivalence passes | absolute (e.g. ≥ 1 min on the critical path), relative (≥ X%), cost or reliability win with no regression |\n| A\u002FA rounds before treatments | 3 | 0 (only if the noise floor is already known and recent) |\n| Pairs per arm | pilot 3 → decide 6 → headline 10+ | 12+ for small effects |\n| Rounds | 2 | 3 for borderline arms |\n| Max concurrent arms | min(tier lane cap, `budgets.max_parallel_arms`), batched | hard cap 10, so shared runners aren't starved for real users |\n| API rate floor | pause below 3,000 remaining core calls | any; set a shared budget across all agents |\n| Poll interval | ≥ 4 min, query by head SHA only | longer for long jobs; never tight loops |\n| Drivers per arm set | 1 | a duplicate driver's push cancels runs |\n| Compute budget | the budget `\u002Flever` hands down; billed minutes per arm, reported (unknown runner cost says unknown, not $0) | hard cap per round |\n| Rerun policy | rerun failed jobs ≤ 2× as a person would; count reruns in the metric | 0 for pure-speed metrics on a stable fleet |\n| Broken-base policy | void the round; merge the fix into every arm | pause until the base is green |\n| Arm PRs | draft + do-not-merge label, closed at hand-off | local-only arms (no PR) for harness-only metrics |\n| Negative results | closed `[negative result]` PR + ledger row | ledger row only |\n| Merge authority for winners | repo ceiling via `docs\u002Fautonomy.md` | L2 hand-off · L3 on a recorded grant · L4 gated self-merge or enqueue |\n| Cutoff | none | wall-clock time after which no new arms start |\n| Post-merge re-measure | +24 h and +72 h | off only if the metric has no production signal |\n\n## Outputs\n\n- `baseline.md`: historical p50\u002Fp90, critical path, noise floor.\n- A hypothesis table and a ledger, with every arm, kept or dropped, and numbers.\n- One draft do-not-merge PR per arm, plus closed `[negative result]` PRs for the drops.\n- A stack of real PRs, each with a before\u002Fafter table, cost delta and risk.\n- Final report: estimated vs realized `x → y (Δz%)`, p50\u002Fp90, n, cost delta.\n\n## This skill's own feedback loop\n\n- **Estimate error:** realized post-merge Δ vs pre-merge paired Δ. If they keep disagreeing, the instrument is missing something, such as flake reruns or load.\n- **Hit rate:** kept arms \u002F total arms. A rate near 100% means the bar is too loose or you're only testing safe bets.\n- **Repeat negatives:** arms re-run without a new reason. This should be 0.\n- **Budget incidents:** rate-limit exhaustion and starved runners. This should be 0.\n\n## Failure modes it prevents\n\n- Comparing against history instead of a paired control, or against a cheap control that skipped the real work.\n- Declaring wins from n = 1, or from deltas inside the noise floor.\n- Waiting for each arm in turn when they could all run now.\n- Speed-ups that weaken the signal: fewer tests, skipped lanes, retries hiding failures.\n- Agents exhausting the shared API quota or runner pool.\n- Re-trying an idea the team already disproved.\n- Reporting a projection as a result.\n\n## Why this exists\n\n- In one CI speedup project across two repos, 79 do-not-merge experiment PRs produced 27 kept changes in about 1.5 days. Measured on real traffic after merge, p50 time-to-green fell 43% in one repo and 34% in the other.\n- The first control was an empty commit. Path filters skipped the heavy lanes, so it went green in 2.25 minutes. Controls must do the same work as treatments.\n- \"Why do we have to wait until 4pm?\" That one question turned serial measurement into parallel arms with ordering decided afterwards.\n- The project began from a viral Windows Dev Drive tip. It lost in both paired runs on those runners and broke checkout credentials. Meanwhile \"cache corruption\" turned out to be page-file exhaustion (15.2% → 0% failures), so the speed work also found reliability bugs.\n- Agents polling CI made about 45k API calls in 3 hours and took down unrelated tools. The rate floor, poll interval and arm cap are here because of that.\n","# Experiment arms\n\nThe experiment arm method turns a pile of ideas into measured, landed improvements. Each hypothesis gets its own small, revertible PR (an **arm**) that exists only to be measured. Arms run in parallel against a shared control that does the same work, and each one is judged against a keep bar you wrote down before looking. Winners get composed into a stack and landed at whatever autonomy level the repo allows. Losers become closed `[negative result]` PRs plus a ledger row, so no one has to try them again. The number you report at the end comes from real traffic after merge, not from the estimate.\n\nStart from a Loop Card ([`templates\u002Floop-card.md`](..\u002F..\u002Ftemplates\u002Floop-card.md)). If you don't have one yet, run `find-the-loop` first.\n\n## When to use \u002F not use\n\nUse it when:\n- the metric has run-to-run noise and you can run the real system on demand (CI, a perf harness, an eval, a benchmark);\n- there are several candidate changes, or one popular tip nobody has measured on your setup;\n- the result must survive review by someone who will ask \"compared to what?\".\n\nDon't use it when:\n- one deterministic test settles the question. Write the test.\n- the expected effect is smaller than the noise floor and you can't afford the n needed to see it. Pick a different instrument or a bigger lever.\n- the system can't be run on demand. Observe production instead and say the evidence is weaker.\n\n## Roles\n\n| Role | Owns |\n|---|---|\n| Coordinator (you, or one session) | Loop Card, hypothesis table, ledger, budget, cutoff, status |\n| One worker per arm | One change, its arm PR, its measurement, a KEEP\u002FDROP report with numbers |\n| Reviewer on a different model | Critique of the hypothesis table and the final stack (see `cross-model-review`) |\n\nA coordinator that starts editing code stops coordinating. Keep it to orchestration.\n\n## Steps\n\n1. **Name the felt metric and the statistic.** Use the number a person actually experiences: PR time-to-green, not one job's duration; long frames, not render count. Report p50 and p90. Note any guard metrics (cost, failure rate, test count) that must not regress.\n2. **Baseline and critical path.** Pull 50–150 historical samples. Decompose them and name the slowest required lane, since only changes to the critical path move the felt metric. Write the result to `baseline.md`.\n3. **Measure noise first (A\u002FA).** Run the control against itself (two identical arms) for at least 3 rounds. The spread of those deltas is the noise floor. If the keep bar is inside it, raise n or change the instrument before you run a single treatment.\n4. **Write the hypothesis table.** One row per arm, with these columns: concept, expected Δ, on critical path?, risk, equivalence proof, owner. One concept per arm and no drive-by edits. Read the ledger first, and don't re-run a recorded negative without a new reason.\n5. **Pre-register the keep bar** in the Loop Card before any treatment runs. The default: the arm wins against control in **every** round, the median paired Δ beats the bar and is outside the noise floor, the 95% CI of the paired Δ excludes zero, and equivalence passes (same test identities, byte-identical outputs, same eval answer key).\n6. **Freeze a measurement base**, a branch or SHA that stays fixed for the whole round. Branch every arm from it.\n7. **Build arms in parallel, in batches.** Run as many at once as your spend tier's lane cap and the repo's `budgets.max_parallel_arms` allow, whichever is lower; queue the rest for the next batch. Each gets one worktree, one worker and one draft PR from a `lever\u002Farm-\u003Cname>` branch, titled `[measurement — do not merge] \u003Carm>` with a do-not-merge label. Push early so other work can stack on it. Don't serialize measurement while waiting for an earlier arm's result. Run everything now and decide the order afterwards.\n8. **Make the control cost-matched.** The control must do the same work as the treatment. Put the same nonce change in every arm *and* the control so that caches bust equally and path filters can't skip lanes. Reject any arm whose heavy checks were skipped. An empty commit that goes green in 2 minutes is not a control.\n9. **Run paired, interleaved rounds.** In each round, push every arm and the control together. Pilot with 3 pairs, decide with n ≥ 6 per arm (12 for small effects), and use n ≥ 10 for any headline number. Below 6 complete pairs the verdict is INCONCLUSIVE, whatever the tier. A failed or missing treatment run counts against the arm, not as a skipped pair. Run at least 2 rounds. Label small-n p90s as exploratory. For CI, use [`scripts\u002Fci_arm_driver.py`](scripts\u002Fci_arm_driver.py) (see [`ci-adapter.md`](ci-adapter.md)).\n10. **Watch the base.** If `main` (or the harness) breaks, void every round that ran on it. Merge the fix into every arm's measurement commit, since that's for measurement only, and re-run.\n11. **Decide keep or kill** against the bar from step 5, using [`scripts\u002Farm_stats.py`](scripts\u002Farm_stats.py) (`--min-pairs`, default 6; it checks reliability before speed). Write every DROP to the ledger ([`templates\u002Fledger.md`](..\u002F..\u002Ftemplates\u002Fledger.md)) with its numbers, close its PR, and retitle it `[negative result] \u003Carm>`. Re-test popular tips like any other arm: a widely shared one can lose on your hardware.\n12. **Compose the winners.** Order them by dependency, then by measured value. Run one combined confirmation round (about 5 pairs) of the full stack against control, because effects don't always add up. If interactions are unclear, report a range (\"between A and B depending on whether X and Y stack\").\n13. **Land at the configured level.** Open the real PRs, validate each one on its exact head SHA, and hand the set to `landing-plan`. Arms stay at L1. Winners land at the level resolved by [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md).\n14. **Re-measure after merge on real traffic** at +24 h and +72 h. Publish the estimate next to the realized result, and say which is which. Paired arms are the *decision* instrument; post-merge traffic is the *reporting* instrument.\n15. **Clean up.** Close every remaining arm and validation PR, file follow-ups, and feed the realized-vs-estimated error back into the next Loop Card.\n\nReport status only when something changes, in the form `metric: x → y (Δz%)`, with p50\u002Fp90, arms running\u002Fkept\u002Fdropped, budget used, and evidence level ([`templates\u002Fstatus-digest.md`](..\u002F..\u002Ftemplates\u002Fstatus-digest.md)).\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| Metric \u002F statistic | felt metric, p50 + p90 | any metric with an instrument the agent can run |\n| Keep bar | wins every round; median paired Δ ≥ bar and outside A\u002FA noise; 95% CI excludes 0; equivalence passes | absolute (e.g. ≥ 1 min on the critical path), relative (≥ X%), cost or reliability win with no regression |\n| A\u002FA rounds before treatments | 3 | 0 (only if the noise floor is already known and recent) |\n| Pairs per arm | pilot 3 → decide 6 → headline 10+ | 12+ for small effects |\n| Rounds | 2 | 3 for borderline arms |\n| Max concurrent arms | min(tier lane cap, `budgets.max_parallel_arms`), batched | hard cap 10, so shared runners aren't starved for real users |\n| API rate floor | pause below 3,000 remaining core calls | any; set a shared budget across all agents |\n| Poll interval | ≥ 4 min, query by head SHA only | longer for long jobs; never tight loops |\n| Drivers per arm set | 1 | a duplicate driver's push cancels runs |\n| Compute budget | the budget `\u002Flever` hands down; billed minutes per arm, reported (unknown runner cost says unknown, not $0) | hard cap per round |\n| Rerun policy | rerun failed jobs ≤ 2× as a person would; count reruns in the metric | 0 for pure-speed metrics on a stable fleet |\n| Broken-base policy | void the round; merge the fix into every arm | pause until the base is green |\n| Arm PRs | draft + do-not-merge label, closed at hand-off | local-only arms (no PR) for harness-only metrics |\n| Negative results | closed `[negative result]` PR + ledger row | ledger row only |\n| Merge authority for winners | repo ceiling via `docs\u002Fautonomy.md` | L2 hand-off · L3 on a recorded grant · L4 gated self-merge or enqueue |\n| Cutoff | none | wall-clock time after which no new arms start |\n| Post-merge re-measure | +24 h and +72 h | off only if the metric has no production signal |\n\n## Outputs\n\n- `baseline.md`: historical p50\u002Fp90, critical path, noise floor.\n- A hypothesis table and a ledger, with every arm, kept or dropped, and numbers.\n- One draft do-not-merge PR per arm, plus closed `[negative result]` PRs for the drops.\n- A stack of real PRs, each with a before\u002Fafter table, cost delta and risk.\n- Final report: estimated vs realized `x → y (Δz%)`, p50\u002Fp90, n, cost delta.\n\n## This skill's own feedback loop\n\n- **Estimate error:** realized post-merge Δ vs pre-merge paired Δ. If they keep disagreeing, the instrument is missing something, such as flake reruns or load.\n- **Hit rate:** kept arms \u002F total arms. A rate near 100% means the bar is too loose or you're only testing safe bets.\n- **Repeat negatives:** arms re-run without a new reason. This should be 0.\n- **Budget incidents:** rate-limit exhaustion and starved runners. This should be 0.\n\n## Failure modes it prevents\n\n- Comparing against history instead of a paired control, or against a cheap control that skipped the real work.\n- Declaring wins from n = 1, or from deltas inside the noise floor.\n- Waiting for each arm in turn when they could all run now.\n- Speed-ups that weaken the signal: fewer tests, skipped lanes, retries hiding failures.\n- Agents exhausting the shared API quota or runner pool.\n- Re-trying an idea the team already disproved.\n- Reporting a projection as a result.\n\n## Why this exists\n\n- In one CI speedup project across two repos, 79 do-not-merge experiment PRs produced 27 kept changes in about 1.5 days. Measured on real traffic after merge, p50 time-to-green fell 43% in one repo and 34% in the other.\n- The first control was an empty commit. Path filters skipped the heavy lanes, so it went green in 2.25 minutes. Controls must do the same work as treatments.\n- \"Why do we have to wait until 4pm?\" That one question turned serial measurement into parallel arms with ordering decided afterwards.\n- The project began from a viral Windows Dev Drive tip. It lost in both paired runs on those runners and broke checkout credentials. Meanwhile \"cache corruption\" turned out to be page-file exhaustion (15.2% → 0% failures), so the speed work also found reliability bugs.\n- Agents polling CI made about 45k API calls in 3 hours and took down unrelated tools. The rate floor, poll interval and arm cap are here because of that.\n",{"name":5,"description":7,"user-invocable":39},"main","f859d0aa2be96981157ee0480655c84877e3cd98","skills\u002Fexperiment-arms",15,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-06 22:44:16",{"source":9,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add github\u002Flever --skill experiment-arms",{"tool":58,"command":59},"bunx","bunx skills add github\u002Flever --skill experiment-arms",{"tool":61,"command":62},"pnpm","pnpm dlx skills add github\u002Flever --skill experiment-arms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002FSKILL.md",true,[66,72,78,82],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"ci-adapter.md","REFERENCE","参考文档",7285,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002Fci-adapter.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Farm_stats.py","SCRIPT","脚本",7835,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002Fscripts\u002Farm_stats.py",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fci_arm_driver.py",17799,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002Fscripts\u002Fci_arm_driver.py",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fci_arm_metrics.py",6593,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fexperiment-arms\u002Fscripts\u002Fci_arm_metrics.py",[87,113,131,149,165,184],{"skillNo":88,"name":89,"nameZh":90,"description":91,"descriptionZh":92,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":101,"publishedAt":38},"01M6AD7862D8WH4576CB754ZQ5","steer-once","重复纠正根因修复","Turn a correction you keep repeating into a durable fix: mine your corrections, classify them, choose the cheapest layer that would have prevented them (instruction, skill, lint\u002FCI check, test, automation, or product bug report), open a PR with an evidence block, then re-measure after K days and keep, escalate or revert. Opens PRs, so it runs only on `\u002Flever steer` or an explicit ask (\"mine my corrections\", \"why do I keep telling you X\", \"didn't I give you a skill for this\"), or when prompt-mirror reports the same correction class in 3+ sessions and you say go.","将你反复重复的纠正转化为持久性修复：挖掘你的各类纠正并分类，选择能够预防这些纠正的最低成本层级（指令、技能、lint\u002FCI 检查、测试、自动化或产品 bug 报告），提交一个带证据块的 PR，然后在 K 天后重新度量，并决定保留、升级或回滚。由于会创建 PR，因此仅在 `\u002Flever steer` 或明确要求（“挖掘我的纠正”“为什么我总跟你说 X”“我不是给过你一个技能来做这个吗”），或当 prompt-mirror 在 3 个及以上会话中报告同一类纠正且你表示同意时才运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fsteer-once\u002FSKILL.md",[95,98],{"categoryNo":96,"categoryName":97,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":99,"categoryName":100,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[102,103,104,105,106,107,108,109,110,111,37,112],"steer once","go","automation","test","sessions","pr","bug report","lint","report","product","lever",{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":127,"publishedAt":38},"01M6AD767J9CB04Y0FY7JFSKJJ","run-health-review","自动化运行健康审查","Stall watchdog and automation health review. Pulls recent runs, merges, no-op rate, failures, rate-limit hits and stuck PRs; classifies each stall; proposes exactly one change or \"no change\"; and takes over orphaned work. Use when unattended delivery stalled (\"why did it stall overnight\", \"no merges in N hours\", \"it was fast the first few days, now slow\"), when an automation fails or its output drops, when rate limits or quotas are hit, or on a schedule while agents run unattended.","停滞监视器与自动化健康审查。拉取近期运行、合并、无操作率、失败、速率限制命中以及卡住的 PR；对每种停滞进行分类；只提出一项变更或“不变更”；并接管被遗弃的工作。当无人值守交付停滞（“为什么一夜之间就卡住了”“N 小时没有合并”“前几天还很快，现在变慢了”）、某个自动化失败或其产出下降、遭遇速率限制或配额用尽，或在 agent 无人值守运行期间按计划执行时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frun-health-review\u002FSKILL.md",[121,124],{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":125,"categoryName":126,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[128,35,129,104,32,130],"review","run health review","fast",{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":143,"publishedAt":38},"01M6AD746F7K4FQG99EE8CZ6DT","refactor-pipeline","大规模代码重构流水线","Runs a huge, mechanical refactor (crate or package splits, module extraction, API migrations, dead-code removal) as three independent lanes, producer, packager and shepherd, that coordinate only through git and a PR stack. It pushes branches and opens PRs, so it runs only on `\u002Flever refactor` or an explicit ask (\"split this crate\", \"break up this monolith\", \"this module is huge, cut it down\", \"migrate every caller\").","以三个独立通道——生产者（producer）、打包者（packager）和牧羊人（shepherd）——运行大规模的机械式重构（crate 或 package 拆分、模块提取、API 迁移、死代码删除），这些通道仅通过 git 和 PR 栈进行协调。它会推送分支并创建 PR，因此仅在 `\u002Flever refactor` 或明确要求（“拆分此 crate”“拆分这个单体”“这个模块太大了，把它精简一下”“迁移所有调用方”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-pipeline\u002FSKILL.md",[139,140],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":141,"categoryName":142,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[144,145,146,112,147,107,148],"refactor pipeline","extraction","code","package","git",{"skillNo":150,"name":151,"nameZh":152,"description":153,"descriptionZh":154,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":161,"publishedAt":38},"01M6AD72CGZ51VEDN1PZZPB7VB","prompt-mirror","Copilot 提示词习惯分析","Mine your own local Copilot session history and return a scorecard of how you direct agents, plus three suggestions illustrated with your own before\u002Fafter messages. It reads your private history, so it runs only on `\u002Flever mirror` or an explicit ask (\"how am I prompting?\", \"coach me\", \"mine my sessions\", \"what do I keep repeating?\", a weekly self-retro).","挖掘本地 Copilot 会话历史，返回一份关于你如何指导智能体的评分卡，并附上三条建议，用你自己的前后对比消息加以说明。由于它读取你的私有历史，因此仅在 `\u002Flever mirror` 或明确请求（“我的提示词水平如何？”、“指导我改进”、“挖掘我的会话”、“我总是在重复什么？”、每周自我复盘）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002FSKILL.md",[157,158],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":159,"categoryName":160,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7EDVFXM320A73X49K3FEZ","提示词分析与优化",[162,106,163,164,112],"prompt mirror","copilot","messages",{"skillNo":166,"name":167,"nameZh":168,"description":169,"descriptionZh":170,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":179,"publishedAt":38},"01M6AD70V6MPP4EE686C6TR4MG","progress-contract","长时任务进度契约跟踪","Pushes progress on long-running or delegated work so the human never has to poll. It publishes milestones with ETAs and the evidence each needs, sends reports only when something meaningful changed, labels every claim with an evidence level, logs ETA accuracy, watches time since last merge, and audits \"done\" against evidence before declaring it. Use for any delegated, multi-hour or overnight run, when a brief sets a report contract, or when the user asks \"status?\", \"ETA?\", \"where are we?\", \"what happened overnight?\", \"hour by hour\" or \"are you done?\".","推动长时间运行或委派的任务进展，让人类无需轮询。它会发布带有 ETA 及各自所需证据的里程碑，仅在发生重大变化时发送报告，为每项声明标注证据等级，记录 ETA 准确性，监控距上次合并的时间，并在宣布“完成”之前依据证据对“完成”状态进行审计。适用于任何委派的、耗时数小时或通宵运行的任务，当任务简报设定了报告契约时，或当用户询问“状态如何？”、“预计何时完成？”、“我们进行到哪了？”、“昨晚发生了什么？”、“逐小时汇报”或“你完成了吗？”时。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprogress-contract\u002FSKILL.md",[173,176],{"categoryNo":174,"categoryName":175,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",{"categoryNo":177,"categoryName":178,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6Y8SPQXYX4HP4KTNCEXME","项目进度跟踪与状态报告",[180,35,33,181,110,182,183],"progress contract","status","logs","brief",{"skillNo":185,"name":186,"nameZh":187,"description":188,"descriptionZh":189,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":190,"categories":191,"keywords":196,"publishedAt":38},"01M6AD6YMC170PX6A5VWDE4T2B","pr-shepherd","PR 落地合并驱动","Drives an open pull request to landed through an event-driven loop. On each wake it does one batched read, fixes root causes of red required checks, dispositions every review thread, and lands at the level set by the autonomy dial. It pushes and can merge, so it runs only on `\u002Flever shepherd`, a hand-off from a lever coordinator, a PR labeled for shepherding, or an explicit ask (\"monitor CI until green\", \"push fixes until green\", \"resolve the review threads\", \"merge when green\", \"babysit this PR\", \"shepherd","通过事件驱动循环推动开放的拉取请求直至落地。每次唤醒时执行一次批量读取，修复红色必填检查的根本原因，处理每一条审查讨论线程，并按照自主性拨盘设定的级别执行落地。由于它会推送代码并可能执行合并，因此仅在 `\u002Flever shepherd`、来自 lever 协调器的移交、被标记为 shepherding 的 PR，或明确请求（“监控 CI 直至通过”、“推送修复直到通过”、“解决审查讨论线程”、“通过即合并”、“照看这个 PR”、“shepherd”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fpr-shepherd\u002FSKILL.md",[192,193],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":194,"categoryName":195,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[107,197,33,198,199,200,201,37,202,112,128],"pr shepherd","pull request","monitor","pull","push","autonomy dial"]