agentleFS
karanmrnkaranmrn/kstack/skills/hill-climb/SKILL.md

hill-climb

Skill11 starsChanged 25 days agoMITView on GitHub

Use when the user asks for hill climb or an iterative four-model review against a measurable target.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use worktree-isolation.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • 0SxDSkill

    worktree-isolation

    Create and manage git worktrees for parallel coding agent isolation. Invoke when two independent coding tasks need to run simultaneously (max 2).

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 24 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 24

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not start this skill if the user's instructions prohibit delegation.

    line 11
  2. Distinctive:

    Use the user's target and maximum round count when supplied, otherwise choose and report them.

    line 19
  3. Distinctive:

    Ensure both round limits are positive integers and the minimum does not exceed the maximum.

    line 20
  4. Distinctive:

    Check that the measurement distinguishes relevant workloads and records errors and work completed.

    line 21
  5. Distinctive:

    Keep a decision log outside tracked files, with hypothesis, change, before, after, delta, gate, and verdict.

    line 23
  6. Distinctive:

    If the measurement cannot reproduce the problem or distinguish relevant cases, repair it before freezing it.

    line 25
  7. Distinctive:

    If no meaningful measurement or regression gate can be established, report the blocker instead of claiming improvement.

    line 26
  8. Distinctive:

    Use repeated samples when the measurement is noisy and state the noise threshold.

    line 27
  9. Distinctive:

    Do not change the frozen measure or lower the target to manufacture success.

    line 28
  10. Distinctive:

    Ask for independent findings with severity, evidence, and a score out of 10.

    line 42
  11. Distinctive:

    Ask reviewers to flag uncertainty and avoid recommendations outside the agreed scope.

    line 43
  12. Distinctive:

    Do not share other reviewers' findings until the round is complete.

    line 44
  13. Distinctive:

    Do not edit the checkout until every reviewer has finished.

    line 45
  14. Distinctive:

    Check that each response came from the requested model when the harness exposes that evidence.

    line 64
  15. Very specific:

    If a model is unavailable, fails, or returns no usable review, report it and stop the round.

    line 65
  16. Very specific:

    Never substitute another model or invent a score.

    line 66
  17. Very specific:

    If a reviewer omits its score, record no score and treat the round as incomplete.

    line 67
  18. Distinctive:

    Verify each finding against the code and relevant behaviour.

    line 71
  19. Distinctive:

    Keep a change only when it improves the metric beyond noise and the gate passes.

    line 75
  20. Distinctive:

    Never discard pre-existing or unrelated work.

    line 78
  21. Distinctive:

    After the fixes, start a fresh review round on the updated checkout.

    line 81
  22. Distinctive:

    No new verified medium-or-higher findings remain.

    line 88
  23. Distinctive:

    All four scores in the latest completed round meet the target score.

    line 89
  24. Distinctive:

    If a plateau occurs, inspect the source again and try a different class of hypothesis before stopping.

    line 92
  25. Distinctive:

    Stop when the run succeeds, the maximum round count is reached, or only marginal ideas remain.

    line 93
  26. Distinctive:

    Do not expand scope merely to increase scores.

    line 95
  27. Distinctive:

    Do not claim consensus or success when a reviewer is missing or the predicate is unmet.

    line 96
  28. Very specific:

    If a pull request exists, add a Council review section to its description, subject to the user's publishing authority.

    line 103

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hill climb

Improve one scoped outcome through measured experiments and independent reviews. The driver owns the scope, measurements, decisions, and edits. Reviewers are read-only and must not edit the checkout. Do not start this skill if the user's instructions prohibit delegation.

Set the experiment

  1. Trace the relevant behaviour and choose a realistic workload.
  2. Define one measurable metric, its direction, a target, and a repeatable command.
  3. Choose a regression gate and a maximum round count before the first round.
  4. Agree the minimum completed round count with the user before experimentation. Propose 2 when the user supplies no minimum.
  5. Use the user's target and maximum round count when supplied, otherwise choose and report them.
  6. Ensure both round limits are positive integers and the minimum does not exceed the maximum.
  7. Check that the measurement distinguishes relevant workloads and records errors and work completed.
  8. Freeze the measurement command and workload, then record the baseline and a passing regression gate.
  9. Keep a decision log outside tracked files, with hypothesis, change, before, after, delta, gate, and verdict.

If the measurement cannot reproduce the problem or distinguish relevant cases, repair it before freezing it. If no meaningful measurement or regression gate can be established, report the blocker instead of claiming improvement. Use repeated samples when the measurement is noisy and state the noise threshold. Do not change the frozen measure or lower the target to manufacture success.

Review round

Launch exactly these four independent reviewers in parallel at high effort on the same unchanged checkout:

ReviewerHarnessModel
GPT Sol 6.2Codexgpt-6.2-sol
GPT Astra 6.2Codexgpt-6.2-astra
Claude Fable 5.2Claude Codeclaude-fable-5-2
Claude Opus 5.5Claude Codeclaude-opus-5-5

Give each reviewer the same request, scope, relevant context, and current diff. Ask for independent findings with severity, evidence, and a score out of 10. Ask reviewers to flag uncertainty and avoid recommendations outside the agreed scope. Do not share other reviewers' findings until the round is complete. Do not edit the checkout until every reviewer has finished.

From Claude Code, Codex, or a shell, start these commands concurrently from the target checkout. Set PROMPT to the complete review request. Set REVIEW_OUTPUT_DIR to the absolute path of an existing writable directory outside the checkout. The Claude commands restrict built-in tools to read-only inspection. The Codex sandbox restricts filesystem writes.

codex exec -m gpt-6.2-sol -c 'model_reasoning_effort="high"' -s read-only "$PROMPT" > "$REVIEW_OUTPUT_DIR/sol.out" & sol_pid=$!
codex exec -m gpt-6.2-astra -c 'model_reasoning_effort="high"' -s read-only "$PROMPT" > "$REVIEW_OUTPUT_DIR/astra.out" & astra_pid=$!
claude -p --model claude-fable-5-2 --effort high --tools 'Read,Grep,Glob' -- "$PROMPT" > "$REVIEW_OUTPUT_DIR/fable.out" & fable_pid=$!
claude -p --model claude-opus-5-5 --effort high --tools 'Read,Grep,Glob' -- "$PROMPT" > "$REVIEW_OUTPUT_DIR/opus.out" & opus_pid=$!
for pid in "$sol_pid" "$astra_pid" "$fable_pid" "$opus_pid"; do
  if wait "$pid"; then printf "%s: success\n" "$pid"; else printf "%s: failed\n" "$pid"; fi
done

Capture each process exit status individually, along with its output, when running these commands. Check that each response came from the requested model when the harness exposes that evidence. If a model is unavailable, fails, or returns no usable review, report it and stop the round. Never substitute another model or invent a score. If a reviewer omits its score, record no score and treat the round as incomplete.

Improve and repeat

Verify each finding against the code and relevant behaviour. Record rejected findings and their reasons. Fix verified findings within scope, one hypothesis per iteration. Measure each change with the frozen command and run the regression gate. Keep a change only when it improves the metric beyond noise and the gate passes. A correctness fix may also be kept when the metric holds and the gate passes. Otherwise revert only that iteration's change and record the result. Never discard pre-existing or unrelated work. Record every iteration in the decision log and do not stack unmeasured changes.

After the fixes, start a fresh review round on the updated checkout. Record each reviewer's score and the count of new findings by severity for every round. Count a review round as completed only when all four reviewers return usable reviews with scores. A run succeeds only when all these conditions hold:

  • The completed review round count reaches the agreed minimum.
  • The metric meets its target.
  • No new verified medium-or-higher findings remain.
  • All four scores in the latest completed round meet the target score.

Define the target score before the first round, defaulting to 9/10 when the user gives none. If a plateau occurs, inspect the source again and try a different class of hypothesis before stopping. Stop when the run succeeds, the maximum round count is reached, or only marginal ideas remain. Report an incomplete result and each unmet condition if the run stops before the success predicate is met. Do not expand scope merely to increase scores. Do not claim consensus or success when a reviewer is missing or the predicate is unmet.

Report

Report the frozen metric, target, baseline, final result, regression gate, decision log, and kept and reverted iterations. Include outstanding findings, disagreements, missing reviewers, and the reason for stopping. Report the agreed minimum, the maximum round count, and the completed review round count. If a pull request exists, add a Council review section to its description, subject to the user's publishing authority. Otherwise include the same table in the final report. Include each round's new finding counts by severity alongside the scores.

DelegateRound 1Round 2
GPT Sol 6.2score/10score/10
GPT Astra 6.2score/10score/10
Claude Fable 5.2score/10score/10
Claude Opus 5.5score/10score/10

This skill adapts the review structure from t3dotgg/tstack's council and the experiment loop from poteto's hillclimb playbook.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.