Logo van Skill Evolve

Skill Evolve

Community
LeeYudok
skill-evolve

A meta-skill that turns user feedback or an agent's failure cases into rules in this repository's skill SKILL.md files. Use on requests like "fix the skill" (스킬 고쳐줘), "bake this mistake into the skill" (이 실수 스킬에 박아줘), "put it in the skill so it doesn't happen again" (다음부터 안 그러게 스킬에 반영해), "/skill-evolve <skill-name> <feedback>", or when the same mistake happens twice and the skill document needs fixing. Proceeds in the order issue registration → batch branch → tests → user approval → commit.

Overzicht

UitgeverLeeYudok
Repositoryagents-scaffold
Skillnaamskill-evolve
Sterren
38
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door LeeYudok op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Skill Evolve in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/LeeYudok/agents-scaffold/tree/main/presets/lang/en/base/.claude/skills/skill-evolve
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold.git /tmp/agents-scaffold
mkdir -p .claude/skills
cp -r /tmp/agents-scaffold/presets/lang/en/base/.claude/skills/skill-evolve .claude/skills/skill-evolve
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Skill Evolve in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Skill Evolve automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Skill Evolve niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Role

You are a meta-agent that evolves skills by converting an agent's failures and the user's feedback into structured guidance. You permanently engrave lessons into the skill document (SKILL.md) so that a mistake made once is never repeated. Going beyond simple text edits, you run an expert-grade, safe workflow: isolated branch creation, enforced convention checks, and apply-after-confirmation.

Trigger

/skill-evolve <skill-name> <feedback>

Workflow

Follow the procedure below strictly in order. No step is skipped.

Phase 1. Diagnose and isolate

  1. Check state: Confirm the working tree is clean (git status -s is empty). python3 <skill-path>/scripts/evolve_guard.py clean does the same thing; if the tree is not clean, it exits 1 and shows the list of changes.
  2. Issue first: Create an issue in the repository tracker. In the body, write the original feedback, the skill to fix, and who makes the call. Use this number in the branch, commit and PR.
  3. Branch: Do not commit directly to main. If there is a batch branch in progress (batch/<agent>-<YYYYMMDD>-<8-digit hex>), build on it; otherwise create a new one from main. Generate the hex fresh for each batch with openssl rand -hex 4 (the same rule as yd-git-ship — a sequence suffix like -2 collides between sessions).
  4. Read the target: Read the whole .claude/skills/<skill-name>/SKILL.md (for opt-in skills, presets/skills/personal/.claude/skills/<skill-name>/SKILL.md) to understand its current content. In an installed project, .agents/skills/<skill-name>/SKILL.md is the source and .claude/skills is a link to it.

Phase 2. Analyze and define rules

Analyze the feedback and recent execution logs to derive a clear rule: what went wrong and how to behave from now on.

  • Add a new gotcha (a common mistake) to the ### Learned warnings section.
  • If an existing procedure is flawed, update the process section.
  • If there is a wrong command template, fix it.

Phase 3. Edit the document (strict editing rules)

Edit SKILL.md (with tools) following these principles so that the repository's skill conventions (.claude/skills/README.md) are not broken.

  • Keep the frontmatter: Do not add keys that were not there. A new skill uses only name and description (keys already present in an existing skill, such as user-invocable, are kept).
  • No emoji: Emoji are strictly forbidden in outputs and skill documents.
  • Preserve existing warnings: Existing warnings in Learned warnings are not deleted unless explicitly invalidated; they accumulate. A date tag ((YYYY-MM-DD)) is mandatory.
  • Apply edits with an exact file-editing tool such as replace_file_content.

After editing, check the rules above mechanically with python3 <skill-path>/scripts/evolve_guard.py check <skill-name>.

  • A Learned warnings line must have the form - (YYYY-MM-DD) ...; a date that does not exist on the calendar is a violation.
  • A warning that existed at the base (--base, default HEAD) and has disappeared is a violation. If the user explicitly invalidated the warning, add --allow-removal.
  • When the task adds a new warning, also check that the section exists with --require-section.
  • If there is a violation, the exit code is 1.
  • If the skill name is missing or escapes the path, the exit code is 2.

Phase 4. Automated verification (core logic)

Right after the document edit lands on disk, always run the repository tests to confirm mechanically that the structural conventions (frontmatter, document assertions and claims, layout, etc.) were not broken. In this repository that is scripts/dev/run-skill-tests.sh (per-skill tests) and python3 -m unittest discover -s tests -p 'test_*.py' (shared conventions); in other repositories it is that repository's runner (scripts/run_tests.sh, etc.).

  • If the tests fail (exit code > 0), revert only the file this skill edited (git restore -- <path to that skill's SKILL.md>). A pathless git restore . wipes other changes too. python3 <skill-path>/scripts/evolve_guard.py verify <skill-name> runs the tests and reverts in one go, and exits 1 on failure. If the tests pass, the edit is left in place. If no test runner can be found, it exits 2 and the edit is also left in place. Then analyze the cause and edit again. Do not move on to the next step in a violating state.
  • Separately from structural verification, run a mini eval: run the modified skill on the same kind of input that triggered the improvement, and confirm via a before/after comparison that the point that failed before the improvement is actually fixed. (Cherry-picked from the same-named skill in claude-scaffold, 2026-08-16)

Phase 5. Review and commit

  1. After the tests pass, clearly report the changes (diff summary) to the user and get approval to commit.
  2. When the user approves (Y), git add only the edited files, naming them explicitly (git add . and -A are forbidden). The commit title is [<model-name>] docs(<skill-name>): <improvement summary> (#N), and the author is an agent account (-c user.name=claude-ai, etc.) unless a human is committing.
  3. Push and open a PR (or MR). Put Closes #N in the body, and merge with a merge commit (no squash). If the repository has its own rules, follow them.

Output format

When asking the user for approval after the tests pass, use the format below.

text
Proposed improvement
Existing: [quote]
Proposed: [revision]

diff summary:
+ summary of added/changed content
- summary of removed content

Repository tests: [passed]

Commit these changes? (Y/n)

Learned warnings

  • (2026-06-20) Absorbed the external skill-evolve skill: added quoting of existing content and the diff output format.
  • (2026-08-01) Adjusted the target file path (skills/<skill-name>/SKILL.md) and the frontmatter format (only name and description allowed) to fit the doksam-skills structure.
  • (2026-08-01) Flawless upgrade: applied the meta-agent workflow — preventing direct commits, branch isolation, and mandatory tests (run_tests.sh).
  • (2026-10-04) Renamed to yd-skill-evolve. Dropped the evolve/ branch and git add ., and aligned with the global git rules: issue first → batch branch → explicit-file commit → PR with Closes #N (#169).
  • (2026-10-05) Use an 8-digit hex instead of a batch-branch sequence number (-2). Two sessions on the same day picked the same sequence number and collided. Aligned with yd-git-ship (#205).
  • (2026-10-24) With doksam-skills merged into agents-scaffold, this skill became the source. The name is skill-evolve, the target paths are .claude/skills/<skill-name>/ and presets/skills/personal/.claude/skills/<skill-name>/, and the default test runner is scripts/dev/run-skill-tests.sh. Existing skills' frontmatter keys are kept and only new keys are blocked (agents-scaffold #78).

Veelgestelde vragen

Wat doet de AI-skill Skill Evolve?

A meta-skill that turns user feedback or an agent's failure cases into rules in this repository's skill SKILL.md files. Use on requests like "fix the skill" (스킬 고쳐줘), "bake this mistake into the skill" (이 실수 스킬에 박아줘), "put it in the skill so it doesn't happen again" (다음부터 안 그러게 스킬에 반영해), "/skill-evolve <skill-name> <feedback>", or when the same mistake happens twice and the skill document needs fixing. Proceeds in the order issue registration → batch branch → tests → user approval → commit.

Waarom Skill Evolve gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Skill Evolve bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Skill Evolve in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/LeeYudok/agents-scaffold/tree/main/presets/lang/en/base/.claude/skills/skill-evolve. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Skill Evolve gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Skill Evolve gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Skill Evolve ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Skill Evolve gratis?

Ja. Deze skill is door LeeYudok op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇