Logo vun Skill Gardener

Skill Gardener

Communautéit
peterpme
skill-gardener

Use for the scheduled Skill gardener run, or when Peter asks to trim, dedupe, shorten or prune his skills or AGENTS.md: cuts duplicated rules, narration and stale lines in one PR with a words-before-and-after table, merged when the replay eval holds. Not for adding rules or scoring changes (skill-review).

Iwwersiicht

Editeurpeterpme
Repositoryskills
Skill-Nummskill-gardener
Stären
28
Forks
0
Matgeliwwert Fichieren
1
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

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

Installatioun

Installéiert de KI-Skill Skill Gardener an TypingMind, fir e mat all LLM ze benotzen, oder füügt 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 „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/peterpme/skills/tree/main/skill-gardener
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu 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 de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterpme/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skill-gardener .claude/skills/skill-gardener
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Skill Gardener 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 Skill Gardener automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Skill Gardener 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-Keys.

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

Skill gardener

Goal: every line in global/AGENTS.md and the skills earns its place. The gardener cuts; the weekly skill review measures and adds (findings, rules, eval cases). One run: measure, cut, score, one PR, report.

  • Cut only. Never add a rule, change a number, path, model, command or meaning, or reword a line into a new behavior. A line that is wrong rather than surplus becomes a finding issue in the home repo for skill-review.
  • Budget: one eval comparison per run, about $30 (32 agent sessions plus judging). Run it in the background with a log and wait for it inside the turn. Never end the turn while it runs.
  • The skills repo is public. Run the leak check from skill-scout section 6 on the diff and the PR body before pushing.

1. Measure

  1. git -C ~/skills fetch origin. Make a worktree at ~/skills/.claude/worktrees/gardener-<date> on branch gardener/<date> from origin/main.
  2. If a skill-review/* PR is open on the skills repo, leave the files it changes alone this run. If a gardener/* draft is open, its cuts are this run's retry queue (section 4).
  3. Run skill-gardener/scripts/words in the worktree. On the first run (no ~/.local/state/skill-gardener/runs.md yet) that table is the baseline: put it in the PR body and the report as "Baseline, words per file".

2. Cut

Read each of global/AGENTS.md and */SKILL.md whole. Cut these, nothing else:

CruftLooks likeDo
Duplicated rulethe same rule in two files, or twice in onekeep it in the skill that owns the step; delete the other
Narrationwhat an earlier version did, who said it when, reassurance, "note that", an incident or PR number standing in for the ruledelete the history; keep the one clause that says why a constraint exists, because a rule without its reason gets applied where it does not fit
Stale cautiona "never", "stop" or "ask first" line whose reason no longer holds, or that names no scopefile a finding with the scope and reason it should carry; a caution is never cut silently
Stale date"since ", "as of", "today", "(Peter, : …)", "still", "now", a dated statusdelete the date, or the line when the date was its point
Unused skilla skill added 30 or more days ago (git log --diff-filter=A) with 0 threads in python3 -I skill-scout/scripts/adherence.py --all --since 30ddelete its folder, its README line and every pointer to it; after merge, unlink its dangling links under ~/.agents, ~/.claude, ~/.codex, ~/.cursor and ~/.pi/agent. Peter's rule: a skill that is not used is deleted
Lines no check backsa tool, path, model, flag, task or pause that no longer exists (command -v, ls, rg the repo and ~/dotfiles/docs/tools/)delete the line, or the section when nothing else is left
Same-meaning rulestwo rules that differ only in wordingmerge into the one with the exact command or number
Enforced prosea rule a script, hook or CI check already enforceskeep one pointer to the check

Never cut: frontmatter, a sentence another skill tells agents to copy word for word, a decision with its revert word, an example a format rule needs, or a number a rule depends on (a threshold, cap, size or port). The eval scores planning only, so for a duplicated rule in a step it does not cover (proof, review, the ready gate, merging) the PR table names the line that still says it. At most about 15% of a file's words per run, so a drop in the score points at a few cuts. One commit per file, with the cut kinds in the message.

3. Score

From the worktree, in the background with a log: REPS=2 node evals/orchestrate/run.mjs origin/main .. Read report.mjs on the run. The score holds when the train mean drops by no more than 0.1 and no case drops by more than its spread between reps. If the eval cases are missing, the run is unscored.

4. One PR

Title gardener <date>: -N words. Body, nothing else:

  • a table with columns file, words before, words after, what was cut and why (the cut kind from section 2), from skill-gardener/scripts/words origin/main plus your notes;
  • the eval line: train main → branch, cases and reps, or "unscored: eval cases missing";
  • on the first run, the baseline table;
  • Sizes: each SKILL.md over 500 lines, if any.

Then:

  • Holds: follow the ready gate in global AGENTS.md (Finish every change) (pr-status, pr-threads empty, every bot thread answered), merge, delete the branch, then git -C ~/skills pull --ff-only and npm run release from ~/skills.
  • Drops or unscored: leave the PR a draft with the score in the body. Next run, retry one of its files, largest cut first, as that run's whole batch on a fresh branch, and close the draft.
  • Nothing to cut: open no PR.

Case ids and judge notes name private work: they go only in the report, never in the PR.

5. Report and log

**Skill gardener, <date>:** <-N words in M files, PR #n merged | PR #n draft, score dropped | nothing to cut>

| File | Before | After | Cut |
|---|---:|---:|---|

Eval: train main → branch ( cases, 2 reps), or unscored. Then append one line to ~/.local/state/skill-gardener/runs.md: date, words before and after, PR, score, merged or draft.

Set up

Only on the machine with the eval cases, and only after this skill is merged, since scheduled runs read ~/skills, which tracks main. Call schedule_task with projectId the "No project" (scratch) project, bindToCurrentThread: false, title: "Skill gardener", schedule: {type: "interval", everyMs: 259200000}, and this prompt:

[t3-sentinel-run] Run the skill-gardener skill: one run on this machine. Read ~/skills/skill-gardener/SKILL.md and follow it. If the skill file is missing, reply in one line starting with "Needs your call:" and stop.

If ~/.t3/sentinel/config.json exists, add the returned scheduledTaskId to its cleanup_task_ids. Report the next run time.

Matgeliwwert Fichieren

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 Skill Gardener?

Use for the scheduled Skill gardener run, or when Peter asks to trim, dedupe, shorten or prune his skills or AGENTS.md: cuts duplicated rules, narration and stale lines in one PR with a words-before-and-after table, merged when the replay eval holds. Not for adding rules or scoring changes (skill-review).

Firwat Skill Gardener op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Skill Gardener 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 vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Skill Gardener an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/peterpme/skills/tree/main/skill-gardener 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 Skill Gardener 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 Skill Gardener benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Skill Gardener domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Skill Gardener gratis?

De Skill gëtt vum peterpme op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat 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 en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

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