hindsight
by a-pavithraa · ★ 0 · updated 28 days ago
Notices snags that come back across sessions (search spirals, fix loops, large tool outputs) and offers one change to the environment that stops them.
Install
/plugin marketplace add a-pavithraa/claude-mods/plugin install hindsight@my-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.starttool.checktool.callturn.completecommand.runui.render- API calls
$.clock.after$.clock.now$.command.register$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.model.fork$.prompt.fill$.prompt.read$.session.id$.session.root$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
every tool callRead callsGrep callsGlob callsEdit callsWrite callsNotebookEdit callsBash callsPowerShell calls- Reach
- level 2 of 3 writes filesdrives Claudewrites the prompt boxreads filesreads the prompt boxreads 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/a-pavithraa/claude-mods
- Path in repo
plugins/hindsight- Source commit
a3e511ethe exact code the scan read- Author
- @a-pavithraa
- 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 a-pavithraa/claude-mods
model-fit
a-pavithraa/claude-mods
After each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort would have cost; warns when an ask runs on too small a model or a complex one at low effort; says when the context has grown expensive and how to shrink it; ships /model-fit:baton, a handoff note for a fresh...
toolbelt
a-pavithraa/claude-mods
Lists the plugins, skills and MCP servers you have not used lately and that cost tokens every turn (/unused), judged by Claude Code's own counters, and disables or removes them from a pane.
triage-gate
a-pavithraa/claude-mods
Flags a turn that wrote a lot and offers a /guide reading order; before Claude commits, measures the change's blast radius and asks Jev about risk and readability, then lets it through, flags it, or holds it for review.