Logo de Skill Evolve

Skill Evolve

Comunidade
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.

Visão geral

Publicado porLeeYudok
Repositórioagents-scaffold
Nome da habilidadeskill-evolve
Estrelas
38
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por LeeYudok no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Skill Evolve no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/LeeYudok/agents-scaffold/tree/main/presets/lang/en/base/.claude/skills/skill-evolve
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Skill Evolve em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Skill Evolve automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Skill Evolve não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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).

Perguntas frequentes

O que a habilidade de IA Skill Evolve faz?

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.

Por que usar Skill Evolve no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Skill Evolve é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Skill Evolve no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/LeeYudok/agents-scaffold/tree/main/presets/lang/en/base/.claude/skills/skill-evolve. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Skill Evolve?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Skill Evolve?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Skill Evolve com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Skill Evolve é gratuita?

Sim. A habilidade é publicada no GitHub por LeeYudok sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇