Logo: Self Improving Agent

Self Improving Agent

Organisatioun
zeroclaw-labs
self-improving-agent

KI-Agent, deen seng eege Leeschtung bewäert a seng Prompts iterativ verbessert. Bewäert d'Resultater vum KI-Agent no festgeluechte Kritären, erkennt Schwächten a proposéiert Ännerunge vu Prompts, fir d'Resultater ze verbesseren. Benotzt dës Skill, wann Dir d'Leeschtung vun engem KI-Agent-Prompt bewäerten, vergläichen oder verbessere wëllt.

Add to TypingMind

Iwwersiicht

Editeurzeroclaw-labs
Repositoryzeroclaw-skills
Skill-Nummself-improving-agent
Stären
66
Forks
54
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    zeroclaw-labs huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Self Improving Agent an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/self-improving-agent
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Self Improving Agent an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Self Improving Agent automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Self Improving Agent net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de KI-Skill Self Improving Agent?

KI-Agent, deen seng eege Leeschtung bewäert a seng Prompts iterativ verbessert. Bewäert d'Resultater vum KI-Agent no festgeluechte Kritären, erkennt Schwächten a proposéiert Ännerunge vu Prompts, fir d'Resultater ze verbesseren. Benotzt dës Skill, wann Dir d'Leeschtung vun engem KI-Agent-Prompt bewäerten, vergläichen oder verbessere wëllt.

Firwat Self Improving Agent op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Self Improving Agent besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Self Improving Agent an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/self-improving-agent an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Self Improving Agent benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Self Improving Agent benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Self Improving Agent domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Self Improving Agent gratis?

Jo. zeroclaw-labs huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇