harness-gepa
하는 일
이 스킬은 AI 하네스가 쓰는 저장된 프롬프트 정책인 GEPA 게놈을 다룹니다. 하네스가 실제로 쓰는 프롬프트를 살펴보거나 확인하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓저장된 게놈이 만들어 내는 실제 시스템 프롬프트를 보고 싶을 때.
- ✓사용하기 전에 게놈 파일이 올바른지 확인할 때.
- ✓실행이 실패해서 그 실패 유형을 분류하고 싶을 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-gepa/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 게놈 파일이 만드는 실제 시스템 프롬프트를 보여 주셔서 제가 읽어 볼 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 GEPA 라이브러리를 불러와 몇 가지 작업 중 하나를 실행합니다. 프롬프트를 렌더링하거나, 게놈 구조를 검사하거나, 기록에서 실패 유형을 분류합니다. 전체 최적화 루프는 실행하지 않습니다.
기술 내용 (원본 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)
자주 묻는 질문
원본 파일을 읽지 않고 렌더링된 프롬프트를 보는 이유는 무엇인가요?
소스는 게놈을 하네스에 연결하기 전에 컴파일된 프롬프트를 읽어 보라고 권장합니다.
검사가 자동으로 실패할 수 있나요?
네. 경고 옵션을 설정하면 validate 작업이 구조적 문제에서 오류로 종료될 수 있습니다.
스킬이 프롬프트를 직접 개선하나요?
아닙니다. 최적화에는 별도의 평가기가 필요하므로, 진화는 다른 경로를 안내합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.