skill-autobench
하는 일
이 스킬은 사람들이 실제로 AI 스킬을 어떻게 사용했는지를 바탕으로 테스트 세트를 만듭니다. 과거 대화를 살펴보고, 사용자가 에이전트를 고쳐 준 지점을 표시합니다. 그 수정은 실제 필요를 보여 주기 때문입니다.
사용하는 경우
- ✓기존 AI 스킬을 실제 과거 사용 기록으로 테스트하고 싶을 때.
- ✓스킬이 작성된 설명으로는 설명되지 않는 방식으로 자꾸 실패할 때.
- ✓사용자가 스킬의 답을 고쳐 준 지점을 찾아 테스트로 만들고 싶을 때.
스킬 링크
https://github.com/garrytan/gbrain/blob/master/skills/skill-autobench/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 과거 대화에서 회의 스킬에 관한 것을 찾아서, 내가 고쳐 준 부분을 확인하고 그 사례로 테스트 세트를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 대화 보관함에서 스킬이 사용된 기록을 검색하고 재생 가능한 사례를 모읍니다. 각 사례는 스킬의 명세에서 나온 것인지 기록에서 암시된 것인지 표시되며, 세트는 검토를 위해 준비됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
skill-autobench — write the eval from lived usage
Convention: see conventions/brain-first.md — mining starts in the brain. Search the conversation archive before touching raw transcript files, and never declare "no history" without having queried the brain first.
Convention: see conventions/model-routing.md — mining and synthesis run on the cheap tier by default. The full multi-model judging pass is an explicit opt-in (see Contract).
The self-improving loop has three legs: an eval, a variant generator
(SkillOpt), and a replay + judge harness (gbrain eval cross-modal). The
generator and the judge ship with gbrain. The persistently missing leg is the
eval author — someone has to WRITE the eval, and a spec-derived benchmark
only tests what the skill promised, not what users actually asked for or what
actually went wrong. This skill writes the eval from reality instead of
imagination.
Pipeline
1. MINE — extract real invocation windows
Substrates, in priority order:
Brain conversation archive — pages under
conversations/, populated by the conversation-archive skill (hard dependency for this substrate: if it hasn't ingested your history yet, run it first). Search for the target skill's name, trigger phrases, and output shapes:gbrain search "<skill-name>" gbrain query "when did I use <skill-name> and what did I ask for"Per-harness session transcripts, as available — use what the harness exposes; do not assume a layout.
gbrain transcripts recent --fullreads the configured local transcript corpus (local-only by design). Claude Code keeps per-project session JSONL under~/.claude/projects/; other harnesses have their own session stores. Absent stores are simply skipped.
From each hit, extract an invocation window: the user ask before the
invocation, the invocation turn itself, and the 2 turns after — because that
is where corrections live. A user correction after an invocation is the
gold signal: it is a real, observed failure mode, and it becomes a
hard_fail plus a replayable case.
FAIL-CLOSED: if no substrate yields a single real invocation of the
target skill, emit an honest no-history report (substrates checked, queries
run, windows scanned, zero matches) and stop. Do NOT invent "typical"
invocations. For a skill with no history, the right tool is
gbrain skillopt <name> --bootstrap-from-skill (spec-derived, and honest
about it) — see Dedup.
2. SYNTH — turn windows into a proposed eval
From the mined windows plus the current SKILL.md, produce:
- A proposed eval_contract: goal, dimensions, hard_fails. Dimensions come from observed asks; hard_fails encode observed corrections.
- 4-8 replayable cases, each shaped
{input, expected_behavior, failure_mode_to_catch}— realistic input, a checkable expected behavior, and the named failure mode the case exists to catch. - Spec-vs-usage gaps: "the spec says X, users consistently ask Y."
HONESTY LABELS are mandatory. Every dimension and every case is labeled:
HISTORY-IMPLIED— a real mined window backs it; cite which one.SPEC-DERIVED— inferred from SKILL.md only; no usage evidence.
Never conflate the two. If history is thin or off-target, say so prominently at the top of the staged file ("GROUNDING WARNING: only N windows found, none exercised the core path") instead of padding with fabricated evidence.
Privacy scrub before staging: staged evals live in the skill repo and are
distributable. Mined windows contain real names, companies, and deals —
rewrite every case onto placeholder slugs (alice-example, acme-example)
before writing the file. A history-grounded case keeps its shape and failure
mode, never its real entities.
3. STAGE — human gate, always
Write skills/<name>/eval/autobench-<date>.md with frontmatter
status: PENDING-HUMAN-APPROVAL.
This skill NEVER rewrites SKILL.md — not the eval_contract, not the body, not the triggers. Merging the staged eval is the human's decision. (This is a workflow contract the agent must honor, not a mechanically-enforced gate.)
The loop (after approval)
- Human reviews, edits, and approves the staged eval; the approved eval_contract is merged into the skill's frontmatter explicitly.
- Convert approved cases into
skills/<name>/skillopt-benchmark.jsonllines
자주 묻는 질문
왜 명세가 아니라 실제 기록을 사용하나요?
명세는 스킬이 약속한 것만 테스트합니다. 실제 기록은 사람들이 무엇을 물었고 어디서 잘못되었는지 보여 줍니다.
대화 보관함이 필요한가요?
네. 보관함이 주요 자료이므로 먼저 가져와야 합니다.
테스트 세트가 자동으로 실행되나요?
검토와 실행을 위해 세트를 준비합니다. 이 방법은 사용 전에 사람이 확인하도록 설계되어 있습니다.
상세 정보
작성자의 원본 설명
Author an eval for an existing skill from its REAL usage history, not its spec. Mine invocations from the brain's conversation archive (conversations/) and per-harness session transcripts — a user correction after an invocation is the gold signal — then synthesize an eval_contract plus 4-8 replayable cases with honesty labels (SPEC-DERIVED vs HISTORY-IMPLIED) and stage the result at skills/<name>/eval/autobench-<date>.md as PENDING-HUMAN-APPROVAL. Never rewrites SKILL.md. Ships two guard companions: panel integrity (multi-model judging must prove each provider actually responded) and the fail-
repo: garrytan/gbrain
인기도
- GitHub 스타
- 31k
- 순위
- #9323
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
gbrain
31k에이전트가 공유 회사 지식 브레인에서 사람, 프로젝트, 결정에 관한 사실을 검색하고, 지속적인 메모를 저장하도록 돕습니다.
brain-ingest-gate
31k새 콘텐츠를 지식 브레인에 추가하기 전에 기존 내용과 비교해 중복을 막고, 고유 명칭을 먼저 확인합니다.
brain-link-discipline
31k에이전트가 브레인 페이지를 보고할 때 같은 메시지에 각 페이지의 작동하는 링크를 포함해, 바로 열어 볼 수 있게 합니다.
brain-ops
31k지식 브레인의 기본 루틴을 제공합니다. 먼저 기존 맥락을 확인하고, 메모는 출처와 함께 저장하며, 관련 페이지를 연결합니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.