yd-skill-evolve

yd-skill-evolve is a skill for Codex from LeeYudok/doksam-skills. It costs 134 tokens per session (1,950 once invoked), scanned A, original, MIT.

A maintenance workflow for improving an agent skill's instruction file from user feedback or repeated failures. It uses an issue, an isolated branch, tests, and approval before applying the change.

In plain words
What is it for?
Use it to update a skill's `SKILL.md`, record learned warnings, validate the edit, and prepare it for review and commit.
Why use it?
It turns recurring mistakes into documented rules instead of relying on the agent to remember them informally.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to update a skill's SKILL.md, record learned warnings, validate the edit, and prepare it for review and commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeyudok/doksam-skills/yd-skill-evolve
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeeYudok/doksam-skills --skill yd-skill-evolve
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/doksam-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yd-skill-evolve

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeyudok/doksam-skills/yd-skill-evolve/github.svg)](https://agentmods.dev/skills/leeyudok/doksam-skills/yd-skill-evolve)
Your own site
<a href="https://agentmods.dev/skills/leeyudok/doksam-skills/yd-skill-evolve"><img src="https://agentmods.dev/badge/skills/leeyudok/doksam-skills/yd-skill-evolve/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yd-skill-evolve

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/doksam-skills/yd-skill-evolve"><img src="https://agentmods.dev/badge/skills/leeyudok/doksam-skills/yd-skill-evolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,950 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.01950
Opus 5.5 $0.00054 $0.00780
Sonnet 5.5 $0.00027 $0.00390
Haiku 4.5 $0.00013 $0.00195

Measured 14d ago against content hash 405a4c7b6d2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yd-skill-evolve scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/evolve_guard.py, tests/test_evolve_guard.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/yd-skill-evolve/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role

당신은 에이전트의 실패 경험과 사용자의 피드백을 구조적인 지침으로 변환해 스킬을 진화시키는 메타 에이전트다. 한 번 저지른 실수를 두 번 다시 반복하지 않도록 스킬 문서(SKILL.md)에 교훈을 영구히 각인한다. 단순한 텍스트 수정을 넘어, 격리된 브랜치 생성, 규약 강제 검증, 확인 후 적용이라는 전문가 수준의 안전한 워크플로우를 관장한다.

트리거

/yd-skill-evolve <스킬명> <피드백>

Workflow

아래 절차를 엄격하게 순서대로 수행한다. 건너뛰는 단계는 없다.

Phase 1. 진단 및 격리

  1. 상태 점검: 현재 워킹 트리가 깨끗한지(git status -s가 비어 있는지) 확인한다. python3 <스킬경로>/scripts/evolve_guard.py clean 이 같은 일을 하며, 비어 있지 않으면 exit 1 로 변경 목록을 보여 준다.
  2. 이슈 먼저: 저장소 트래커에 이슈를 만든다. 본문에 피드백 원문, 고칠 스킬, 누가 판정하는지를 적는다. 이 번호를 브랜치·커밋·PR 에 쓴다.
  3. 브랜치: main 에 직접 커밋하지 않는다. 진행 중인 배치 브랜치(batch/<에이전트>-<YYYYMMDD>-<8자리 hex>)가 있으면 거기에 얹고, 없으면 main 에서 새로 만든다. hex 는 openssl rand -hex 4 로 배치마다 새로 만든다(yd-git-ship 과 같은 규칙 — 순번 -2 는 세션끼리 겹친다).
  4. 대상 읽기: skills/<스킬명>/SKILL.md 전체를 읽어 현재 내용을 파악한다.

Phase 2. 분석 및 규칙 제정

피드백과 최근 실행 로그를 분석해 무엇이 문제였는지, 앞으로 어떻게 행동해야 하는지 명확한 규칙(Rule)으로 도출한다.

  • 새로운 gotcha(자주 하는 실수)는 ### Learned warnings 섹션에 추가한다.
  • 기존 절차의 결함이라면 프로세스 섹션을 업데이트한다.
  • 잘못된 명령어 템플릿이 있다면 수정한다.

Phase 3. 문서 수정 (엄격한 편집 규칙)

doksam-skills 저장소의 엄격한 규약을 어기지 않도록 다음 원칙을 준수하여 SKILL.md를 편집(도구 활용)한다.

  • Frontmatter 유지: name과 description 외의 키를 임의로 추가하지 않는다.
  • 이모지 금지: 산출물 및 스킬 문서 내에 이모지 사용을 엄격히 금지한다.
  • 기존 경고 보존: Learned warnings의 기존 경고는 명시적으로 무효화된 것이 아니면 삭제하지 않고 누적한다. 날짜 태그((YYYY-MM-DD))를 반드시 포함한다.
  • 편집은 replace_file_content 등의 정확한 파일 편집 도구를 사용해 반영한다.

편집을 마치면 python3 <스킬경로>/scripts/evolve_guard.py check <스킬명> 으로 위 규칙을 기계적으로 확인한다.

  • Learned warnings 줄은 - (YYYY-MM-DD) ... 형식이어야 하고, 달력에 없는 날짜는 위반이다.
  • 기준(--base, 기본 HEAD)에 있던 경고가 사라졌으면 위반이다. 사용자가 명시적으로 무효화한 경고라면 --allow-removal 을 붙인다.
  • 새 경고를 넣는 작업이면 --require-section 으로 섹션이 있는지도 본다.
  • 위반이 있으면 exit 1 이다.
  • 스킬 이름이 없거나 경로를 벗어나면 exit 2 이다.

Phase 4. 자동 검증 (핵심 로직)

문서 수정을 디스크에 반영한 직후, 반드시 ./scripts/run_tests.sh를 실행하여 저장소의 구조적 규약(Frontmatter, 디렉터리 레이아웃, 심링크 등)을 깨뜨리지 않았는지 기계적으로 확인한다.

  • 테스트가 실패하면(exit code > 0), 이 스킬이 고친 파일만 되돌린다(git restore -- skills/<스킬명>/SKILL.md). 경로 없는 git restore . 는 다른 변경까지 지운다. python3 <스킬경로>/scripts/evolve_guard.py verify <스킬명> 이 테스트 실행과 되돌리기를 한 번에 하고, 실패하면 exit 1 이다. 통과하면 편집을 그대로 둔다. 테스트 실행기를 찾지 못하면 exit 2 이고 편집도 그대로 둔다. 그다음 원인을 분석하고 다시 수정한다. 위반 상태로 다음 단계로 넘어가지 않는다.
  • 구조 검증과 별개로 미니 eval: 개선 계기가 된 것과 같은 유형의 입력으로 수정된 스킬을 실행해, 개선 전 실패했던 지점이 실제로 고쳐졌는지 전후 비교로 확인한다. (claude-scaffold 동명 스킬에서 체리픽, 2026-08-16)

Read the full file on GitHub · 86 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed 405a4c7b6d2f
  2. 20d ago First seen · 86 lines · 134 tokens per session scan A ab6475625f2e

Subscribe to this mod's changes

yd-skill-evolve is a skill published in the GitHub repository LeeYudok/doksam-skills (14 stars, last pushed 7d ago), licensed MIT. It adds 134 tokens to every session and 1,950 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.

Related

Other skills, from other repositories