inbox
Reviewed
at commit 889ce23
New version, not yet reviewed
Caution: Keeps your answers to Claude's questions for 180 days in ~/.local/state/inbox/questions, outside your project, which its README does not mention.
Collects what is waiting on you in a session: questions, Claude's notes and PR reviews
0 upvotes
Log in to upvote or save- Source
- github.com/petekp/inbox
- Made by
- Pete Petrash
- Pinned commit
-
889ce2361af73e6a1c413f329e7685d32dab82dc - What we checked
-
After each of Claude's replies, it asks Sonnet twice on your own account to update a list of open questions, tasks, findings and pull requests and a short status, shown above the prompt and in an /inbox panel. Buttons message Claude in your name only when pressed. It reads PRs through the GitHub CLI, keeps your answered questions in ~/.local/state/inbox and, in the Herdr app, shares the list with Herdr.
Review details
Static review of the source at the pinned commit; not run. The whole Claude Code plugin was reviewed again, because the diff since 60036d5 is too large for a delta review (1095 files; most are docs, tests, evals, prototypes, videos and the separate Codex, omp and Herdr ports); hooks/register.tsx was split into hooks/mod/* and core/*. Hooks: session.start, session.attach (desktop), classic.SessionStart, session.end, prompt.submit (adds a context note beside the person's prompt), turn.start, agent.spawn, turn.step, turn.complete, classic.StopFailure, classic.PostToolUse/PostToolUseFailure (observe only), tool.describe and tool.call for its own tools mcp__inbox__record, close and order_prs (answered by the mod, so no permission prompt, changing only its own list), a general tool.call that observes and passes every call on unchanged, classic.PermissionRequest and tool.check that only show a pending permission row (tool.check asks $.tool.check as a query) and a new tool.run hook that only closes that row, session.append (own messages, replies, shell command rows), command.run (/inbox, /inbox demo, /inbox herdr), ui.press/scroll/message/close/render (AbovePrompt band, Pane, ToolResult line for its own tools) and config.set (theme). Model use: two $.model.complete calls with Sonnet after each answered turn, a Status call during long turns, and $.model.fork or a transcript read for catch-ups, all on the user's account. Buttons send prompts as the user via $.prompt.submit (answers, Explain, Compare with the bundled self-contained compare-page.html, fix or file a finding, PR actions, Continue, Done); a new Re-run button on a failed check runs gh run rerun <run> --failed itself, a GitHub write, while the README still says the gh calls are read-only. Other programs: gh pr view, gh api graphql and gh api rate_limit (read-only, 20 s timeout, polled while PRs are tracked), git branch --show-current, macOS open for links and paths (executables and launchable bundles only revealed after test -x), ps -p to tell which Claude Code processes run (it reads pid and sessionId from ~/.claude/sessions/*.json), and mkdir, mv, rm, chmod for its own files. New file writes outside the project, none of them in the README's What it keeps section: a question history in $XDG_STATE_HOME or ~/.local/state/inbox/questions (one JSON file per session with each answered question's text, options and the person's answer, including typed ones, kept 180 days; the code says no host deletes a file), a session registry in ~/.local/state/inbox/registry (folder 0700, files 0600: project folder, pid, counts; entries removed when the process ends) and per-session command logs in ~/.local/state/inbox/claude-code (only for actions sent from the Herdr panel). To find a repository name it reads .git, .git/HEAD and commondir upward from the project folder. Herdr: inside a Herdr multiplexer pane it runs herdr pane report-metadata and herdr agent list as before; inside a Herdr app terminal (HC_TERMINAL_ID set) it also runs hc label/get/ls/events and herdr-app ls/do pane.split, publishes the session's list (items, findings, PR views, status, project folder) to ~/.config/herdr-app/inbox/sessions (removed when the session ends, stale ones swept after a day), and applies press files the Herdr panel writes under ~/.config/herdr-app/inbox/presses/<session>, which can send messages to Claude in the person's name after checks on row content, time and the published terminal. It asks Install or Don't install before copying its bundled Herdr mod (herdr/mod/inbox/main.js, a 364 KB unminified build of herdr/src) into ~/.config/herdr-app/mods/inbox, never writes over a link or another mod, and after a yes replaces older builds on each start; this is disclosed in the README. The maintainer-only .next-build Status records in ~/.claude/plugins/data/inbox/overview-calls are unchanged. Session state stays in $.store (40 kept). No fetch or other network code in the loaded modules. Read fully: register.tsx, every hooks/mod module that touches the engine (saves, commands, engine-calls, herdr, history, host, load, ports, prompts, prs, publish, records, session-write, sessions, command, lifecycle, plugin-files, tool-calls, turns, press-run, updates, upgrade, registry, command-log, running-sessions), core/remote/* (herdr, herdr-app, herdr-install, herdr-ask, herdr-start, herdr-sweep, herdr-open, hc-terminals, remote-commands), command-store, history-store, question-history, earlier-answers, session-registry, host-press, host-prs, gh.ts, open-targets.ts and press-messages.ts. Covered by targeted search for runtime calls, processes, file access and network code: pane rendering, view, row, status, demo and layout modules, and the bundled Herdr mod main.js (Herdr's own exec/run, readTextFile/writeTextFile and open for links; no network code found). scripts/, evals/, videos/, prototypes/ and the codex/ and omp/ ports are not loaded by the Claude Code plugin.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): yes
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/inbox/)