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

self-improvement-loops

하는 일

이 스킬은 에이전트의 하네스, 스캐폴드, 워크플로 자체가 개선 대상이 되는 시스템을 다룹니다. 예를 들어 자신의 실패를 분석하고 수정안을 제안하는 에이전트입니다. 자기 수정형 에이전트 시스템을 만드는 고급 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 자신의 프롬프트, 스캐폴드, 워크플로에 대한 수정안을 제안하도록 되어 있을 때.
  • ✓자기 수정 시스템이 만든 변경을 어떻게 수락하거나 거부할지 고를 때.
  • ✓자기 개선 루프가 자신의 지표를 조작하거나 아이디어의 다양성을 잃기 시작할 때.

스킬 링크

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/self-improvement-loops/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/self-improvement-loops/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에서 그대로 가져왔습니다.

Self-Improvement Loops

This skill covers systems where the harness is the artifact being optimized: an agent mines its own failures and edits its own scaffold, a meta-agent searches over harness code, a population of workflow candidates evolves against an evaluator, or the mechanism that produces context is itself versioned and improved. The design question shifts from "how do I control one loop" (harness-engineering) to "how do I let a loop rewrite parts of itself without corrupting the signal that steers it".

The controlling constraint across every published system: the loop optimizes whatever signal it is given, including the signal's own weaknesses. Design the loop assuming the optimizer will find every gap between the metric and the intent.

When to Activate

Activate this skill when:

  • Building a loop where an agent proposes edits to its own harness, prompts, context playbook, or workflow based on mined failure patterns
  • Designing meta-level search over harness or scaffold code: meta-agent search, tree search over workflow graphs, evolutionary program search with an LLM mutation operator
  • Choosing acceptance criteria for any self-modifying agent system
  • Evolving the mechanism that manages context (a skill, playbook, or context function) rather than hand-editing the context artifact
  • Diagnosing a degenerating self-improvement loop: reward hacking, diversity collapse, context collapse, or silent stagnation
  • Deciding which level of the optimization ladder (prompt, context, workflow, harness code, optimizer code) a recurring failure should be fixed at

Do not activate this skill for adjacent work owned by other skills:

  • Governance of a single autonomous loop that does not modify itself: locked and editable surfaces, durable logs, rollback, novelty gates, PR preparation, and human approval boundaries belong to harness-engineering. That skill defines the control surfaces; this skill defines what happens when the surfaces themselves become the optimization target.
  • Building the evaluator, regression suite, or quality gates that score candidates: evaluation.
  • LLM-as-judge design, pairwise comparison, and bias mitigation for candidate scoring: advanced-evaluation.
  • One-shot token efficiency, masking, or caching without an improvement loop: context-optimization.
  • Remote sandboxes and background execution infrastructure for running the loop: hosted-agents.
  • Whether to build the loop at all, pipeline shape, and cost estimation: project-development.
  • The self-editing context behavior and efficiency reward a loop optimizes: self-managed-context.

Core Concepts

The Optimization Ladder

Published self-improvement systems target progressively deeper objects:

Rung Optimized object Example systems
1 Instruction prompts Promptbreeder, GEPA
2 Structured context ACE (playbook of itemized bullets)
3 Context mechanism MCE (the skill that produces context)
4 Workflow graph ADAS, AFlow
5 Harness code Self-Harness (bounded self-edits), Meta-Harness, Darwin Godel Machine
6 Optimizer code STOP (the improver improves the improver)

Each rung up buys a larger design space and more leverage, and costs more per evaluation with a larger surface for gaming. Fix a recurring failure at the lowest rung that can express the fix. A stale-library failure is a context fix, not a workflow rewrite. Only move up when failure clusters at the current rung persist across candidates.

The Loop Is Not the Intelligence

Recursive structure amplifies base-model quality in both directions. The same recursive improver design that compounds gains with a strong model degrades mean performance across iterations with weaker models (claim-self-improvement-capability-threshold). Two implications:

  1. Run a capability validation before enabling recursion: a fixed number of iterations on a held-out task set, with the loop counted as net-negative if the trajectory declines.
  2. Detect the degenerate stagnation mode. A broken improver that silently returns its input unchanged looks like stability in aggregate metrics. Track edit diffs, not only scores.

The Outside-the-Loop Invariant

The evaluator, its instrumentation, permission control, and budget enforcement must live outside the surface the loop can modify. Every documented reward hack broke this invariant: agents removed the logging markers a hallucination detector depended on, and hacking bec

자주 묻는 질문

자기 개선 루프란 무엇인가요?

AI 시스템이 자신의 결과를 연구하고 스스로의 설정을 바꿔 더 잘하게 만드는 순환입니다.

보상 해킹은 왜 위험한가요?

루프는 받은 신호가 무엇이든 최적화하며, 그 신호의 약점까지 포함하므로 지표가 실제 목표에서 벗어날 수 있습니다.

하네스 엔지니어링과는 어떻게 다른가요?

하네스 엔지니어링은 하나의 루프를 통제하고, 이 스킬은 루프가 스스로의 일부를 안전하게 다시 쓰도록 하는 것을 다룹니다.

상세 정보

작성자의 원본 설명

This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target: recursive self-improvement (RSI) loops, meta-harnesses, self-improving harnesses that mine their own failures and propose bounded edits, evolutionary or population-based search over agent scaffolds, acceptance gates for self-modifying systems, and agentic context evolution where the mechanism that produces context is versioned and evolved. Route governance of a single autonomous loop (locked surfaces, durable logs, rollback, novelty gates, approval boundaries) to harness-engineering,

repo: muratcankoylan/Agent-Skills-for-Context-Engineering

인기도

GitHub 스타
18k
순위
#10650
라이선스
MIT
업데이트
2026. 10. 11.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬