Logo Hill Climb

Hill Climb

Cộng đồng
lennoxsaint
hill-climb

Turn real data into a locked answer key, then climb toward a measured target with fresh agent sessions until the number and two outside judges say it is done. Use for long, ambitious work that must reach a provable quality bar - "hill climb this", "build an eval and climb it", "make the harness/app/agent hit X%", "use the logs as a benchmark", "keep going until it passes", or any big job where vibes are not enough. For quick polish of one draft use `loop` instead.

Tổng quan

Nhà phát hànhlennoxsaint
Kho mãSkills
Tên kỹ nănghill-climb
Sao
39
Bản fork
0
Tệp đi kèm
13
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 13 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được lennoxsaint công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hill Climb trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/lennoxsaint/Skills/tree/main/hill-climb
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lennoxsaint/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/hill-climb .claude/skills/hill-climb
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hill Climb trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hill Climb ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hill Climb với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Hill climb

A hill is one goal with a locked answer key (yes/no test cases built from real data) and a runner that climbs it: baseline, one change, score, keep or undo, repeat, all on disk. The verifier sets the ceiling, so most of the craft is the answer key; the climb itself is a script.

Two stages decide done:

  1. Tests: the visible-test score reaches the target, the hidden tests stay within 5 points, and no must-pass case fails. When the hidden check is what blocks, a change that holds the visible score and raises the hidden score is kept.
  2. Council: two judges from different labs (GPT-6.1 Sol and a fresh Opus by default) score the result per rubric category, 1-10 in half points, and say whether they would ship it; the climb continues on their critiques until every judge gives the bar (default 9) in every category and would ship. The judges are blind: they never see the target, the bar or the test score. For visual work they score rendered screens next to frozen references (the best products you know) and the starting version, shuffled under letters, and the work must lead every reference. Each judge scores those screens in a look call that sees nothing else, then gives its ship vote in a separate review call with the code and diff. A stage-2 change is kept only when nothing slips (the lowest, the total, any ship vote) and something rises; a judge whose score rose is asked a second time before it counts.

Scripts live in scripts/ next to this file (call it $HC). Every command prints JSON. State lives in the hill folder (default ~/.hill-climb/hills/<name>); the climber edits a separate work folder on its own hill/<name> git branch.

Steps

1. Frame the hill

Write down, in one sentence each: the goal, the files the climber may change (climbable), what the score measures, and a stretch target number. Then create the hill:

bash
node $HC/hill.mjs init ~/.hill-climb/hills/<name> --name <name> --repo <git repo> [--base <ref>]   # or --scratch

Fill hill.json (every field: references/hill-json.md). Read references/safety.md when the work folder is a real product repo. For the council, draft a council_rubric of 3-6 categories from the owner's own critiques (for UI: typography, hierarchy, colour and contrast, consistency, iconography), and for anything visual a council_render command that screenshots the work (headless, never the owner's screen). Done when goal, climbable, metric.name and metric.target hold real values and no TODO remains.

2. Mine the raw data

Go to the data that already exists: logs, transcripts, tool-call history, past outputs, owner corrections, support tickets, analytics, the owner's own edits to drafts. Recipes per domain and the transcript miner (scripts/mine_tools.mjs) are in references/answer-key.md. Done when you hold at least 20 real examples, each with its source path or URL, and you can say in one line what "good" and "bad" look like in this data.

3. Pick exemplars

Choose 3-10 real outputs that the data (or the owner) already marks good or bad: a post the owner rewrote, a tool call that failed, a reply that won. Save each to exemplars/<id>.json with its input, the real output, its label (pass/fail) and the checks that should tell them apart. Done when at least 3 exemplars exist and both labels are present.

4. Write the answer key

Turn what separates good from bad into yes/no checks: code checks first (exact values, regex, length, a command), then binary LLM judge checks for what code cannot see. Never use 1-10 scales inside a case. Check types and the case format: references/answer-key.md. Done when every exemplar's checks pass the good ones and fail the bad ones when run (step 6 measures this).

5. Grow the cases

Turn each real example into a case in cases/pool/, then synthesise more around the edges the real ones reveal until there are about 50 or more. Mark each case origin: real|synthetic; add negative cases (the right move is to do nothing or refuse) and mark the few cases that must never fail as must_pass. Write scorer/produce.mjs: given {id, input} on stdin it runs the current work folder offline and prints the output under test (env, sandbox and a worked recipe: references/answer-key.md). For a render hill, put 1-3 references in references/<id>/ (screenshots of the best products you know, plus manifest.json) and run node $HC/hill.mjs council-test <hill> once: it asks the judges about the current commit and records nothing, so you can see the rubric and references work before freezing. Score the pool twice before splitting (node $HC/hill.mjs score <hill> --split pool). The gap between the two runs is the noise: set accept_margin above it, or turn on confirm_gains or repeats, and set the target and a stretch number from the baseline. Done when the pool has 30+ cases including real, negative and must-pass ones, node $HC/hill.mjs try <hill> --case <id> runs one case end to end inside the sandbox, and you know the baseline and its noise.

6. Split, validate, freeze

bash
node $HC/hill.mjs split <hill>            # ~30% hidden, stratified; --reset to redo it
node $HC/hill.mjs validate <hill> --run   # structure + exemplar discrimination
node $HC/hill.mjs freeze <hill>           # locks the key with hashes

Fix every problem validate reports and rerun it. Discrimination below 0.8 means the answer key cannot yet tell good from bad: fix the checks, never the exemplar labels (validate --run lists each misclassified exemplar's failed checks; judge-test tries a judge question alone). Done when freeze prints status: ok.

7. The owner checkpoint

Commit the starting files on the hill branch first: the baseline needs a clean folder.

bash
node $HC/hill.mjs brief <hill>   # measures the baseline, writes checkpoint.html

Show checkpoint.html to the owner (in Claude Code, publish it as a private Artifact; elsewhere, send the file). It is the one-page answer key: goal, today's score, target, sample tests, how done is decided (with the rubric, the references and today's render), stop rules and scope. This is the only stop for the owner; after it the climb is hands-off. When they say go:

bash
node $HC/hill.mjs approve <hill> --by <owner name>

Done when approve prints status: ok. Changing the key after this means freeze again and a new approval.

8. Climb

Start the runner as one long background process and let it run; it wakes nobody until it stops.

bash
node $HC/climb.mjs <hill> [--deadline 2026-11-03T09:00:00+08:00] [--max-attempts N]

Each attempt is a fresh agent session (claude -p or codex exec) that sees the goal, the score, failing visible tests, its own past attempts and notes.md, makes ONE change, and stops. The runner scores it, keeps it as a commit or saves it as a refs/hill/<name>/rejected/<n> ref and puts the folder back, and writes state.json, a hash-chained ledger.jsonl and board.html (the live scoreboard). Producers, checks, judges and climbers (Claude or Codex) run sandboxed away from the hill folder, with writes denied outside their own folders (references/safety.md). Each outcome is written to runs/<n>/decision.json before git is touched, so a killed run resumes with the same command, records every outcome exactly once and loses nothing.

It prints one JSON line and exits with a status:

statusexitmeaning and next move
done0stage 1 and the council passed: land it
stuck, deadline, max_attempts, budget, stopped0report the best and propose the next move; deadline also covers scoring or a council review cut off by the deadline; budget means stop.budget_usd was spent (runs of unknown cost are not counted); stopped also covers --once, --recover-only and a signal (exit 130)
stage1_only0stage 1 met under --no-council: NOT done; run again without the flag for the judges
saturated0every visible test passes but the hidden score lags: add cases that cover the hidden failures, re-freeze
blocked2needs the owner: wrong branch, foreign changes, git files changed (--accept-git-config), touched ignored files, not approved
tampered2the answer key changed during an attempt: find out why before anything else
busy3another runner holds this hill
error1climber, judge or scorer failing three times in a row, or a crash: read stop_reason and runs/<n>/
In stage 2 the judges run in council list order (cheapest first): after a full-panel first round, a later judge is asked only when the earlier ones pass. The board shows before, after and the references side by side, every round's category scores and leads, drift flags, and the spend. While it runs, republish board.html at milestones (first keep, stage 2 reached, stop). Add a learning to notes.md when you spot one; the next attempt reads it (the judges never do).
Done when the runner exits and report.md exists.

9. Land it

Read report.md and the stop reason, and run node $HC/hill.mjs verify <hill> (ledger chain and lock intact). On done, the hill/<name> branch holds the result: open a PR or hand it over within the authority in hill.json. On stuck or deadline, report the best score, the top failing tests and the judges' last critiques, and propose the next move (better answer key, a bigger change, more time). To go further after done, raise the bar: node $HC/hill.mjs raise <hill> --bar 9.5 [--focus "what the owner cares about now"] saves the result as branch hill/<name>-level-9, re-freezes with the new bar, and needs brief + approve again. Steer taste here, through the bar and the focus line, never by editing the judges' inputs. Done when the owner has the final board, the numbers (baseline -> best -> target, hidden score, judge scores) and the PR or next move.

Commands

hill.mjs status|score|try|discriminate|judge-test|council-test|raise|verify|board <hill>: read the current state (including earlier generations and the spend), rescore a split (--split optimise|holdout|both), run one case end to end (--case <id>), recheck the exemplars, try one judge question, ask the council once about a commit without recording it (--sha <ref>), raise the bar after done, verify the chain and lock, rebuild the board. climb.mjs <hill> --recover-only cleans up after a killed run without climbing; --once runs one attempt; --no-council climbs stage 1 only and stops as stage1_only. node $HC/selftest.mjs [--only A,B] proves the runner mechanics with scripted fake agents (no model calls).

Limits

  • The hidden tests sit on the same disk. The sandbox hides the hill folder from every climber, producer, check and judge; prompts never show them; diffs that paste test text are rejected; the key is hashed; and a hidden score more than 5 points behind the visible one blocks stage 1. With "sandbox": "off" none of that hiding applies. Other limits: references/safety.md.
  • A score is only as good as its answer key. When the climb reaches the target but the owner still dislikes the result, the fix is new cases from that dislike and a new freeze, not more climbing.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Hill Climb làm được gì?

Turn real data into a locked answer key, then climb toward a measured target with fresh agent sessions until the number and two outside judges say it is done. Use for long, ambitious work that must reach a provable quality bar - "hill climb this", "build an eval and climb it", "make the harness/app/agent hit X%", "use the logs as a benchmark", "keep going until it passes", or any big job where vibes are not enough. For quick polish of one draft use `loop` instead.

Vì sao nên dùng Hill Climb trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hill Climb là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hill Climb trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/lennoxsaint/Skills/tree/main/hill-climb. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hill Climb?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hill Climb với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hill Climb với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hill Climb có miễn phí không?

Có. Kỹ năng này được lennoxsaint phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇