Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

retro

/retro

Zamyka pętlę pamięci: przetwarza kolejkowane sesje, szuka wzorców i proponuje nowe soczewki lub zmiany w CLAUDE.md.

Repozytorium
lens ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.08.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

  1. Compute the pending set
  2. Process each entry (serially, v1)
  3. Cross-entry synthesis
  4. The approval gate
  5. Close the loop
Sekcje z nagłówków SKILL.md, w oryginale · 56 linii, 413 słów
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

RepozytoriumWynikLicencja
Ta strona · tiltely/lens90MIT
jongio/skills100MIT
stefanoskarakasis/product-marketing-skills100MIT
bartolli/kmd100MIT
gethamster/plugin100MIT
cookys/autopilot100MIT
rizukirr/vibekit100MIT
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT

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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.