Command Palette

Search for a command to run...

Назад к скиллам
скилл № 92644

Climb

Keep-or-revert loop on a frozen baseline harness in a worktree: one change and commit at a time, re-measuring both arms by a pre-written rule logged outside…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Climb в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Climb

Arguments. [<goal-slug>]. e.g. /performance:climb site-build-template-parses

Purpose

Answers "which of these changes actually moved the number, and how far can it go?"

Measure one change at a time: hypothesis, change, commit, measure both arms, apply the rule, keep or revert, log, until the goal is met. Keep every judgment out of reach of the attempt being judged: the rule is written first, the harness is frozen, and the baseline is re-measured beside each attempt.

Read ${CLAUDE_PLUGIN_ROOT}/reference/harness-integrity.md before the first attempt.

Inputs, or stop

  1. A goal from /performance:goal with its floor, its Realistic target and min_attempts. A goal without min_attempts goes back to /performance:goal; never pick one here, since goal is human-gated.
  2. A harness /performance:snapshot froze: the command, the commit it was frozen at, and its discrimination result. Send the run back to /performance:snapshot baseline when no harness is frozen, or when its output carries neither tally. Each harness run must print three numbers: the goal's counter, a tally of failures and a tally of finished work units.
  3. A clean checkout. git status --porcelain in your checkout prints nothing. Refuse otherwise and name the files: the loop starts from a commit, and uncommitted work is not in it.
  4. Optional: a holdout harness /performance:snapshot froze, a second command that prints the same three numbers on inputs the main harness does not use. It needs its own Frozen: line in the baseline report with discriminate: exit 0, worded like item 2; send the run back to /performance:snapshot baseline when the line is missing. Absent means off: the run behaves exactly as it does without this item, and nothing below that mentions the holdout applies.

Set up, before the first attempt

  1. Memory slice. Use <memory_dir>/<topic-slug>/climb/<goal-slug>/ in your checkout (default <memory_dir> is .work/), by absolute path: the loop runs in another worktree, and the log must outlive it. Done when the directory exists.

  2. Keep rule. Write keep-rule.json there with exactly three keys: counter (the goal's counter, by name), direction (lower or higher) and gain_floor (the change in the counter that counts as a gain; the host's measured noise for a duration, 0 for a deterministic count). Show it to the person when one is present. Never edit it during the run: once an attempt has a number, any change to the file would tailor the rule to that number.

  3. Two worktrees, under the worktree root, never inside your checkout. The root is what git -C <checkout> config --get-all --type=path worktreeroot.path | tail -n 1 prints, never scoping the read without --includes (the source-control plugin's worktree-root-convention.md reference owns the key). Read it only after git -C <checkout> rev-parse --git-dir succeeds; when that gate fails, stop and report it (dubious ownership needs a safe.directory entry, or the checkout is not a repository). With the key unset, the root is the system temp directory. A value that is not an absolute path: stop and report it, since what it names depends on the directory it is read from.

    • Outside every repository. Probe <root>, or its nearest existing ancestor when <root> does not exist yet, with GIT_DIR and GIT_WORK_TREE unset: git -C <probe> rev-parse --git-dir. When it succeeds, the root sits inside a repository, which the containment hook blocks: stop and report it. Probing a missing <root> itself would fail and pass every root.
    • No earlier run's branch. When git -C <checkout> rev-parse --verify --quiet refs/heads/climb/<goal-slug> succeeds, stop and ask, since the branch may hold an earlier run. Check this before either worktree add, so a stop leaves nothing half made.
    • Fresh paths. Create <root> with mkdir -p when missing, then make a directory no other run shares, mktemp -d <root>/<repo>-climb-<goal-slug>.XXXXXX, <repo> being your checkout's directory name, and take its real path with pwd -P in it: git records real paths, and Finish's worktree remove finds a deleted directory only by the exact recorded path. <climb-path> is <that directory>/climb and <baseline-path> is <that directory>/baseline; neither exists yet. Write both paths in worktrees.txt in the slice, one per line: Finish removes these two and no other.

    Start both at your checkout's HEAD sha, <start-sha>:

    • climb's own: git -C <checkout> worktree add -b climb/<goal-slug> <climb-path> <start-sha>.
    • the baseline arm: git -C <checkout> worktree add --detach <baseline-path> <start-sha>. It always sits at the last kept commit.

    When the baseline add fails, first undo the clim

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • scripts/climb_log.py
  • scripts/test_climb_log.py

FAQ

Что делает скилл Climb?

Keep-or-revert loop on a frozen baseline harness in a worktree: one change and commit at a time, re-measuring both arms by a pre-written rule logged outside the tree. Use when: 'hill-climb this benchmark', 'run an optimization loop', 'keep trying changes until this counter drops'. Not for an LLM app's eval-set score: /claude-api hillclimb.

Как установить скилл Climb?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Climb запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Climb с