본문으로 건너뛰기
Skillpedia
에이전트81k · #1650

harness-learn

하는 일

이 스킬은 채점된 소프트웨어 작업 세트에 맞춰 하네스 정책을 조정하는 학습 과정을 실행합니다. 측정된 개선을 원하고 로컬 코드 체크아웃을 설정할 준비가 된 팀을 위한 스킬입니다.

사용하는 경우

  • ✓하네스 프롬프트가 한 종류의 작업에서 부진해 측정 가능한 개선이 필요할 때.
  • ✓비용을 쓰기 전에 학습 실행 비용을 미리 확인하고 싶을 때.
  • ✓학습 실행이 새 설정을 승격했고 그 결과를 살펴보고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-learn/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-learn/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분.

작동 방식

스킬은 metaharness 체크아웃이 있는지 확인한 뒤 학습 스크립트를 실행합니다. 기본은 건식 실행으로, 작업 목록을 확인하고 모델 호출 없이 비용을 보고합니다. 실제 실행에는 명시적인 옵션이 필요합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Surfaces metaharness learn — the upstream GEPA learning harness that evolves harness policy genomes against a scored task corpus instead of hand-editing prompts. Candidates are scored on held-out slices and only measured winners promote (the shipped cand-6 genome is the first such promotion: holdout gold 2/12 → 3/12, zero regressions).

When to use

  • A harness's policy prompt underperforms on a task family and you want a measured improvement loop rather than manual prompt iteration.
  • Pricing a learning run before committing spend — the default dry-run resolves the slice manifest and reports cost without any model calls.
  • After a learn run promotes a genome: pair with harness-gepa --op render to inspect what the promoted policy actually says.

Preconditions (upstream design)

The learning harness (GEPA + SWE-bench + Docker) is too heavy for the npm package, so learn needs a local clone:

git clone https://github.com/ruvnet/metaharness.git
node scripts/learn.mjs --repo ./metaharness --host claude-code --model haiku --slice slices/lite.json

Without a checkout the script emits {status: "checkout-required"} and exits 0 — a precondition report, not an error (distinct from degraded: true, which means the npm package itself is absent). The managed-service path (gateway-side learn jobs, no checkout) is upstream's ADR-235 follow-up and not available yet.

Algorithm

Implementation: scripts/learn.mjs.

  1. Validate --repo exists when given; export it as $METAHARNESS_REPO.
  2. Invoke the pinned metaharness binary (metaharness@~0.4.1, local install or one-time versioned cache — never @latest): metaharness learn --host <h> --model <m> --slice <s> [--run] via _harness.mjs (graceful degradation, hard timeout).
  3. Default timeouts: 120s dry-run, 600s with --run — real runs on larger slices need an explicit --timeout-ms matched to slice size × model cost.
  4. Detect the checkout-required message → structured payload, exit 0.
  5. Parse the trailing JSON report when upstream emits one; otherwise return the raw report text under rawReport.

Cost note

--run is the ONLY path that spends. Everything else — dry-run, checkout probe, degraded path — is $0. The MCP tool (metaharness_learn) has a 120s subprocess budget; run real learning cycles from a terminal via ruflo metaharness learn ... --run --timeout-ms <big>.

Exit codes

  • 0 — report produced (or dry-run, checkout-required, degraded)
  • 1 — --alert-on-fail and the learn run reported failure
  • 2 — config error (bad --repo path)
자주 묻는 질문

건식 실행에 비용이 드나요?

기본 건식 실행은 모델 호출을 하지 않으므로 그 비용은 들지 않습니다.

실행 전에 무엇이 필요한가요?

metaharness 프로젝트의 로컬 클론이 필요합니다. 없으면 체크아웃이 필요하다고 보고합니다.

관리형 서비스를 쓸 수 있나요?

아닙니다. 소스 노트에 따르면 관리형 서비스 경로는 아직 이 스킬에 포함되지 않았습니다.

상세 정보

작성자의 원본 설명

Run a GEPA learning cycle via `metaharness learn`, optimizing a harness genome against a SWE-bench-style slice. Use when training a harness genome. $0 dry-run by default; `--run` opts into spend. Needs a metaharness checkout (--repo or $METAHARNESS_REPO).

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1650
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬