Assay
하는 일
이 스킬은 코드 검사와 모델 채점 방식의 판단으로 AI 결과물을 확인하는 평가를 설계하도록 AI를 안내합니다. AI 기능이 얼마나 안정적인지 측정하려는 개발자와 팀을 위한 스킬입니다.
사용하는 경우
- ✓AI 기능이 일관되게 올바른 결과를 내는지 테스트하고 싶을 때.
- ✓같은 작업 세트에서 두 프롬프트나 두 모델을 비교하려는 경우.
- ✓변경 후 AI 품질 저하를 잡아내는 회귀 테스트가 필요할 때.
스킬 링크
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Assay/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“요약기가 샘플 기사 20개에서 어떻게 작동하는지 확인하는 평가를 만들고, 실행마다 얼마나 자주 통과하는지 보고해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 프롬프트와 검증 조건이 있는 테스트 케이스를 씁니다. 단순한 검사는 코드로 실행하고, 판단이 필요한 검사에는 채점하는 판정자를 씁니다. 여러 번 실행해 모든 시도가 통과했는지와 하나라도 통과했는지를 함께 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Assay — Assertion-First AI Evaluation
Contents: Ideal State · Intent Routing · The taxonomy · Choosing a check: tier first, then shape · Selection, acceptance, and unavailable evidence · The canonical path · Doctrine (from Anthropic; encode, don't restate) · The image lane (visual evals) · Harness integration · Judgment-layer question systems · Data & Config · Gotchas · Examples
An eval gives an AI an input, then applies assertions to its output to measure success (Anthropic's definition). A case is {id, prompt, assert:[...]}. Each assertion is either deterministic (code, free) or model-graded (a calibrated judge). Cases run multiple trials and report pass^k (every trial passes; the reliability metric and the regression gate) and pass@k (any trial passes). Proof applies the same tiers to one run's output (the film, image, page, email or document it made) against what was asked, before the principal sees it: Intents/Proof.md, with the whole system in LIFEOS/DOCUMENTATION/Assay/AssaySystem.md. CreateQuestions designs the fast tier itself: it turns a fuzzy decision into a measured judgment-layer question system (LIFEOS/DOCUMENTATION/Assay/AssaySystem.md § Judgment layer).
Sources: Demystifying evals for AI agents (2026-01), A Statistical Approach to Model Evaluations (2024-11), develop tests, the eval-awareness contamination post (2026-03), and the live claude plugin eval surface.
Freshness contract: "aligned to Anthropic's doctrine" is a live claim. When designing a new suite class or touching ## Doctrine, re-fetch the demystifying-evals post and flag where it has moved. Report divergence, never auto-adopt; an unreachable URL never blocks a run.
Ideal State
- Every check sits at the lowest tier that can honestly answer it (code, glance, judge, human), and only code runs on a blocking path.
- Every score ships with pass^k, SEM and a 95% CI from the trials that completed, with the requested and completed trial counts beside it; fewer completed trials than requested never claims pass^k.
- A judged check is calibrated against the principal's labels or reads PROVISIONAL wherever it shows, and a judged suite keeps an adversarial fixture its judge must fail.
- A produced artifact is checked by Proof against what was asked before the principal sees it, and the receipt is bound to its bytes.
- Transport failures, malformed verdicts and missing observations are reported as unavailable evidence, never as a pass, a quality failure or an adversarial catch.
- A fuzzy decision handed to CreateQuestions leaves as a validated question system whose accuracy was measured on held-out cases the designer never saw, with its margin over one holistic baseline question, or as a stated finding that the judgment layer does not fit and what does; a design ends at a saved shadow registry row and never moves a caller toward enforce.
- When Assay builds the eval system for a project, the project's ISA ends current: every criterion it checks names its suite or glance question in Test Strategy, and the hand-rolled eval code, rows and stale criteria it replaced are removed in the same change.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Proof | "proof this", "check the output", "did it come out as asked", before showing any produced artifact | Intents/Proof.md |
| RunEval | "run the eval", "run suite", "evaluate this" | Intents/RunEval.md |
| CreateSuite | "new eval", "create a suite", "eval for X" | Intents/CreateSuite.md |
| CreateJudge | "write a judge", "llm-rubric", "grading criteria", "noul, choice or score", "glance question" | Intents/CreateJudge.md |
| Calibrate | "calibrate the judge", "judge agreement", "judged residue", "shrink the judges", "judged miss", "bunker miss" | Intents/Calibrate.md |
| Compare | "compare prompts", "compare models", "A/B this", "with/without", "ablation" | Intents/Compare.md |
| ModelRetro | "which model did we like", "model retro", "compare models looking back", "how did model X do historically" | Intents/ModelRetro.md |
| RunAgentic | "multi-turn eval", "agentic eval", "eval with tools", "plugin eval" | Intents/RunAgentic.md |
| ViewResults | "eval results", "how di |
자주 묻는 질문
pass^k란 무엇인가요?
일련의 실행에서 모든 시도가 통과하는 것을 뜻합니다. 신뢰성을 재는 기준이자 회귀 게이트입니다.
pass@k란 무엇인가요?
적어도 한 번은 통과하는 것을 뜻하며, AI가 최선일 때 무엇을 할 수 있는지 보여 줍니다.
단일 작업에 대해서도 AI 결과를 확인할 수 있나요?
예. 같은 검사로 한 번 실행한 결과를 요청과 비교해, 사람이 보기 전에 검토할 수 있습니다.
상세 정보
작성자의 원본 설명
Assertion-first eval framework: code asserts, calibrated judges, pass@k, A/B comparison, agentic evals, judgment-layer question systems and code-extract-decide-write pipelines. USE WHEN eval, evaluate, benchmark, judge, judge prompt, judge panel, regression test, assert, llm-rubric, calibrate judge, judged residue, pass@k, pass^k, grade output, compare prompts or models, A/B test, which model did we like, model retro, ablation, with/without, test agent, agentic eval, noul/choice/score question, glance row, judged miss, proof this, check the output, did it come out as asked, design judgment que
repo: danielmiessler/LifeOS
인기도
- GitHub 스타
- 20k
- 순위
- #10404
- 라이선스
- MIT
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
LifeOS
20k에이전트가 LifeOS를 설정하도록 돕습니다. LifeOS는 인터뷰와 대시보드를 통해 현재 상태를 이상적인 상태에 연결하는 개인 시스템입니다.
AnnualReports
20k에이전트가 주요 업체의 사이버보안 연간 보고서에서 침해와 랜섬웨어 추세를 찾아 비교하고, 모든 수치에 출처를 붙이도록 돕습니다.
ApertureOscillation
20k에이전트가 설계 질문 하나를 좁은 범위와 넓은 범위에서 검토하고, 만들기 전에 두 답이 충돌하는 지점을 짚도록 가르칩니다.
Aphorisms
20k에이전트가 큐레이션된 컬렉션에서 출처가 밝혀진 인용문을 찾고 맞추고 관리하며, 최근 뉴스레터에 쓴 인용문은 피하도록 돕습니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.