eval-genius
Skill này làm gì
Skill này giúp AI của bạn đo lường mức độ hoạt động của một AI, mô hình ngôn ngữ, agent hoặc hệ thống tìm kiếm. Nó dành cho các nhóm xây dựng tính năng AI cần bằng chứng rằng một thay đổi thật sự tốt hơn.
Khi nào nên dùng
- ✓Khi bạn thay đổi prompt hoặc model và cần biết kết quả có tốt hơn không.
- ✓Khi bạn đang quyết định một tính năng AI có cần đánh giá chính thức trước khi ra mắt không.
- ✓Khi bạn muốn thiết lập một cổng kiểm thử để chặn thay đổi kém không được đưa vào sử dụng.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/eval-genius/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chúng tôi đã thay đổi prompt của chatbot hỗ trợ khách hàng. Hãy thiết lập một bài kiểm thử công bằng để xem câu trả lời có tốt hơn không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent quyết định dự án cần kiểm thử ở mức nào, cố định tiêu chí đạt trước khi xem kết quả, và chạy so sánh với cùng các mục kiểm thử. Nó cũng báo cáo kết quả trung thực, kể cả những con số xấu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Eval Genius
An eval is a claim you are willing to defend under hostile audit. You measure to earn the right to say "this is better" and have it hold when someone sharp pushes back. Behave like a measurement engineer: state the promise, fix the bar before looking, hold everything else constant, distrust the instrument first, report the number that hurts. Assume the user may be starting from zero; plain language first, jargon when it earns it.
Step 0: Does this need an eval, and where does it go?
Three questions decide it (references/00-start-here.md): does the output vary (model,
prompt, retriever)? will it change again, and would a quiet regression cost something?
is a decision or a public claim coming? No to all: a hand spot check, stop. Yes to any:
an eval, sized to the stage the project is in.
| Stage the user is at | Instrument | Smallest useful version |
|---|---|---|
| Exploring prompts and models | Spot check | 10 inputs, eyeball |
| First working version | Smoke eval | 20 to 50 real inputs, code-checked; this run is the baseline |
| Changing one thing | Paired eval vs baseline | Same items both arms, per-item diff, bar written first |
| Merging or shipping | CI gate | Held-out items, three-way outcome, a known-bad item that must fail |
| Comparing or claiming publicly | Benchmark | Versioned dataset and harness, intervals, report |
| In production | Monitor | Same scorer on sampled live traffic |
Build the first eval at "first working version", never before, rarely after. For a
first-timer, run the one-afternoon recipe in 00-start-here.md and touch nothing else.
Route the request
Identify the job, then load only that reference. Every job still passes through Step 1.
| User needs to... | Load |
|---|---|
| Know if they need an eval, where it fits, which one, or how to start | references/00-start-here.md |
| Decide what to measure at all, or the ask is "make it better" | references/01-foundation.md |
| Pick a grader or metric for a task | references/02-grading-and-metrics.md |
| Use, prompt, or trust an LLM judge | references/03-judge-calibration.md |
| Choose between an existing benchmark and a custom one | references/04-search-vs-build.md |
| Assemble items, labels, negatives, splits; contamination, overfitting | references/05-dataset-construction.md |
| Write or fix the runner, scorer, or reporter | references/06-harness-design.md |
| Put an eval in CI or a release gate | references/07-gates-and-ci.md |
| Say whether a delta is real | references/08-statistics.md |
| Write results up, or retire a benchmark | references/09-reporting.md |
| Evaluate an agent, tool use, or multi-turn task | references/10-agentic-evals.md |
| Read a result file with no prior experience | references/11-reading-results.md |
Templates in templates/ get copied into the project, never edited in place. Scripts in
scripts/ are stdlib-only CLIs with --help, exiting nonzero with a readable message:
check_gate.py (per-item diff of treatment vs baseline; exits 0 PASS, 1 FAIL,
2 CANNOT-MEASURE; refuses a comparison across mismatched fixture or judge fingerprints),
paired_bootstrap.py (paired bootstrap interval on the delta, cluster-aware),
judge_agreement.py (Cohen's kappa and PASS precision/recall of a judge vs human labels),
hash_fixture.py (the canonical fixture content hash the manifest's fixture_hash wants,
so two runs hash the same fixture to the same string). Match effort to stakes: a spot check needs Step 0 and little else; a
release gate needs the whole chain. Load references on demand, not all at once.
Step 1: Foundation (five minutes, never skipped)
Copy templates/preregistration.md next to the fixture and fill it before touching
data or code. A first-timer fills promise, lever, baseline, and bar; the rest follows.
- Promise. One plain sentence: what does the system promise, what is "better"?
- Variables. Levers (what changes), outcomes (what is watched), controls (what is frozen). One lever per comparison; an unclassifiable variable means stop.
- Placement. A decision point, a risky seam, or a public claim; elsewhere, a spot check or nothing.
- Weight. Spot check, eval, benchmark, or monitor (Step 0 table).
- Bar. The threshold in numbers, the falsifier (what proves the change useless), and the outlier rule. Written before any run.
Done when all five fields are filled and a baseline is named.
Step 2: Choose th
Câu hỏi thường gặp
Đây có giống unit test không?
Không. Skill dùng để đo chất lượng đầu ra của AI, điều mà unit test thông thường không bao quát tốt.
Tôi cần bao nhiêu đầu vào kiểm thử?
Skill gợi ý khoảng 20 đến 50 đầu vào thực tế cho phiên bản đầu tiên, và nhiều hơn cho các cổng nghiêm ngặt.
Vì sao phải đặt tiêu chí trước khi xem kết quả?
Đặt tiêu chí trước giúp bạn không thay đổi mục tiêu để làm cho một thay đổi trông tốt hơn.
Chi tiết
Mô tả gốc của tác giả
Decide whether an AI/LLM/agent/retrieval system needs an eval, where it fits in the dev process, which one to run, and how to read the result; then design, gate, judge, and defend it. Not ordinary unit tests.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8754
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.