retro

by pomesaka · ★ 0 · updated 4 days ago

ToastsGuardsCommandsPromptwarnings

0

Looks back on the session in the background and writes what is worth keeping into the docs: a fork of the conversation lists the findings, and only when there are some, a subagent without the conversation writes them following the re skill. Runs before a compact, after commits and PRs, and after long stretches with corrections; /retro runs it now

install retro

Install

/plugin marketplace add pomesaka/dotclaude
/plugin install retro@dotclaude

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.startprompt.submittool.callturn.completesession.compactcommand.run
API calls
$.agent.list$.agent.spawn$.clock.now$.command.register$.model.fork$.session.cwd$.session.id$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.toast
Can see
every promptBash callscompaction
Reach
level 2 of 3 drives Claudereads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/pomesaka/dotclaude
Path in repo
mods/retro
Source commit
a341894 the exact code the scan read
Author
@pomesaka
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from pomesaka/dotclaude

danger-guard

pomesaka/dotclaude

Before the agent runs a Bash command, blocks the ones that can wreck the machine or the user's data beyond the working repository: sudo, deletes of broad places and precious files, disk erasure, shutdown, and process kills that would also stop the user's applications

★ 0GuardsAutomation

devrep

pomesaka/dotclaude

update_devrep tool: while turned on for a session, the agent keeps a short report of where the work stands (doing now, next, and free sections) in a pane, so the user can pick the session back up without reading the transcript

★ 0PanesReskinsCommands

human-edit

pomesaka/dotclaude

human_edit tool: the agent asks the user to edit a file in a tmux split pane and waits until the editor exits

★ 0BandsStatus lineGuards

jj

pomesaka/dotclaude

Adds the jj counts (changed files, unpushed commits) and commit and log buttons to the line under the prompt, with a pane for the jj log

★ 0PanesReskinsGuards

next-step

pomesaka/dotclaude

After a turn, shows up to four prompts the user is likely to type next as cards above the prompt: Claude Code's own prompt suggestion first, then more from a fork of the conversation; clicking a card sends it

★ 0BandsPrompt

pr

pomesaka/dotclaude

A list of the pull requests this session created or edited, with CI and review state, shown in a pane; watches CI after a push, tells the agent about merges and CI failures, and adds the PR numbers and a pr button to the line under the prompt

★ 0PanesReskinsGuards

publish-guard

pomesaka/dotclaude

Before the agent pushes from a repository that has scripts/check-public.sh, runs that check and blocks the push when it finds names or keys that must not be published

★ 0GuardsAutomation

questions

pomesaka/dotclaude

A list of the decisions the agent made provisionally so work could continue, kept with add_question and shown in a pane for the user to settle by clicking; a question can be talked over with a read-only fork of the conversation first. Adds a pending button to the line under the prompt

★ 0PanesReskinsGuards

quiet-prompts

pomesaka/dotclaude

Draws a prompt that another plugin submitted on its own (a reminder, a notice) as one line in the transcript, without the engine's framing; ctrl+o still shows it in full

★ 0Reskins

refs

pomesaka/dotclaude

A list of the documents and URLs this session relied on, kept by the agent with add_reference and shown in a pane; adds a refs button to the line under the prompt

★ 0PanesReskinsGuards

rich

pomesaka/dotclaude

show tool: the agent draws cards, a box-and-arrow diagram, tables and clickable questions inline in the transcript or in a pane

★ 0PanesReskinsGuards

status-band

pomesaka/dotclaude

A line under the prompt that replaces the status line: model, context use and directory. Other mods add their own buttons to its right

★ 0ReskinsGuards