harness-gepa
यह क्या करती है
यह स्किल GEPA genomes के साथ काम करती है, जो AI harness द्वारा इस्तेमाल होने वाली सहेजी prompt policies हैं। जो लोग यह देखना चाहते हैं कि harness असल में कौन से prompts इस्तेमाल करता है, उनके लिए यह है।
कब इस्तेमाल करें
- ✓जब आप देखना चाहें कि सहेजा genome असल में कौन सा system prompt बनाता है।
- ✓जब इस्तेमाल से पहले genome फ़ाइल का वैध होना जाँचना हो।
- ✓जब कोई रन विफल हो और आप उसकी विफलता के प्रकार वर्गीकृत करना चाहें।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-gepa/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“यह genome फ़ाइल असल में कौन सा system prompt बनाती है, वह दिखाइए ताकि मैं उसे पढ़ सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल GEPA library लोड करती है और कुछ कार्यों में से एक चलाती है: prompt रेंडर करना, genome की संरचना जाँचना, या transcript से विफलता प्रकार वर्गीकृत करना। यह पूरा optimisation loop नहीं चलाती।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Surfaces the GEPA (genetic-evolution prompt-adaptation) library exports
from @metaharness/darwin/gepa. Unlike the other skills in this plugin
there is no CLI binary behind this — the script dynamic-imports the library
(local resolution first, versioned cache install as fallback) and calls the
subprocess-safe subset.
When to use
- Adopting an evolved policy:
--op rendershows the actual system prompt a genome compiles to — read THAT, not the raw JSON, before wiring a genome into a harness. - Auditing a promotion:
--op genomeloads + validates the shipped cand-6 genome (first holdout-confirmed cheap-tier promotion; provenance ships in the package) or any genome file you point at. - CI gate on genome edits:
--op validate --alert-on-invalidexits 1 on structural errors. - Debugging a bad run:
--op analyze --transcript run.jsonclassifies failure modes (GEPA's failure-class taxonomy) from a transcript array.
What is deliberately NOT here
gepaOptimize — the optimization loop takes an in-process
evaluate(candidate) callback ("bring your own evaluator") that cannot
cross a subprocess boundary. Two supported paths instead:
- Library consumers:
import { gepaOptimize, loadCand6Genome } from '@metaharness/darwin/gepa' - Sandbox-scored evolution:
harness-evolve(darwin CLIevolve), which pairs GEPA with its own sandbox evaluators.
Algorithm
Implementation: scripts/gepa.mjs.
import('@metaharness/darwin/gepa'); on MODULE_NOT_FOUND fall back to a one-timenpm install --prefix ~/.ruflo/darwin-cache-<pin>and import the cacheddist/gepa/index.js(versioned dir → pin bumps invalidate).- Dispatch
--op:genome→loadGenome(fs, path)orloadCand6Genome()+validateGenomevalidate→validateGenome(rawJson)(raw parse so broken files reach the validator instead of throwing in the loader)render→buildSystemFromGenome(genome, ext?, glob?)analyze→analyzeTranscript(entries)
- Emit one JSON object; exit 0 (or 1 under
--alert-on-invalid, 2 on bad input).
Examples
node scripts/gepa.mjs --op genome # cand-6 + validation
node scripts/gepa.mjs --op render | jq -r .system # what does cand-6 SAY?
node scripts/gepa.mjs --op validate --path my-genome.json --alert-on-invalid
node scripts/gepa.mjs --op analyze --transcript run.json
Exit codes
0— op completed (or degraded — darwin not installable)1—--alert-on-invalidand validation found errors2— config error (unknown op, missing/broken input file)
अक्सर पूछे जाने वाले सवाल
कच्ची फ़ाइल पढ़ने के बजाय prompt रेंडर क्यों करें?
स्रोत सलाह देता है कि genome को harness में जोड़ने से पहले compiled prompt पढ़ लेना चाहिए।
क्या यह जाँच अपने-आप विफल हो सकती है?
हाँ। validate कार्य संरचनात्मक समस्याओं पर त्रुटि के साथ रुक सकता है, अगर आपने अलर्ट विकल्प सेट किया हो।
क्या यह prompts खुद सुधारती है?
नहीं। optimisation के लिए अलग evaluator चाहिए, इसलिए स्किल evolution के दूसरे रास्ते सुझाती है।
जानकारी
लेखक का मूल विवरण
Load, validate or render a GEPA genome, or classify failure modes in a run transcript, via @metaharness/darwin/gepa. Use when inspecting or auditing a genome; use harness-evolve for sandbox-scored evolution. Degrades gracefully without darwin.
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1649
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।