본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM31k · #9323

skill-autobench

하는 일

이 스킬은 사람들이 실제로 AI 스킬을 어떻게 사용했는지를 바탕으로 테스트 세트를 만듭니다. 과거 대화를 살펴보고, 사용자가 에이전트를 고쳐 준 지점을 표시합니다. 그 수정은 실제 필요를 보여 주기 때문입니다.

사용하는 경우

  • ✓기존 AI 스킬을 실제 과거 사용 기록으로 테스트하고 싶을 때.
  • ✓스킬이 작성된 설명으로는 설명되지 않는 방식으로 자꾸 실패할 때.
  • ✓사용자가 스킬의 답을 고쳐 준 지점을 찾아 테스트로 만들고 싶을 때.

스킬 링크

https://github.com/garrytan/gbrain/blob/master/skills/skill-autobench/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/skills/skill-autobench/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  1. 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"
    
  2. Per-harness session transcripts, as available — use what the harness exposes; do not assume a layout. gbrain transcripts recent --full reads 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)

  1. Human reviews, edits, and approves the staged eval; the approved eval_contract is merged into the skill's frontmatter explicitly.
  2. Convert approved cases into skills/<name>/skillopt-benchmark.jsonl lines
자주 묻는 질문

왜 명세가 아니라 실제 기록을 사용하나요?

명세는 스킬이 약속한 것만 테스트합니다. 실제 기록은 사람들이 무엇을 물었고 어디서 잘못되었는지 보여 줍니다.

대화 보관함이 필요한가요?

네. 보관함이 주요 자료이므로 먼저 가져와야 합니다.

테스트 세트가 자동으로 실행되나요?

검토와 실행을 위해 세트를 준비합니다. 이 방법은 사용 전에 사람이 확인하도록 설계되어 있습니다.

상세 정보

작성자의 원본 설명

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬