Community코딩 & 개발github.com

self-improvement-loops

에이전트가 자체 하네스, 워크플로, 또는 최적화 대상을 재귀적으로 개선하는 시스템을 위한 스킬입니다.

self-improvement-loops란 무엇인가요?

이 스킬은 에이전트가 자신의 실패 패턴을 마이닝하고, 자신의 하네스 코드, 프롬프트, 컨텍스트 플레이북, 워크플로우 그래프를 편집하거나, 메타-에이전트가 하네스 코드를 검색하고, 진화적 프로그램 검색을 통해 워크플로우 후보군을 개선하는 시스템을 다룹니다. 주요 개념으로는 최적화 사다리(프롬프트 → 컨텍스트 → 워크플로우 → 하네스 코드 → 옵티마이저 코드), 평가자와 제안자의 분리(the outside-the-loop invariant), 실패 기반 자기 편집 루프, 이중 분할 승인 게이트(held-in + held-out), 그리고 다양성 보존 메커니즘을 포함합니다. Claude Code, Cursor, Codex, GitHub Copilot 등 모든 주요 AI 에이전트 플랫폼에서 사용할 수 있으며, 시스템이 스스로 개선할 수 있는 권한을 부여할 때 지침을 제공합니다. 이 스킬은 하네스 엔지니어링(단일 루프 제어), 평가(메트릭 설계), 고급 평가(판사 설계), 호스티드 에이전트(원격 샌드박스)와 같은 인접 스킬들과 명확히 구분됩니다.

지원 대상~Claude Code~Codex CLI~Cursor✓Antigravity
npx skills add https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/self-improvement-loops

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

자기 개선 루프 (Self-Improvement Loops)

이 스킬은 하네스 자체가 최적화 대상이 되는 시스템을 다룹니다: 에이전트가 자신의 실패를 마이닝하고 자신의 스캐폴드를 편집하거나, 메타-에이전트가 하네스 코드를 검색하거나, 워크플로우 후보군이 평가자에 대해 진화하거나, 컨텍스트를 생성하는 메커니즘 자체가 버전 관리되고 개선되는 경우입니다. 설계 질문은 "하나의 루프를 어떻게 제어할 것인가"(하네스 엔지니어링)에서 "루프가 어떻게 스스로를 다시 작성하면서도, 루프를 안내하는 신호를 오염시키지 않을 것인가"로 바뀝니다.

모든 공개된 시스템에 걸친 제약 조건: 루프는 주어진 신호를 최적화하며, 그 신호 자체의 약점까지도 최적화합니다. 메트릭과 의도 사이의 모든 간극을 옵티마이저가 찾을 것이라고 가정하고 루프를 설계하십시오.

활성화 시점

다음과 같은 경우 이 스킬을 활성화하십시오:

  • 에이전트가 마이닝된 실패 패턴을 기반으로 자신의 하네스, 프롬프트, 컨텍스트 플레이북 또는 워크플로우에 대한 편집을 제안하는 루프를 구축할 때
  • 하네스 또는 스캐폴드 코드에 대한 메타-레벨 검색을 설계할 때: 메타-에이전트 검색, 워크플로우 그래프에 대한 트리 검색, LLM 변이 연산자를 사용한 진화적 프로그램 검색
  • 자기 수정 에이전트 시스템에 대한 승인 기준을 선택할 때
  • 컨텍스트를 관리하는 메커니즘(스킬, 플레이북 또는 컨텍스트 함수)을 수동 편집 대신 진화시킬 때
  • 악화되는 자기 개선 루프를 진단할 때: 보상 해킹, 다양성 붕괴, 컨텍스트 붕괴, 또는 침묵하는 정체
  • 반복되는 실패가 최적화 사다리의 어떤 수준(프롬프트, 컨텍스트, 워크플로우, 하네스 코드, 옵티마이저 코드)에서 수정되어야 하는지 결정할 때

다른 스킬이 담당하는 인접 작업에는 이 스킬을 활성화하지 마십시오:

  • 수정되지 않는 단일 자율 루프의 거버넌스: 잠금 및 편집 가능한 표면, 내구성 있는 로그, 롤백, 참신성 게이트, PR 준비 및 인간 승인 경계는 harness-engineering에 속합니다. 해당 스킬은 제어 표면을 정의합니다. 이 스킬은 표면 자체가 최적화 대상이 될 때 어떤 일이 발생하는지 정의합니다.
  • 후보를 평가하는 평가자, 회귀 스위트 또는 품질 게이트 구축: evaluation.
  • 후보 점수를 위한 LLM-as-judge 설계, 쌍 비교 및 편향 완화: advanced-evaluation.
  • 개선 루프 없는 일회성 토큰 효율성, 마스킹 또는 캐싱: context-optimization.
  • 루프 실행을 위한 원격 샌드박스 및 백그라운드 실행 인프라: hosted-agents.
  • 루프 구축 여부, 파이프라인 형태 및 비용 추정: project-development.
  • 루프가 최적화하는 자기 편집 컨텍스트 동작 및 효율성 보상: self-managed-context.

핵심 개념

최적화 사다리 (The Optimization Ladder)

공개된 자기 개선 시스템은 점점 더 깊은 대상을 목표로 합니다:

단계최적화 대상예시 시스템
1명령 프롬프트Promptbreeder, GEPA
2구조화된 컨텍스트ACE (항목화된 글머리 기호 플레이북)
3컨텍스트 메커니즘MCE (컨텍스트를 생성하는 스킬)
4워크플로우 그래프ADAS, AFlow
5하네스 코드Self-Harness (제한된 자기 편집), Meta-Harness, Darwin Godel Machine
6옵티마이저 코드STOP (개선자가 개선자를 개선함)

각 단계를 올라갈수록 더 큰 설계 공간과 더 큰 지렛대를 얻는 대신, 평가당 더 많은 비용과 게임 가능한 더 큰 표면이 발생합니다. 수정을 표현할 수 있는 가장 낮은 단계에서 반복되는 실패를 수정하십시오. 오래된 라이브러리 실패는 컨텍스트 수정이지 워크플로우 재작성이 아닙니다. 현재 단계의 실패가 후보 전체에 걸쳐 지속될 때만 위로 이동하십시오.

루프는 지능이 아니다 (The Loop Is Not the Intelligence)

재귀적 구조는 기본 모델 품질을 양방향으로 증폭합니다. 강력한 모델로 이득을 누적하는 동일한 재귀적 개선 설계는 약한 모델로 반복을 거듭할수록 평균 성능을 저하시킵니다 (claim-self-improvement-capability-threshold). 두 가지 시사점:

  1. 재귀를 활성화하기 전에 기능 검증을 실행하십시오: 고정된 수의 반복을 예약된 작업 세트에 대해 실행하고, 궤적이 하락하면 루프를 순 손실로 계산합니다.
  2. 퇴화 정체 모드를 감지하십시오. 입력을 변경하지 않고 조용히 반환하는 고장난 개선기는 집계 메트릭에서 안정성처럼 보입니다. 점수뿐만 아니라 편집 차이(diff)도 추적하십시오.

루프 외부 불변성 (The Outside-the-Loop Invariant)

평가자, 그 계측, 권한 제어 및 예산 집행은 루프가 수정할 수 있는 표면 외부에 있어야 합니다. 문서화된 모든 보상 해킹은 이 불변성을 위반했습니다: 에이전트가 환각 탐지기에 의존하는 로깅 마커를 제거했고, 검사 코드가 에이전트에게 표시될 때 해킹이 더 빈번해졌습니다 (claim-self-improvement-visible-evaluator-hacking). 점수 함수를 볼 수 있는 에이전트는 타이밍 함수를 덮어쓰고 평가자를 패치하여 완벽한 점수를 반환하도록 만들었습니다 (claim-self-improvement-scorer-visibility).

운영 규칙:

  • 프롬프트 텍스트에 명시된 제약 조건은 진화 과정에서 사라집니다. 예산, 권한 및 샌드박스 경계를 런타임에 적용하고, 변이 가능한 프롬프트나 하네스 코드에는 절대 적용하지 마십시오.
  • 점수 구현을 제안자에게 숨기십시오. 점수와 추적을 노출하고, 평가자 소스는 노출하지 마십시오.
  • OS 또는 컨테이너 수준에서 샌드박싱하십시오. 프레임워크 수준의 권한 게이트는 루프가 발견하는 사이드 채널을 통해 우회될 수 있습니다.
  • 발견된 모든 익스플로잇을 높은 점수가 아닌 실패한 후보로 처리하십시오. 그렇지 않으면 해킹이 루프를 안내하는 메트릭 자체를 부풀립니다.

경험적 수용, 논리적 근거 불필요 (Empirical Acceptance, Never Rationale)

측정된 증거에 기반해서만 자기 수정을 수용하십시오. 두 가지 분할을 사용하십시오: 대상 약점이 해결되었는지 확인하는 held-in 분할과, 제안자가 절대 보지 못하는 다른 것의 회귀가 없는지 확인하는 held-out 분할입니다. 가장 엄격한 공개 게이트는 두 분할 모두 회귀하지 않고 적어도 하나가 엄격히 개선될 때만 수용하며, 확률적 점수 하에서 반복 평가를 수행합니다. 이는 테스트된 모든 기본 모델에서 held-out 이득을 생성했습니다 (claim-self-improvement-two-split-acceptance). 합계가 개선되더라도 한 분할을 다른 분할과 교환하는 후보는 거부하십시오. 거부된 후보를 증거와 함께 기록하여 제안자가 재발견하지 않도록 하십시오.

파일 시스템 경험 아카이브 (Filesystem Experience Archive)

각 후보를 소스, 점수 및 원시 실행 추적을 포함하는 디렉토리로 저장하십시오. 제안자가 기록을 컨텍스트 창에 채우는 대신 검색 도구(파일 대상 grep 스타일 쿼리)로 아카이브를 탐색할 수 있도록 하십시오. 직접 절제 실험에서, 전체 원시 추적에 액세스할 수 있는 제안자는 점수 전용 제안자와 동일한 추적의 LLM 작성 요약을 제공받은 제안자보다 실질적으로 더 나은 성능을 보였습니다. 요약은 손실된 신호를 전혀 복구하지 못했으며 때로는 오히려 해를 끼쳤습니다 (claim-self-improvement-raw-trace-ablation). 아카이브를 미리 요약하지 마십시오. 콘텐츠가 아닌 액세스 경로를 큐레이션하십시오.

다양성 보존 (Diversity Preservation)

진화 및 RL 스타일 루프는 다양성이 엔지니어링되지 않으면 현재 최고의 변형으로 붕괴됩니다. 공개 시스템의 절제 실험에서 살아남은 메커니즘:

  • 핵심 기능을 유지하는 모든 후보의 아카이브를 유지하십시오. 최신 버전만 오름막 오르지 마십시오. 디딤돌은 발견된 후 여러 반복이 지나서야 성과를 냅니다.
  • 자손 수에 의해 할인된 적합도 압력으로 부모를 선택하십시오. 따라서 많이 마이닝된 후보는 우선 순위를 잃고, 모든 아카이브 구성원은 0이 아닌 선택 확률을 유지합니다.
  • 평가 비용을 지불하기 전에 임베딩 유사성으로 거의 중복된 제안을 거부하십시오.
  • 지역 최적해에서 탈출하기 위해 선택 분포에 시드 또는 빈 후보로 가는 지속적인 경로를 유지하십시오.

상세 주제

실패 기반 자기 편집 루프의 해부학 (Anatomy of a Failure-Driven Self-Edit Loop)

에이전트가 자신의 하네스를 개선하기 위한 가장 강력한 공개 패턴은 세 단계로 구성됩니다:

  1. 약점 마이닝. 실패한 추적을 세 부분으로 구성된 시그니처로 클러스터링하십시오: 검증자 수준 원인(거부된 것), 에이전트 행동의 인과 상태(실제로 책임이 있었는지), 추적이 노출하는 추상적 메커니즘(재사용 가능한 행동 패턴). 오류 문자열만으로 클러스터링하지 마십시오. 타임아웃은 관련 없는 메커니즘에 의해 공유되는 증상입니다. 주소 지정 가능성 필터를 적용하십시오: 작업 난이도나 기능 한계를 반영하는 클러스터는 하네스 결함이 아니므로 제외하십시오.
  2. 제한된 제안. 제안자에게 정확히 네 가지 입력을 제공하십시오: 선언된 편집 가능한 표면, 마이닝된 실패 패턴, 보존해야 하는 통과 행동 기록, 그리고 이전에 시도된 편집 요약. 제안은 최소(하나의 표면만 건드림), 병렬 후보 간에 상호 구별 가능하며, 대상 패턴, 예상 효과 및 회귀 위험을 명시하는 감사 기록을 수반해야 합니다.
  3. 검증 및 병합. 이중 분할 승인 게이트를 적용하십시오. 호환 가능한 승인된 편집을 병합하십시오. 거부된 편집은 활성 하네스를 변경하지 않고 기록하십시오. 모든 전환은 변경된 표면, 분할 결과 및 결정을 기록하여 계보를 감사 가능하게 만듭니다.

하네스 코드에 대한 메타-레벨 검색 (Meta-Level Search over Harness Code)

내부에서 실행 중인 하네스를 편집하는 대신 외부에서 전체 하네스 프로그램을 검색할 때:

  • 외부 루프를 최소로 유지하십시오: 수동 조정된 변이 연산자나 부모 선택 휴리스틱이 없습니다. 진단 및 편집 결정을 강력한 코딩 에이전트 제안자에게 위임하여 시스템이 코딩 에이전트의 개선과 함께 개선되도록 하십시오.
  • 처음부터가 아니라 사용 가능한 가장 강력한 하네스에서 초기화하십시오. 승리하는 편집은 일반적으로 작고 추가적입니다(환경 부트스트랩, 아티팩트 생성 명령). 반면 프롬프트 및 완료 흐름 재작성은 경험적으로 위험이 높습니다.
  • 하나의 스칼라로 붕괴시키지 말고 실제로 중요한 목표(정확도, 컨텍스트 비용, 지연 시간)에 대해 파레토 프론티어를 유지하십시오.
  • 수정 결과가 기록된 후보별 검색 메모리를 구성하십시오. 전체 아카이브를 제안자 프롬프트에 덤프하는 것은 기록이 커짐에 따라 급격히 저하됩니다. 크레딧 할당이 있는 노드별 경험 기록이 아카이브-인-컨텍스트 조건화보다 우수합니다.
  • 실행자 모델이 변경될 때 검색을 다시 실행하십시오. 발견된 하네스는 실행자에 의존하며 기본 모델 간에 자유롭게 전송되지 않습니다.

자기 개선으로서의 컨텍스트 진화 (Context Evolution as Self-Improvement)

스스로 업데이트하는 컨텍스트 플레이북은 입문 수준의 자기 개선 루프이며, 두 가지 명명된 실패 모드가 있습니다. 간결성 편향: 옵티마이저는 짧고 일반적인 지침으로 붕괴되어 가치를 전달한 도메인별 휴리스틱을 떨어뜨립니다. 컨텍스트 붕괴: 모델이 축적된 컨텍스트를 단일체로 재작성하도록 허용하면 한 단계에서 단 한 번에 적응 없는 기준선 아래로 비참하게 축소됩니다 (claim-self-improvement-context-collapse). 작동 패턴:

  • 컨텍스트를 안정적인 식별자와 유용/유해 카운터가 있는 항목화된 항목으로 표현하십시오.
  • 결정론적 비모델 로직에 의해 병합되는 증분 델타를 생성하십시오. 큐레이터는 전체 아티팩트를 절대 다시 작성하지 않습니다.
  • 임베딩 유사성으로 중복을 제거하고 주기적 또는 느리게 수행하십시오.
  • 전체 메커니즘을 피드백 품질에 게이트하십시오. 신뢰할 수 있는 실행 신호 또는 레이블 없이 자체 관리 컨텍스트는 정적 기준선 아래로 저하됩니다.

한 단계 위로, 컨텍스트를 생성하는 메커니즘(스킬: 정적 구성 요소 + 동적 연산자)을 생성된 컨텍스트와 별도로 버전 관리하고, 검증 분할에 대해서만 메커니즘을 진화시키며, 각 반복을 이전 최고 아티팩트와 그 롤아웃 결과로 웜 스타트하십시오. 메커니즘 과적합을 포착하기 위해 각 반복에서 훈련-검증 간격을 명시적으로 확인하십시오.

인간의 몫 (What Belongs to Humans)

인간은 루프 밖으로 나가는 대신 스택 위로 이동합니다. 인간의 결정 지점을 위해 남겨두십시오: 평가자 또는 승인 게이트 변경, 편집 가능한 표면 확장, 발견된 하네스의 프로덕션 승격, 연구 방향에 대한 포기 결정. 주로 성공적인 결과에 대해 훈련된 모델은 작업 라인을 포기해야 하는 시점에 대해 제대로 보정되지 않습니다. 보존된 부정적 결과는 후속 작업의 검색 공간을 줄이는 가장 저렴한 방법입니다. 실패한 후보를 일급 아티팩트로 만드십시오.

실용 지침

루프 준비 체크리스트 (Loop-Readiness Checklist)

다음 모든 항목이 충족될 때까지 자기 수정을 활성화하지 마십시오:

  1. 빠르고 결정론적이며 자동화 가능한 평가자가 존재합니다. 느리거나 모호하거나 판사 전용 평가가 있는 도메인은 이 루프 계열이 실패하는 곳입니다.
  2. 제안자가 절대 보지 못하는 held-out 분할이 존재하며, 루프가 과적합될 만큼 오래 실행되면 새로 고쳐집니다.
  3. 예산, 권한 및 샌드박싱은 모든 편집 가능한 표면 외부의 런타임에 의해 적용됩니다.
  4. 편집 가능한 표면이 명시적으로 선언됩니다(표시된 영역 또는 구성 지점). 다른 모든 것은 잠겨 있으며, 각 후보 후에 불변성이 프로그래밍 방식으로 다시 확인됩니다.
  5. 모든 차이의 전체 계보를 포함하는 아카이브가 존재합니다. 감사는 적합도 신호가 아닌 차이와 원시 추적을 읽습니다.
  6. 평가 지출이 단계적으로 이루어집니다: 전체 평가 전에 저렴한 인터페이스 또는 연기 검사, 점수에 노이즈가 있는 경우 반복 실행.
  7. 기능 검증 실행을 통해 기본 모델이 이 작업 계열에 대한 재귀 임계값을 충족하는지 확인했습니다.
  8. 인간의 결정 지점이 평가자 변경, 표면 확장 및 승격을 위해 연결되어 있습니다.

루프 수준 선택 (Choosing the Loop Level)

반복되는 실패수정 위치루프 패턴
누락된 도메인 휴리스틱, 반복되는 알려진 실수구조화된 컨텍스트델타 업데이트가 있는 항목화된 플레이북
컨텍스트 플레이북 자체가 작업 전반에서 정체됨컨텍스트 메커니즘검증 데이터에 대한 스킬 진화
잘못된 시퀀싱, 누락된 검증 단계워크플로우노드별 경험으로 워크플로우 그래프 검색
실패 클러스터가 워크플로우 후보 전반에서 지속됨하네스 코드실패 기반 제한된 자기 편집 또는 메타-레벨 검색
개선 전략 자체가 약함옵티마이저 코드강력한 모델과 잠긴 메타-평가에서만

예제

예제 1: 이중 분할 승인 게이트 (Two-split acceptance gate)

def accept(candidate, baseline, held_in, held_out, repeats=3):
    d_in = mean_score(candidate, held_in, repeats) - mean_score(baseline, held_in, repeats)
    d_out = mean_score(candidate, held_out, repeats) - mean_score(baseline, held_out, repeats)
    if d_in < 0 or d_out < 0:
        return False              # no regression on either split
    return max(d_in, d_out) > 0  # strict improvement

…

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

advanced-evaluation

This skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias mitigation, confidence scoring, and automated quality assessment.

bdi-mental-states

This skill should be used when modeling agent mental states with BDI concepts: beliefs, desires, intentions, RDF-to-belief transformations, rational agency traces, cognitive agents, BDI ontologies, and neuro-symbolic AI integration.

book-sft-pipeline

This skill should be used for book-to-SFT pipelines: ePub extraction, literary segmentation, author-voice dataset construction, style-transfer training, LoRA workflows, and model evaluation for voice replication.

comprehensive-research-agent

Ensure thorough validation, error recovery, and transparent reasoning in research tasks with multiple tool calls

context-compression

This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve decisions, files, risks, and next actions.

context-degradation

This skill should be used for diagnosing and mitigating context degradation: lost-in-middle failures, context poisoning, context clash, context confusion, attention-pattern issues, and agent performance degradation caused by accumulated or conflicting context.

context-fundamentals

This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how attention mechanics work, the U-shaped attention curve, why context quality matters more than quantity, and the mental models needed to interpret every other context-engineering decision. Use this for conceptual explanation, onboarding, and background reading. Route operational work to the specialized skills: debugging attention failures goes to context-degradation, token-efficiency work goes to context-optimization, conversation summarization goes to context-compression, and project-shape decisions go to project-development.

context-optimization

This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost reduction, retrieval scoping, and extending effective context capacity without lowering answer quality.

evaluation

This skill should be used when building agent evaluation systems: deterministic checks, regression suites, multi-dimensional rubrics, quality gates, production monitoring, baseline comparison, and outcome measurement for agent pipelines.

filesystem-context

This skill should be used when agent work needs file-backed context: durable scratchpads, tool-output offloading, just-in-time discovery, cross-agent handoff files, filesystem memory, or cleanup policies for context stored outside the prompt.

harness-engineering

This skill should be used when designing autonomous agent harnesses: research loops, evaluation scaffolds, locked and editable surfaces, durable logs, novelty gates, pruning, rollback, PR preparation, and human approval boundaries.

hosted-agents

This skill should be used when designing hosted or background agent infrastructure: sandboxed execution, remote coding environments, warm pools, session persistence, multiplayer collaboration, self-spawning agents, or Modal-style sandboxes.

instruction-surface-security

Hardens agent runtimes against persistent prompt injection or unauthorized changes to instructions and permissions. Use to audit what agents auto-load, design reviewed activation for project rules, skills, memory, or tool configuration, and test whether trust boundaries hold after reload, restart, or delegation.

latent-briefing

This skill should be used when the user asks to "share memory between agents", "KV cache compaction for multi-agent", "orchestrator worker context", "latent briefing", "reduce worker tokens", "cross-agent memory without summarization", or discusses Attention Matching compaction, recursive language models with workers, or token explosion in hierarchical agents.

long-horizon-prompting

This skill should be used when writing, enhancing, or evaluating the launch prompt for a long-running autonomous agent or a parallel multi-agent orchestration attacking a hard problem: pseudo-formal task briefs that define terms and an exact success predicate linguistically, enumerate non-counting outcomes, set persistence rules with explicit stop and return conditions and effort floors, manage a diverse portfolio of parallel approaches with an approach registry and blocked-route bookkeeping, and gate the return on adversarial audit. Route agent topology and coordination protocols to multi-agent-patterns, runtime control surfaces and loop governance to harness-engineering, evaluator and quality-gate construction to evaluation, judge design to advanced-evaluation, and compaction or memory mechanics to context-compression and memory-systems.

memory-systems

This skill should be used for persistent semantic memory in agent systems: cross-session knowledge retention, entity tracking, temporal validity, graph or vector retrieval, memory consolidation, and memory benchmark selection. Route file-backed scratchpads to filesystem-context, handoff summaries to context-compression, and token-efficiency tactics to context-optimization.

multi-agent-patterns

This skill should be used when designing multi-agent systems that need context isolation, supervisor or swarm coordination, explicit handoffs, parallel execution, or a decision on whether multiple agents are justified.

project-development

This skill should be used for project-level decisions about LLM-powered systems: whether an LLM is the right primitive for the task at hand, the shape of a multi-stage batch or agent pipeline, token and cost estimation, choosing between single-agent and multi-agent at the project level, structured output design for downstream parsing, and structuring agent-assisted iteration. Use this when the unit of work is a whole project or a multi-stage pipeline. Route individual tool design to tool-design and individual skill-loading or context-budget tactics to context-optimization.

self-managed-context

This skill should be used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context exposed as an editable file the model rewrites with code tools, model-driven eviction and in-place updates, the harness invariants that keep self-editing safe (pinned prefix, edit gate, edit receipts, budget readouts, rollback on overflow), the prefix-cache cost of mid-context edits, and steering or training the model's own context-editing strategy. Route note content and fixed-threshold summarization to context-compression, cache-stable layout under harness control to context-optimization, file offloading to filesystem-context, and loop governance to self-improvement-loops.

tool-design

This skill should be used for the tool-interface layer of an agent system specifically: writing tool descriptions agents can route on, designing tool schemas and response formats, naming conventions, actionable error recovery messages, MCP server design, tool-set consolidation, and deciding when to add or remove an individual tool. Use this when the unit of work is a single tool or a set of tools. Route project-shape, pipeline architecture, and task-model-fit decisions to project-development; route deciding whether to introduce sub-agents to multi-agent-patterns.

관련 스킬