retro
/retro
Zamyka pętlę pamięci: przetwarza kolejkowane sesje, szuka wzorców i proponuje nowe soczewki lub zmiany w CLAUDE.md.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.08.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
Zamyka pętlę pamięci: przetwarza kolejkowane sesje, szuka wzorców i proponuje nowe soczewki lub zmiany w CLAUDE.md.
Oryginalny opis (EN)
The memory loop. Use when closing significant work or weekly — processes queued lens sessions, mines them for patterns, proposes new lenses / lens updates / CLAUDE.md diffs, and writes approved observations to the foundry ledger. Also accepts an explicit transcript path or session_id as argument.
Jak działa
- Compute the pending set
- Process each entry (serially, v1)
- Cross-entry synthesis
- The approval gate
- Close the loop
Podgląd SKILL.md
---
name: retro
description: The memory loop. Use when closing significant work or weekly — processes queued lens sessions, mines them for patterns, proposes new lenses / lens updates / CLAUDE.md diffs, and writes approved observations to the foundry ledger. Also accepts an explicit transcript path or session_id as argument.
---
# Lens Retro
Requires a lens config with `foundry` set (a Claude Code feature — the loop is not
supported on Cowork; see /lens:setup). Discover the config first-readable-wins:
`$LENS_CONFIG` → `~/.claude/lens.json` → `~/lens/lens.json`. If none is found: explain
in one line, point to /lens:setup, stop. Never error.
## Compute the pending set
1. Read `<foundry>/pending-retros.jsonl` and `<foundry>/processed-retros.jsonl`.
2. Pending = entries whose `session_id` is NOT in the processed file. (Both files are
append-only. NEVER rewrite or truncate them — a SessionEnd hook may append
concurrently.)
3. Gap entries (`"type":"gap"`) are pending until a processed marker with their
date+lens+note hash appears; treat each as a one-line observation candidate.
4. If the user passed an explicit transcript/session argument, process only that.
## Process each entry (serially, v1)
For session entries, read the transcript (it is JSONL; grep/skim for the lens
questions, user answers, friction moments — do not load the whole file blindly if
it is huge). Ask of each:
- What questions arose that NO current lens covers? (check core/registry.md)
- Did a lens perform poorly — wrong tier order, dumb question, missed follow-up?
- Did durable PROJECT facts surface that are missing from that project's CLAUDE.md?
If the transcript file no longer exists: mark processed, note "transcript gone", skip.
## Cross-entry synthesis
After individual passes, look across entries for repetition. A pattern seen ≥2 times
is a proposal candidate:
- **New lens** → name it, one-line purpose, 3 sample questions → on approval, hand to
/lens:new (which writes it to your global foundry, a project `.lens/`, or — for
maintainers — the bundled set).
- **Lens update** → for a lens you created (in `<foundry>/lenses/` or a project
`.lens/`): concrete diff, apply on approval. For a bundled lens: if the session is
inside the lens plugin repo (maintainer context), apply the diff there; otherwise
emit it as a local file and suggest a PR to the public plugin repo.
- **CLAUDE.md update** → concrete diff, addressed to the specific project's CLAUDE.md.
## The approval gate
EVERY proposal — observation, lens, update, CLAUDE.md diff — is shown to the user and
applied only on explicit approval. Nothing auto-applies. Rejected proposals are
recorded as processed (so they don't reappear) with `"rejected":true`.
## Close the loop
- Append approved observations to `<foundry>/observations.md` (date + one paragraph
each; link the sessions they came from).
- Append `{"session_id":"<id>","processed_date":"<YYYY-MM-DD>"}` per handled entry to
`<foundry>/processed-retros.jsonl`.
- Knowledge routing: cross-project insight → ledger; project-specific fact → that
project's CLAUDE.md. Never both.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · tiltely/lens | 90 | MIT |
| jongio/skills | 100 | MIT |
| stefanoskarakasis/product-marketing-skills | 100 | MIT |
| bartolli/kmd | 100 | MIT |
| gethamster/plugin | 100 | MIT |
| cookys/autopilot | 100 | MIT |
| rizukirr/vibekit | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 608e92343bd4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90setup
Jednorazowo konfiguruje pętlę pamięci lens w Claude Code, czyli hak SessionEnd i polecenia retro oraz new. - 100harness-retro
Przegląda dawne sesje Claude Code projektu, wyszukuje miejsca, w których agent się mylił, i proponuje zmiany w harnessie bez ich wdrażania. - 90new
Tworzy nową soczewkę dla wtyczki, gdy retrospektywa zaproponowała ją albo powtarzający się temat nie ma jeszcze soczewki. - 100kb-refresh
Dodaje do bazy wiedzy OKF tylko nowe sesje Claude Code, sprawdza przestarzałe pojęcia i proponuje ulepszenia zasad, bez ponownego przetwarzania. - 100tune
Prowadzi retrospektywę jednej sesji kodowania i proponuje zmiany w środowisku agenta, jak hooki, kontrole i dostęp do narzędzi, zapisując każdą jako propozycję ax. - 100retrospective
Prowadzi interaktywną retrospektywę po sesji: zapisuje wnioski, aktualizuje skille i zapisuje pamięci, domyślnie z dzisiejszych sesji we wszystkich projektach.