मुख्य सामग्री पर जाएँ
Skillpedia
प्रॉम्प्ट और LLM31k · #9323

skill-autobench

यह क्या करती है

यह स्किल लोगों के असली इस्तेमाल से AI स्किल के लिए टेस्ट सेट बनाती है। यह पिछली बातचीत खंगालती है और उन जगहों को चिह्नित करती है जहाँ उपयोगकर्ता ने एजेंट को सुधारा, क्योंकि वे सुधार असली ज़रूरतें दिखाते हैं।

कब इस्तेमाल करें

  • ✓जब आप मौजूदा AI स्किल को उसके असली पिछले इस्तेमाल पर टेस्ट करना चाहें।
  • ✓जब कोई स्किल ऐसे तरीकों से बार-बार विफल हो जिन्हें उसका लिखा विवरण नहीं समझाता।
  • ✓जब आप यह खोजना चाहें कि उपयोगकर्ताओं ने स्किल के जवाब कहाँ सुधारे और उन्हें टेस्ट में बदलना चाहें।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/garrytan/gbrain/blob/master/skills/skill-autobench/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी मीटिंग स्किल के बारे में पिछली बातचीत खंगालिए, जहाँ मैंने उसे सुधारा था, और उन मामलों से टेस्ट सेट बनाइए।”

हर हफ़्ते 5 नई skills, 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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

gbrain

31k

यह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।

लेखन और डॉक्यूमेंटरिसर्च

brain-ingest-gate

31k

यह आपके एजेंट को नई सामग्री जोड़ने से पहले मौजूदा ज्ञान ब्रेन से जाँचने देती है, ताकि डुप्लिकेट न बनें और नामित इकाइयाँ पहले सुलझें।

लेखन और डॉक्यूमेंटरिसर्च

brain-link-discipline

31k

यह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

brain-ops

31k

यह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills