ClaudeCodeMod

All shelves / Mods / Review

decision-lens

By theonly1me

decision-lens is a Claude Code review mod by theonly1me.

Lists the decisions Claude made in each turn in a /why pane, with why and what it chose not to do, and keys to keep or stop a behavior in later turns.

Draws

Install

The marketplace name is claude-code-mods.

In your shell
claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install decision-lens@claude-code-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.2.0
License
MIT
Repo stars
4
Last change
2026-10-04

What it can reach

  • Draws in the session
  • Sees tool calls

Claude Code 2.1.289 or later; run /reload-plugins in an open session after installing. With explainTurns on, the default, the helper model, claude-sonnet-5-5 at medium effort, reads each turn, which uses extra tokens; Ask why uses the session's own model. Keep and avoid rules go into Claude's system prompt from the next request and are saved for this project, or for all projects with Make global. The pane keeps the last 20 turns.

The marketplace, claude-code-mods, holds theonly1me's eleven mods, six for work and five pixel games; each installs on its own. Seeing why Claude did what it did is why this page files it under review. catch-me-up, by oliverow, opens a catch-up summary of the session that Haiku updates after each turn. conversation-atlas, by NeelAPatel, maps the session's goal, path, detours, and decisions in a side pane. This one names up to five real decisions per turn as cards, each with the options not taken, a short quote or fact from the trace as evidence, and how sure the reading is. /why keep 2 and /why avoid 2 save a rule without opening anything. Some models share no thinking text; the lens then works from what Claude wrote and its tool calls. In the source, Ask why forks the session with $.model.fork.

Demo

The author's screenshot of the lens docked beside a finished turn, turn 1 of 1, under the prompt it answered, with three decision cards: load the clean-code skill before editing, match the existing plain if/throw test style, and sort a copy with a numeric comparator. Each card says what the agent did and why, the options it passed over, and the line it rests on, with keys to keep doing this, not do this, or ask why. Under the prompt, decision-lens: 5 decisions · /why. The session is the author's example.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.composeWhile you write a prompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /whyDecision Lens: why Claude made its last decisions. keep N or avoid N saves a rule from card N, ask N asks Claude why, rules lists your rules.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
theonly1me
Category
Review
Marketplace
claude-code-mods
Repo
theonly1me/claude-code-mods
Folder
plugins/decision-lens
Version
0.2.0
License
MIT
Repo stars
4
Last change
2026-10-04
Language
TypeScript
Files
22

Other mods in Review

lookstheonly1meRedraws the transcript in one of four themes, Retro CRT, Punk, Synthwave, or Zen paper, with tidier tool rows, and optional one-line rows or centered replies.unsloptheonly1meFinds AI slop in each edit Claude makes, such as dashes, comment blocks, and tests that assert nothing, has Claude remove it, and counts it on the status line.quick-lookAndrewDongminYooLists the nine files the agent last read, wrote, or edited in a /ql pane with hotkeys 1 to 9, and opens the one you pick in macOS Quick Look.ravenarunkumar9t2Opens a live diff pane beside the session where you leave a note on a file, hunk, or line, sends the notes to Claude, and marks the ones it addressed.clarityCircularBloxBoxes your prompts and Claude's replies, draws tool rows as colored badges, replaces the spinner with a status band, and adds a session panel and a sprout, Pip.pending-changescomertialDocks a review pane of every file Claude created, edited, or deleted, as a tree with line counts, to accept or reject each and tell Claude, with VS Code diffs.shotdavekissAdds a screenshot MCP server, a /shot command that captures your terminal window, and a history pane of your screenshots, on macOS.rich-uiemergentaiDraws mermaid diagrams in Claude's replies as text diagrams, opens a markdown file you click rendered in a pane, and shows context and usage when they run high.prompt-spellcheckljmerzaFixes the spelling in each prompt you type with a Haiku request before the model reads it, and a toast lists each word it changed.reply-commentsMalkizOpens a pane of the whole conversation where you select any span with vim keys or the mouse, comment on it, and send all your comments to Claude as one prompt.diagram-panepotto007Pins each mermaid or ASCII diagram Claude draws in a side pane, keeps a live map of the work, and lets you open its boxes or change them.doc-previewradumariasDraws a Preview band above the prompt when Claude writes a Markdown or Mermaid file or a mermaid block, and opens it in a side panel with the diagrams drawn.
All 145 in Review