Logo di Skill Gardener

Skill Gardener

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

Panoramica

Pubblicato dapeterpme
Repositoryskills
Nome della skillskill-gardener
Stelle
28
Fork
0
File inclusi
1
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da peterpme su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Skill Gardener in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/peterpme/skills/tree/main/skill-gardener
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Skill Gardener in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Skill Gardener non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Skill Gardener non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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).

Perché usare Skill Gardener su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Skill Gardener è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Skill Gardener in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/peterpme/skills/tree/main/skill-gardener. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Skill Gardener?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Skill Gardener?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Skill Gardener: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Skill Gardener è gratuita?

È pubblicata su GitHub da peterpme. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇