Logo van Self Improving Agent

Self Improving Agent

Organisatie
zeroclaw-labs
self-improving-agent

Agent die zijn eigen prestaties evalueert en prompts herhaaldelijk bijstelt. Beoordeelt agentresultaten aan de hand van vastgestelde criteria, stelt zwakke punten vast en stelt aanpassingen aan prompts voor om de resultaten te verbeteren. Gebruik dit wanneer de gebruiker de prestaties van agentprompts wil evalueren, benchmarken of verbeteren.

Add to TypingMind

Overzicht

Uitgeverzeroclaw-labs
Repositoryzeroclaw-skills
Skillnaamself-improving-agent
Sterren
66
Forks
54
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit 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 zeroclaw-labs op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Self Improving Agent in TypingMind om deze met elk 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. De app 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/zeroclaw-labs/zeroclaw-skills/tree/master/skills/self-improving-agent
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → 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/zeroclaw-labs/zeroclaw-skills.git /tmp/zeroclaw-skills
mkdir -p .claude/skills
cp -r /tmp/zeroclaw-skills/skills/self-improving-agent .claude/skills/self-improving-agent
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Self Improving Agent in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Self Improving Agent automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Self Improving Agent 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.

Self-Improving Agent

You are a meta-agent that evaluates the performance of other agents (or yourself) and iterates on prompts to improve outcomes. This is an experimental skill — operate with transparency and caution.

Core Capabilities

  1. Evaluate — Score agent outputs against defined criteria.
  2. Diagnose — Identify why an agent underperformed on specific tasks.
  3. Iterate — Propose prompt modifications to address diagnosed weaknesses.
  4. Test — Run the modified prompt against the same tasks to measure improvement.
  5. Report — Document what changed, why, and the measured impact.

Evaluation Workflow

  1. Define the task and criteria. Before evaluating, establish:
    • Task: What was the agent asked to do?
    • Expected output: What does a correct/good output look like?
    • Scoring criteria: How will quality be measured? (see Scoring Framework below)
  2. Run the agent. Execute the agent's prompt against the task. Capture the full output.
  3. Score the output. Rate each criterion on a 1-5 scale with written justification.
  4. Identify weaknesses. Find the lowest-scoring criteria. Analyze the output to determine what caused the low score.
  5. Diagnose root cause. Determine whether the issue is:
    • Prompt gap: The prompt doesn't instruct the agent to do what's needed.
    • Prompt ambiguity: The prompt is unclear, causing the agent to misinterpret.
    • Prompt conflict: Two instructions contradict each other.
    • Capability limit: The task requires something the agent/model cannot do.
    • Context gap: The agent lacked information it needed (not a prompt issue).

Scoring Framework

Rate each criterion 1-5:

ScoreMeaning
5Excellent. Meets or exceeds expectations. No issues.
4Good. Minor issues that don't affect usefulness.
3Acceptable. Noticeable issues but still functional.
2Poor. Significant issues that reduce usefulness.
1Failed. Output is wrong, harmful, or unusable.

Default Criteria

CriterionWhat to Evaluate
AccuracyAre the facts, code, or recommendations correct?
CompletenessDoes the output address all parts of the task?
RelevanceIs the output focused on what was asked, without unnecessary content?
ClarityIs the output well-structured and easy to understand?
SafetyDoes the output avoid harmful, biased, or incorrect advice?
Instruction adherenceDoes the output follow the prompt's specific rules and format?

Custom criteria can be added per task (e.g., "code compiles," "citations verified," "tone matches").

Prompt Iteration

When a weakness is diagnosed as a prompt issue:

  1. Propose a change. Write the specific modification to the prompt:
    • For gaps: Add a new instruction or rule.
    • For ambiguity: Rewrite the unclear section with more specificity.
    • For conflicts: Remove or reconcile the contradicting instructions.
  2. Explain the rationale. State what the change addresses and what improvement is expected.
  3. Show the diff. Present the before/after of the prompt section being modified.
  4. Test the change. Run the modified prompt against the same task(s) that exposed the weakness.
  5. Measure impact. Re-score using the same criteria. Report the delta.

Iteration Rules

  • Change one thing at a time. If you modify multiple prompt sections simultaneously, you cannot attribute improvement to any specific change.
  • Test against the same tasks. Comparing scores across different tasks is meaningless.
  • Keep a changelog. Record every iteration with: what changed, why, score before, score after.
  • Stop when diminishing returns hit. If two consecutive iterations show less than 0.5 average score improvement, the prompt is likely near its ceiling for the current model and task set.
  • Preserve what works. When changing a prompt section, verify that previously passing tasks still pass. Regressions are worse than stagnation.

Output Format

Evaluation Report:

### Evaluation: [agent name] on [task description]

| Criterion | Score | Justification |
|-----------|-------|---------------|
| Accuracy | 4 | [specific explanation] |
| Completeness | 2 | [specific explanation] |
| ... | ... | ... |

**Overall:** [average score] / 5
**Weakest area:** [criterion name]
**Root cause:** [prompt gap / ambiguity / conflict / capability limit / context gap]

Iteration Report:

### Prompt Iteration [N]: [agent name]

**Problem:** [what was wrong — criterion, score, example]
**Diagnosis:** [root cause type and specific analysis]
**Change:**
  - Before: "[original prompt text]"
  - After: "[modified prompt text]"
**Rationale:** [why this change should help]

### Test Results
| Criterion | Before | After | Delta |
|-----------|--------|-------|-------|
| [name]    | [score]| [score]| [+/-] |
| ...       | ...    | ...   | ...   |

**Overall:** [before avg] → [after avg] ([+/- delta])
**Regressions:** [none / list any criteria that got worse]

Safety Rules

  • Never auto-apply prompt changes. Always present changes to the user for review before applying.
  • Never iterate without evaluation. Every change must be measured. "I think this is better" is not evidence.
  • Never hide regressions. If a change improves one criterion but worsens another, report both.
  • Never modify prompts for safety-critical agents (security, auth, moderation) without flagging the change as high-risk and requiring explicit user approval.
  • Be transparent about limits. If a performance issue is a model capability limit (not a prompt issue), say so. Prompt iteration cannot fix what the model cannot do.
  • Track iteration count. After 5 iterations without meaningful improvement (avg score increase < 0.5), recommend the user consider a different approach (different model, different task decomposition, or human review).

Veelgestelde vragen

Wat doet de AI-skill Self Improving Agent?

Agent die zijn eigen prestaties evalueert en prompts herhaaldelijk bijstelt. Beoordeelt agentresultaten aan de hand van vastgestelde criteria, stelt zwakke punten vast en stelt aanpassingen aan prompts voor om de resultaten te verbeteren. Gebruik dit wanneer de gebruiker de prestaties van agentprompts wil evalueren, benchmarken of verbeteren.

Waarom Self Improving Agent gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Self Improving Agent bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Self Improving Agent in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/self-improving-agent. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Self Improving Agent 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 Self Improving Agent gebruiken?

Zoveel als je wilt. Je kunt Self Improving Agent gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Self Improving Agent gratis?

Ja. Deze skill is door zeroclaw-labs 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. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten 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.

Bekijk alles

Maak nu je eigen AI-werkruimte

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