Logo de Self Improve

Self Improve

Organização
aeonfun
self-improve

Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed

Visão geral

Publicado poraeonfun
Repositórioaeon
Nome da habilidadeself-improve
Estrelas
771
Forks
280
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

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

  • Sem arquivos extras

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

  • Código aberto

    Publicada por aeonfun no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Self Improve 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 abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/aeonfun/aeon/tree/main/skills/self-improve
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do 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/aeonfun/aeon.git /tmp/aeon
mkdir -p .claude/skills
cp -r /tmp/aeon/skills/self-improve .claude/skills/self-improve
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Self Improve 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 Self Improve 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, Self Improve 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á.

${var} — Mode selector, optionally with a focus area, as mode or mode:focus.

  • empty or improve → improve mode: find and fix the highest-impact issue from recent logs, then propose + apply the fix via PR (default).
  • improve:<area> (or a bare area like notifications) → improve mode focused on that specific area (e.g. heartbeat, notifications, memory).
  • audit → audit mode: review what the agent did, what failed, and what to improve; save a full review and apply safe, obvious fixes directly.
  • audit:<area> → audit mode focused on that specific area (e.g. reliability, memory).

Setup (both modes)

Parse ${var} into a mode and an optional focus area:

  • Split on the first : — the part before is the mode, the part after is the focus.
  • If the mode is audit → run the Mode: audit branch below (focus = optional area to concentrate the review on).
  • If the mode is improve or empty → run the Mode: improve branch below (focus = optional area to fix).
  • If the token is neither keyword but non-empty (e.g. notifications) → treat it as improve mode with the whole ${var} as the focus area (backward compatibility).

Then:

  • Read memory/MEMORY.md for high-level context and goals.
  • Read recent memory/logs/ (improve mode: last 2 days; audit mode: last 7 days) for errors, failures, and quality issues.

If a focus area is set, concentrate the run on that area.


Mode: improve (default)

Improve the agent itself based on recent performance. ONE change per run.

Steps

  1. Check for open improvement PRs — don't pile up unreviewed work:

    bash
    OPEN_PRS=$(gh pr list --state open --json title,number --jq '[.[] | select(.title | test("^(fix|feat|chore)\\("; "i"))] | length')

    If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit. Don't create more debt.

  2. Identify what to improve. If the focus area is empty, scan for issues:

    • Read memory/logs/ from last 2 days — look for:
      • Skills that failed or produced low-quality output
      • Errors, timeouts, "zero output", rate limiting
      • Notifications that didn't send or were truncated
      • Memory consolidation problems
    • Read memory/cron-state.json for skills with low success rates
    • Read output/articles/repo-actions-*.md from last 7 days for self-improvement ideas
    • Pick the highest-impact, smallest-effort fix. One change per run.
  3. Understand the area you're fixing. Read the relevant files:

    • Skills: skills/{name}/SKILL.md
    • Config: aeon.yml
    • Workflows: .github/workflows/*.yml
    • Agent instructions: CLAUDE.md
    • Dashboard: apps/dashboard/ (if UI-related)

    Understand the current behavior before changing anything.

  4. Implement the fix. Make minimal, targeted changes:

    • If a skill prompt is unclear → rewrite the ambiguous section
    • If a skill is hitting rate limits → add backoff logic or reduce frequency
    • If output quality is low → tighten the prompt, add examples, clarify format
    • If a notification is broken → fix the formatting or truncation
    • If a config is wrong → fix aeon.yml

    Do NOT:

    • Rewrite entire skills from scratch
    • Add new features (that's create-skill's job)
    • Change the core architecture
    • Modify secrets or environment variables

4b. Dry-run gate. Before opening the PR, execute the improved skill once with synthetic secrets, so a regression never reaches production having run only with real credentials. Let $skill be the skill you edited:

bash
DRYRUN_VERDICT="output/.dry-run/$skill.json" bash scripts/dry-run.sh run "$skill" || true

Read output/.dry-run/$skill.json: passed: true (or skipped: true, when the SKILL_DRYRUN repo variable is 0) continues. passed: false means revert the edit and stop (log self-improve: dry-run gate failed for $skill with the verdict reasons[]; do not open the PR). Put the verdict under a ## Dry-run section in the PR body. The gate is structural (exit, output, declared mode, declared requires:); no real credential enters the run.

  1. Create a branch and PR:

    bash
    git checkout -b fix/self-improve-${today}
    git add -A
    git commit -m "fix: [description of what was improved]
    
    Problem: [what was failing/degraded]
    Fix: [what was changed]
    Evidence: [log entries, error messages, success rates]"

    Open a PR:

    bash
    gh pr create --title "fix: [short description]" \
      --body "## Problem
    [What was failing or degraded — cite specific log entries or error messages]
    
    ## Fix
    [What was changed and why]
    
    ## Evidence
    - [Relevant log entries]
    - [Success rate before: X%]
    - [Error pattern: ...]"
  2. Notify. Send via ./notify:

    self-improve: [what was fixed] — PR: [url]
  3. Log (see the shared ## Log section below).

Guidelines

  • ONE fix per run. Don't bundle unrelated changes.
  • Smallest viable fix. A one-line prompt tweak > a full rewrite.
  • If you can't find anything to improve, that's fine. Log "self-improve: everything looks healthy" and exit.
  • Never modify workflow files (.github/workflows/) — only skill files, CLAUDE.md, and aeon.yml.
  • Don't create circular improvements (e.g. don't improve self-improve).

Mode: audit

Audit what the agent did, what failed, and what to improve. Produce a full review, apply safe fixes, and surface recommendations.

Steps

Read memory/MEMORY.md for context and goals. Read ALL memory/logs/ entries from the last 7 days.

  1. Audit quality of outputs:
    • Read recent articles in output/articles/ — are they substantive or formulaic?
    • Check recent notifications in logs — were they useful or noisy?
    • Review any PR comments posted — were they actionable?
  2. Audit reliability:
    • How many skills ran vs expected?
    • Any repeated errors or patterns of failure?
    • Are monitors catching real issues or always returning OK?
  3. Audit memory hygiene:
    • Is MEMORY.md current and under 50 lines?
    • Are logs structured consistently?
    • Any stale data that should be cleaned?
  4. Generate improvement recommendations:
    • Skills to add, modify, or disable
    • Schedule adjustments
    • Config changes (feeds, repos, addresses to add/remove)
    • Quality improvements (better prompts, new data sources)
  5. Save the full review to output/articles/self-review-${today}.md.
  6. Apply any safe, obvious improvements directly:
    • Prune stale MEMORY.md entries
    • Update feeds.yml if feeds are dead
  7. Send a summary via ./notify:
    *Self Review — ${today}*
    Quality: assessment
    Reliability: X/Y skills ran
    Actions taken: what was fixed
    Recommendations: top 2-3 suggestions
  8. Log (see the shared ## Log section below).

Log

After completing the run, append a log entry to memory/logs/${today}.md under a single ### self-improve heading, with a discriminator line naming the mode that ran:

### self-improve
- **Mode:** improve  (or: audit)

Then, for improve mode:

- **Target:** [what was improved]
- **Problem:** [what was failing]
- **Fix:** [what was changed]
- **PR:** [url]

For audit mode:

- **Review:** output/articles/self-review-${today}.md
- **Quality:** [assessment]
- **Reliability:** [X/Y skills ran]
- **Actions taken:** [what was fixed directly]
- **Recommendations:** [top 2-3]

Network note

Write mode. Both branches touch the repo (improve opens a PR via git/gh; audit writes output/articles/self-review-${today}.md and may prune MEMORY.md/feeds.yml). For the GitHub API, use the gh CLI (gh pr list, gh pr create) — it handles auth internally, so no $SECRET ever touches the command line (a bare secret on the line is what the Bash permission layer refuses; there is no network sandbox). No pre-fetch or post-process side-channel is needed.

Perguntas frequentes

O que a habilidade de IA Self Improve faz?

Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed

Por que usar Self Improve no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Self Improve é escrita 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. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Self Improve no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/aeonfun/aeon/tree/main/skills/self-improve. 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 Self Improve?

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 Self Improve?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Self Improve 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 Self Improve é gratuita?

Sim. A habilidade é publicada no GitHub por aeonfun 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, templates 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 que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: 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 lista completa

Crie seu próprio espaço de trabalho com IA agora

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