Logo: Self Improvement

Self Improvement

Communautéit
andreaswasita
self-improvement

Hält Léieren fest a fërdert widderhuelend Musteren.

Add to TypingMind

Iwwersiicht

Editeurandreaswasita
Repositorycopilot-agents-dojo
Skill-Nummself-improvement
Stären
54
Forks
15
Matgeliwwert Dateien
1
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.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

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

Installatioun

Installéiert de KI-Skill Self Improvement 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/andreaswasita/copilot-agents-dojo/tree/main/skills/self-improvement
  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/andreaswasita/copilot-agents-dojo.git /tmp/copilot-agents-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-agents-dojo/skills/self-improvement .claude/skills/self-improvement
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Self Improvement 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 Improvement 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 Improvement 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-Improvement Skill

Logs every correction and failed approach to tasks/lessons.md with structured metadata, escalates recurring patterns into skill amendments via scripts/lesson-updater.sh, and respects the cache-aware mutation rule so amendments don't trash Copilot's prompt cache mid-session. Does NOT delete or rewrite past lessons — history is evidence, not noise.

The memory vault (memory/) extends this with structured, linked knowledge:

  • Lessons live in tasks/lessons.md (short-term capture)
  • Patterns graduate to memory/patterns/ when they hit 3+ occurrences
  • Decisions are recorded in memory/decisions/ for architectural context
  • Preferences accumulate in memory/preferences/ from user corrections
  • Sessions are summarized in memory/sessions/ with links to all of the above

When to Use

  • Session start: Review memory/INDEX.md + tasks/lessons.md before doing anything else
  • After any correction: User points out a mistake or a better approach
  • After a failed approach: Something you tried didn't work
  • Pattern recognition: You notice you've made a similar mistake before
  • Skill amendment: A pattern hits 3+ occurrences
  • After any architectural decision: Record it in memory/decisions/
  • Session end: Write a session summary in memory/sessions/

Prerequisites

  • tasks/lessons.md exists (created by scripts/init.sh).
  • scripts/lesson-updater.sh available for the pattern-scan + amendment proposal.
  • Familiarity with the cache-aware mutation rule (see AGENTS.md → Cache-Aware Mutations).

Before any work begins:

  1. Read memory/INDEX.md — understand what knowledge exists
  2. Read tasks/lessons.md — check for recent, un-promoted lessons
  3. Query relevant context: bash scripts/memory-query.sh --type pattern --tag <current-task-domain>
  4. Filter for entries relevant to the current project, language, or task type
  5. Internalize active rules — these are your guardrails for this session
  6. Note any lessons with high occurrence counts — these are your blind spots

How to Run

text
1. At session start: `view tasks/lessons.md` and internalize active rules.
2. On correction: append a structured YAML entry (template in Procedure §2).
3. Periodically: `scripts/lesson-updater.sh` to scan for 3+ recurrences.
4. On amendment: edit the relevant skill; default to deferred invalidation.

Quick Reference

TriggerActionTool
Session startRead lessonsview tasks/lessons.md
Correction loggedAppend entryedit tasks/lessons.md
Pattern scanRun updater (deferred)powershell → bash scripts/lesson-updater.sh
Pattern scan (urgent)Run updater (immediate)powershell → bash scripts/lesson-updater.sh --now
Amend a skillEdit the SKILL.mdedit skills/<name>/SKILL.md
Archive a stale skillCurator handles itpowershell → bash scripts/curator.sh archive <name>

Procedure

Step 1: Session-Start Ritual

Before any work begins, view tasks/lessons.md. Filter mentally for entries relevant to the current project, language, or task type. High occurrences counts are your active blind spots — treat them as guardrails for this session.

Step 2: Capture a Lesson

After any correction or failed approach, append a structured entry to tasks/lessons.md:

yaml
- date: 2026-05-19
  error_type: type-error          # type-error | logic-bug | test-gap | over-engineering | scope-creep | …
  trigger: "Used string where number was expected in API response handler"
  root_cause: "Did not check the API schema before assuming response types"
  fix: "Added type validation at the API boundary"
  rule: "Verify API response types against the schema before using them"
  occurrences: 1
  status: active                  # active | resolved | amended-to-skill
  related_skill: code-review      # optional — which skill should absorb the rule?

Be ruthlessly honest. The only person you're fooling is yourself.

Step 3: Watch for Patterns

When the same rule appears across 2+ entries, increment occurrences on the canonical entry instead of duplicating. At occurrences: 3, escalate.

Step 4: Amend the Relevant Skill

  1. Identify the pattern — What's the common thread across occurrences?
  2. Draft a rule — Write a concrete, actionable rule
  3. Promote to memory vault — Create a file in memory/patterns/ using the template:
    bash
    cp memory/patterns/_template.md memory/patterns/pattern-name.md
  4. Propose the amendment — Suggest an update to skills.md or copilot-instructions.md
  5. Run scripts/lesson-updater.sh — Automated pattern scanning
  6. Run scripts/link-index.sh — Update the link graph with new connections
  7. Evaluate — After the rule is in place, does the mistake rate drop?
  8. Revise or remove — If a rule isn't working, fix it or drop it. Dead rules are noise.

Recording Decisions

When an architectural or design decision is made during a session:

  1. Copy the template: cp memory/decisions/_template.md memory/decisions/YYYY-MM-DD-short-name.md
  2. Fill in context, decision, alternatives, and consequences
  3. Link from the session summary: [decision](../decisions/YYYY-MM-DD-short-name.md)
  4. Run scripts/link-index.sh to update backlinks

Recording Preferences

When the user corrects your approach (not a bug, but a style/approach preference):

  1. Copy the template: cp memory/preferences/_template.md memory/preferences/preference-name.md
  2. Record what they prefer and why
  3. Set confidence to low initially — raise to medium after 2nd reinforcement, high after 3rd

Session End Ritual

At the end of every non-trivial session:

  1. Create memory/sessions/YYYY-MM-DD-summary.md from template
  2. Link to any decisions, patterns, or preferences created/referenced
  3. Run scripts/link-index.sh to rebuild the graph
  4. Update tasks/lessons.md metrics

Pass --now only when correctness requires immediate effect. The script prints a warning about cache-invalidation cost.

After the amendment lands, set the lesson's status: amended-to-skill.

Step 5: Let the Curator Handle Stale Skills

Skills with created_by: agent and no recent use are auto-archived by scripts/curator.sh to skills/.archive/. Human-authored skills are never touched. Pin a skill to exempt it: bash scripts/curator.sh pin <name>.

Pitfalls

  • DO NOT "remember next time." If a lesson isn't in tasks/lessons.md, it doesn't exist.
  • DO NOT log without a rule: field. A symptom without a prevention rule is a diary entry.
  • DO NOT write hyper-specific rules. "Don't use parseInt on line 47 of auth.js" won't generalize. Extract the principle.
  • DO NOT delete old lessons. Set status: resolved instead — history is evidence.
  • DO NOT pass --now to lesson-updater.sh casually. It invalidates Copilot's prompt cache and dramatically raises cost.
  • DO NOT edit created_by: human skills via the curator. The curator only manages created_by: agent skills.

Verification

Concrete checks that prove the skill is producing intended outcomes. Run at session end (or after any correction) via the powershell tool:

text
bash scripts/self-improvement-verify.sh

The script (source: scripts/self-improvement-verify.sh) asserts:

  1. tasks/lessons.md exists — required artifact.
  2. Every lesson has a rule: field — a lesson without a prevention rule is a diary entry and fails the check.
  3. No duplicated active rules — the same rule: across multiple entries means someone cloned instead of incrementing occurrences:.
  4. Threshold promotion happened — any entry with occurrences: 3+ must either carry status: amended-to-skill or have a corresponding file under memory/patterns/.
  5. Memory graph has zero orphans — runs scripts/link-index.sh and inspects memory/INDEX.md.
  6. Today's session summary (if any) links out — at least one link to memory/decisions/, memory/patterns/, or memory/preferences/.

The script exits non-zero on hard failures and prints Summary: pass=… fail=… warn=…. Treat warnings as signal, not noise — investigate before closing the session.

Beyond the script: active rules should reduce repeat errors. If the same error_type + trigger recurs within 5 subsequent sessions after a rule lands, the rule is wrong — rewrite or remove it per Step 4 §8.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Self Improvement?

Hält Léieren fest a fërdert widderhuelend Musteren.

Firwat Self Improvement op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Self Improvement 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 Improvement an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/self-improvement an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Self Improvement 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 Improvement benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Self Improvement 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 Improvement gratis?

Jo. andreaswasita 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 👇