distill-skill
/distill-skill
Zamienia wnioski z bieżącej sesji w nowy skill albo poprawia istniejący, a zmiany zapisuje dopiero po zatwierdzeniu.
- Autor
- abotanicality ↗
- Repozytorium
- vault-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Zamienia wnioski z bieżącej sesji w nowy skill albo poprawia istniejący, a zmiany zapisuje dopiero po zatwierdzeniu.
Oryginalny opis (EN)
Use when asked to turn the current session into a new skill, or to improve an existing skill from what happened in it. Extracts lessons from this session, decides create versus edit against the vault, proposes the change, and writes it into a vault clone only after my approval. Invoked by me only; works in the main agent, spawns no sub-agents. To collect skills that already exist on an agent, use harvest-skills instead.
Jak działa
- Guardrails
- 1. Extract
- 2. Compare
- 3. Propose
- 4. After approval
- Rules
Podgląd SKILL.md
---
name: distill-skill
description: "Use when asked to turn the current session into a new skill, or to improve an existing skill from what happened in it. Extracts lessons from this session, decides create versus edit against the vault, proposes the change, and writes it into a vault clone only after my approval. Invoked by me only; works in the main agent, spawns no sub-agents. To collect skills that already exist on an agent, use harvest-skills instead."
---
# Distill skill
Turn what this session taught the agent into a new or improved skill in `vault-skills`.
## Guardrails
- Source is the current session, from context. Do not go looking for past transcripts.
- Write nothing until I reply with a live approval ("approve", "go"). Never infer it.
- Write only into a vault clone, never into this agent's installed skill folders.
- Never commit or push unless I ask.
- Never quote the session. Write each lesson as an instruction, with placeholders for paths, names, hosts and values.
- Use no agent-specific tool names. Say "ask me" and "read the file".
## 1. Extract
Review the session for three kinds of lesson only:
- **correction**: I told the agent to do it differently.
- **recipe**: a procedure that worked after trial and error; keep the final recipe, not the detours.
- **repeated step**: a manual sequence done more than once that a checklist or script would replace.
Route the rest:
- Facts about one project or machine go to `AGENTS.md` or memory. Say so and give the one-line text with placeholders; do not make a skill of them.
- A preference of a sentence or two that needs no trigger or steps goes to `AGENTS.md` or memory. Make a skill only when the lesson is a procedure or format worth loading on a trigger.
- One-offs unlikely to recur are dropped.
Merge lessons that are one procedure into one lesson. If nothing qualifies, say so and stop.
If the session shows a secret, never repeat its value. Tell me it appeared and suggest rotating it.
## 2. Compare
Find the vault clone using only the "Find the clone" section of [../harvest-skills/workflow.md](../harvest-skills/workflow.md). Ignore the rest of that file. Do not clone, run `preflight.py` or fetch at this stage, because each writes, and ignore its "clone it to `~/vault-skills`" step. If there is no clone, print the proposal below as text, write nothing, and say what blocked it. Mark the proposal provisional: the vault comparison, the `AGENTS.md` rules and the template were not checked, and step 4 must check them before any write.
Compare each lesson against the skills in the clone first, then the skills this agent has installed, reading their `SKILL.md` files, not only their listed descriptions. Reading is allowed; editing them is not.
- A skill states only part of the lesson: propose an edit that adds only the missing part, and quote the covered part.
- A skill already states the lesson: verdict **no change**, quoting the existing line.
- One skill clearly covers the topic: propose an **edit** to it.
- None does: propose a **new skill**.
- Overlap is partial: give your best verdict, flag it as the judgment call, and name the alternative. My reply to the proposal settles it. Never create a near-duplicate.
- The match is an agent-only skill absent from the vault: treat it as new to the vault and draft it in the clone. Do not edit the install.
## 3. Propose
Read `AGENTS.md` in the clone and apply [practices.md](practices.md). Then post, in this shape:
1. Lessons found, each tagged correction, recipe or repeated step, plus a line for anything routed elsewhere or dropped.
2. A verdict per lesson, **new skill**, **edit `<skill>`** or **no change**, with the reason.
3. For an edit, a unified diff. For a new skill, the frontmatter and a section outline.
4. State which compare sources you checked.
5. End with: "approve, or tell me what to change".
## 4. After approval
Do only the items I approved. If step 2 found no clone, my approval covers cloning now: follow the "Find the clone" section including its clone step, then check the `AGENTS.md` rules and the template that the provisional proposal skipped, and revise the proposal if they change it. Before writing, check the clone has no uncommitted changes unrelated to this work; if it does, stop and tell me.
1. For a new skill, start from `templates/skill/SKILL.md` in the clone. Place it in the best-fit plugin and say why; if none fits, propose a new plugin and wait.
2. Do the housekeeping `AGENTS.md` requires: bump `version` in both manifests, add the plugin README row for a new skill, and run `python3 scripts/validate.py --write-index` if a skill was added or a description changed.
3. Run `python3 scripts/validate.py` in the clone and fix every error. Report findings as `file:line:kind`; never print values.
4. Report what changed, any detail you removed or generalised (without the value), and that the skill was checked structurally only and not behaviour-tested. Offer a test run if I want one.
## Rules
- A description starts with "Use" and says when to load the skill; the key trigger goes first.
- If a step is blocked, say exactly what blocked it. Write nothing as a workaround.
Pliki w paczce (2)
- SKILL.md 5 KB
- practices.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · abotanicality/vault-skills | 90 | MIT |
| digital-stoic-org/agent-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 91b7ccaca369 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100harvest-skills
Przegląda własne skille agenta w vaultcie, proponuje listę dodaj, adaptuj lub pomiń, a po zatwierdzeniu zgłasza zmiany przez PR. - 100write-skill
Tworzy nowy skill albo ulepsza istniejący w repozytorium skilli, zgodnie z jego zasadami porządkowania. - 100using-agent-skills
Wykrywa i wywołuje skille agentów przy starcie sesji lub gdy trzeba wybrać skill albo workflow do bieżącej pracy. - 100session-distill
Wyciąga z bieżącej rozmowy od 1 do 3 nieoczywistych wniosków, których nie zapiszą kod ani commity, i zapisuje je jako szkice notatek. - 100session-distill
Zbiera trwałe wnioski z sesji i kieruje każdy do jednego miejsca: reguły, przepisu, lokalnego skilla lub pull requestu do pluginu. - 100skill-doctor
Audytuje, mapuje i ulepsza skille, agentów i polecenia slash w Claude Code, wyszukuje redundancję i wydobywa z bieżącej sesji pomysły na nowe skille.