effort-calibration
Use when choosing a reasoning effort level for an LLM coding agent, when a task seems to be over-thinking or spending too many tokens, when deciding whether to raise effort, when writing task specifications that substitute for reasoning budget, or when a simple task is being treated as a codebase audit. Covers overthinking, compute-optimal test-time scaling, prompt-induced waste, and difficulty-matched effort.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- effort-calibration
- triggers
- [ "user", "model" ]
- description
- Use when choosing a reasoning effort level for an LLM coding agent, when a task seems to be over-thinking or spending too many tokens, when deciding whether to raise effort, when writing task specifications that substitute for reasoning budget, or when a simple task is being treated as a codebase audit. Covers overthinking, compute-optimal test-time scaling, prompt-induced waste, and difficulty-matched effort.
03 SKILL.md 正文
Effort Calibration
Reasoning effort is a scarce resource to match to task difficulty, not a dial to maximize. Overthinking spends tokens without accuracy gain; under-thinking fails hard tasks. In this bundle, effort maps to the SWE-2 variants in data/bundle-models.json (swe-2-medium / swe-2-high / swe-2-max). The default is the lowest tier that fits the task shape, raised only when verification fails or the task is genuinely hard.
Decision framework: effort level by task type
| Level | model_uid | When | Evidence |
|---|---|---|---|
| Medium | swe-2-medium |
Simple tasks, spot fixes, isolated scripts, one-line edits, mechanical refactors. Spec is clear; success is verifiable by a single test/build. | E3 matches 100% success at 85% cost cut on simple edits (arXiv:2607.13034). Overthinking: 1,953% more tokens on "2+3=?" with no accuracy gain (arXiv:2412.21187). |
| High | swe-2-high |
Tasks spanning multiple files with clear dependencies, bugs needing reproduction, decisions with several constraints. Default for general work. | Compute-optimal allocates per-prompt by difficulty, 4× more efficient than uniform best-of-N (arXiv:2408.03314). |
| Max | swe-2-max |
Open-ended tasks, global refactors, long-horizon coding, architecture decisions, novel debugging, tasks that failed at lower effort. | Higher effort lifted first-try perfect runs 28%→89% on a hard real-time app (arXiv:2607.02436). Use when verification fails at lower tiers. |
Rule of thumb: start at Medium, raise one level only when (a) verification fails, or (b) the task matches the Max description. Never start at Max for a task you haven't tried at Medium.
When to use this skill
- Choosing a reasoning effort level for a coding agent task.
- Agent is spending many tokens on a task that seems simple.
- Deciding whether to raise effort or improve the task specification.
- Writing task specs that reduce the reasoning budget needed.
- Agent is generating multiple solution branches when only one is the deliverable.
- Agent is re-verifying repeatedly without new information.
When NOT to use
- Within-session context window management - use
context-window-hygieneinstead. - Deciding whether to use cross-session memory - use
memory-hygiene. - Choosing a model family - this skill assumes SWE-2 is fixed; only the effort level varies.
Rules
- Improve the spec before raising effort. Information quality substitutes for reasoning budget. A clearer spec at Medium effort beats a vague spec at Max effort (arXiv:2608.01347: bounded-efficiency instruction preserves diagnosis+validation while avoiding waste).
- Start minimal, expand on failure. E3 (Estimate, Execute, Expand): estimate the task's needs, execute the minimum viable path, expand scope only when verification fails (arXiv:2607.13034). This is the academic form of "start low, crank up."
- Never request "multiple approaches" when only one is the deliverable. Asking the agent to develop and compare approaches multiplies reasoning 2.4-7.4× without improving success - it produces ~3 elaborated-but-discarded branches and exactly 1 implemented approach (arXiv:2608.01347).
- Replace certainty language with an executable stop rule. "Make sure it's correct" / "be thorough" creates verification loops costing up to 18× the clean-run median with no success gradient (arXiv:2608.01347). Instead: "run
npm testand stop when green" - a verifiable condition, not an open-ended injunction. - Raise effort when verification fails OR the task is genuinely hard. Effort helps on hard tasks: a higher level lifted perfect runs 28%→89% and cut corrective prompts ~5× (arXiv:2607.02436). The signal to raise is a failed verification at the current level, not a feeling.
- Compute-optimal is difficulty-dependent, not maximal. Uniform max effort is 4× less efficient than difficulty-matched allocation (arXiv:2408.03314). The optimal budget for an easy prompt is small; for a hard prompt, large.
- Reasoning is native, not prompted. SWE-2 plans and reasons without chain-of-thought instructions. Write specs that state WHAT plus acceptance criteria; don't prescribe HOW the model should think. The goal is right-sized effort, not scripted reasoning.
Parallelism and size guards
- Parallelism: limit concurrent subagents to 1-3. If a task suggests more than 3, alert the user and ask for approval. Each parallel agent multiplies token cost and context pressure.
- PR size: target ~300 lines; if the change exceeds ~500 lines, split it into smaller tickets before implementing. Larger diffs increase review cost and regression risk.
- Context guard: use
tokens-limitor equivalent when available; if the active context approaches the threshold, stop,clearorcompact, and restart with a leaner context.
Anti-patterns
- Max effort by default. "Crank it to max, the charts say it's better." Benchmark charts use static tasks; in practice, improving the spec at lower effort beats max effort on a vague spec (arXiv:2608.01347, arXiv:2408.03314).
- Branch tournaments. Requesting "develop several approaches, compare trade-offs" when the deliverable is a single patch. Creates 2.4-7.4× reasoning with no success gain (arXiv:2608.01347).
- Certainty loops. "Be absolutely sure this is correct" with no stop rule. Produces repeated tests, extra turns, 18× cost, no success gradient (arXiv:2608.01347).
- Maximum-context-first. Re-reading files and dependencies already seen, turning a one-line edit into a codebase audit. E3 cuts this: 92% fewer inspected files at equal success (arXiv:2607.13034).
- Overthinking simple problems. o1-like models generate 13 solutions for "2+3=?" - 1,953% more tokens, no accuracy gain (arXiv:2412.21187).
- Universal minimum. The opposite extreme. Hard tasks need Max effort (28%→89% perfect runs, arXiv:2607.02436). The prescription is difficulty-matched, not minimum-universal.
- Raising effort to compensate for a bad spec. A vague spec at Max effort costs more and succeeds less than a clear spec at Medium. Fix the spec first (Rule 1).
Academic basis
- Overthinking is a measured phenomenon. Chen et al. 2024, "Do NOT Think That Much for 2+3=?" (arXiv:2412.21187): o1-like models spend 1,953% more tokens than conventional LLMs on "what is 2 plus 3?", generating up to 13 redundant solutions that "contribute minimally to accuracy and diversity." Streamlining reduces token output 48.6% on MATH500 while maintaining accuracy. First comprehensive study of overthinking in long-reasoning models.
- Compute-optimal test-time scaling. Snell et al. 2024, "Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters" (arXiv:2408.03314, ICLR 2025): the effectiveness of test-time compute "critically varies depending on the difficulty of the prompt." A compute-optimal strategy - allocating budget adaptively per prompt - improves efficiency by more than 4× over best-of-N uniform allocation. On problems where a smaller base model has non-trivial success, test-time compute outperforms a 14× larger model.
- Prompt wording allocates agent work. Weinberger & Hozez 2026, "Same Task, Different Work: Prompt-Induced Waste in Coding Agents" (arXiv:2608.01347): across 4,644 runs, 24 tasks, 6 models, 2 harnesses - asking for "multiple approaches" multiplies reasoning 2.4-7.4× without improving success (3 elaborated-but-discarded branches, 1 implemented approach). "Max certainty" language creates verification loops costing 18× the clean-run median, 2.5× tool calls, 3× wall-clock, with no success gradient. A "bounded-efficiency" instruction preserves diagnosis and validation while avoiding both waste mechanisms. "Prompt engineering for coding agents is not merely wording optimization: it is the design of what work the agent is asked to perform, how that work propagates through tools, and when it should stop."
- Task-aware minimum-sufficient execution. Yin & Feng 2026, "Do AI Agents Know When a Task Is Simple?" (arXiv:2607.13034): agents default to a "maximum-context-first" strategy, "turning a one-line edit into a small code-base audit." E3 (Estimate, Execute, Expand) formalizes minimum-sufficient execution and the Agent Cognitive Redundancy Ratio. On MSE-Bench (121 edits), E3 matches the strongest baseline's 100% success while cutting cost 85%, tokens 91%, inspected files 92%. Gains survive held-out instruction wording. A live gpt-4o harness corroborates: over-reading is "milder but real," E3 is "the leanest and fastest policy at comparable task success."
- Effort helps on hard tasks (counterpoint). Mehta 2026, "Reasoning effort, not tool access, buys first-try reliability in agentic code generation" (arXiv:2607.02436): 90 independent runs building the same real-time retrospective board. Raising reasoning effort from High to xHigh lifted first-try perfect runs from 28% to 89% and cut corrective prompts ~5×, for 9-29% more cost. A testing tool raised cost 42-68% without improving score. "Most first run failures came from weak reasoning, which a stronger model or more effort prevents, not from visible flaws a checking tool would catch." The lesson: match the fix to the failure - weak reasoning needs more effort, not more tools.
Source
Distilled from AI-coding workflow guidance on effort calibration. Claims verified against primary sources - the thesis (lower effort = better bang for buck; overthinking wastes tokens; improve the spec instead of raising effort; start low and crank up) is supported by arXiv:2412.21187, arXiv:2408.03314, arXiv:2608.01347, and arXiv:2607.13034. The universal-minimum framing is refined by arXiv:2607.02436 (effort helps on hard tasks). The correct prescription is "difficulty-matched effort, improve spec before raising budget, never start at max."
04 同仓库更多 Skills
montador-de-ideias
Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.
git-github-adaptive-engineering
Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.
adaptive-agenda-calendar-routine-engine
Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.
demo
Use when demonstrating a skill in a fixture project.
duplicate-skill
Use when testing duplicate skill name detection.
duplicate-skill
Use when testing duplicate skill name detection.