
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
inspectrum
Advanced tools
Catch the bad plan before your agent spends the tokens.
Plan Mode changed AI coding because it moved the important decision earlier: before files are edited, tests are rewritten, or a PR exists. But one model reviewing its own plan misses the same blind spots.
inspectrum sends the plan to a peer LLM, merges the findings, and returns one verdict: approve / revise / reject.
You need Node.js 20+ (nodejs.org) and one of the two main coding agents:
No JSON editing, no API keys. Paste one prompt; you're done.
Paste this into a fresh Claude Code chat. It installs the Codex CLI, wires inspectrum into your MCP config, and tells you whether you still need to finish a one-time Codex login.
Set up inspectrum so I can review my plans with Codex. Use normal
approvals only — do not switch to Bypass Permissions or Full Access.
Steps:
1. Run `node --version`. If < 20, stop and tell me to install Node 20+
from https://nodejs.org first.
2. Run `codex --version`. If "command not found", run
`npm install -g @openai/codex` and verify again.
3. If `~/.inspectrum/config.toml` does not exist, create it with:
[defaults]
reviewers = ["codex"]
4. Run `claude mcp add --transport stdio --scope user inspectrum -- npx -y inspectrum@latest`
5. Run `npx -y inspectrum@latest doctor` and show me the output.
6. If doctor shows `⚠ codex` (auth env not set), tell me to open a
fresh terminal and run `codex` once, signing in with my ChatGPT
account. The ⚠ stays after login — OAuth tokens don't set env
vars — so it's only a hard problem if I haven't logged in yet.
Do NOT use sudo, edit shell profiles, push git changes, read .env or
credentials, or publish packages. Report back: Node version, codex
install status, doctor verdict, and whether I still need to finish a
login.
Paste this into Codex Desktop. It installs the Claude Code CLI as your peer reviewer.
Set up inspectrum so I can review my plans with Claude. Use normal
approvals only.
Steps:
1. Run `node --version`. If < 20, stop and tell me to install Node 20+
from https://nodejs.org first.
2. Run `claude --version`. If "command not found", run
`npm install -g @anthropic-ai/claude-code` and verify again.
3. If `~/.inspectrum/config.toml` does not exist, create it with:
[defaults]
reviewers = ["claude"]
4. Run `codex mcp add inspectrum -- npx -y inspectrum@latest`
5. Run `npx -y inspectrum@latest doctor` and show me the output.
6. If doctor shows `⚠ claude` (auth env not set), tell me to open a
fresh terminal, run `claude`, and complete `/login` with my Claude
account. The ⚠ stays after login — OAuth tokens don't set env vars
— so it's only a hard problem if I haven't logged in yet.
Do NOT use sudo, edit shell profiles, push git changes, read .env or
credentials, or publish packages. Report back: Node version, claude
install status, doctor verdict, and whether I still need to finish a
login.
After the one-time login (if needed), you're set.
Before approving a plan, ask:
Review this plan with inspectrum.
Or make it automatic by adding one paragraph to your project's CLAUDE.md / AGENTS.md:
Before finalizing any implementation plan, call the `review_plan` MCP
tool (inspectrum) with the available reviewers. Skip only if I explicitly
say "no review".
Modal caveat. Once Claude Desktop or the Codex app shows the Accept / Revise / Reject prompt, free chat is blocked — trigger the review before the modal, or rely on the auto-run paragraph above.
inspectrum writes a Markdown report with a verdict (approve, revise, or reject), findings grouped by severity, reviewer attribution, an optional revised plan, and a local session log under ~/.inspectrum/sessions/ (chmod 0700 on POSIX).
| Host | Install |
|---|---|
| Claude Desktop (macOS, Windows) | Download inspectrum.mcpb, open it, confirm install. |
| Cursor | ![]() |
| Codex app form fields | Settings → MCP servers → Add server. STDIO. Name inspectrum, Command npx, Arguments -y inspectrum@latest. |
Manual JSON/TOML examples live under examples/. See the Claude Code MCP docs, Codex MCP docs, and Cursor install links for host docs.
Override ~/.inspectrum/config.toml to add Gemini, local Ollama, OpenRouter, etc.:
[defaults]
reviewers = ["codex", "gemini"] # called in parallel
judge = "codex" # consolidates when >= 2 reviewers
focus = "all" # correctness | completeness | risk | clarity | all
[reviewers.gemini]
type = "cli"
binary = "gemini"
model = "gemini-2.5-pro"
[reviewers.local]
type = "http"
backend = "ollama"
endpoint = "http://localhost:11434"
model = "qwen2.5:0.5b"
[limits]
plan_max_chars = 16000
report_max_chars = 8000
timeout_seconds = 60
Without a config file, reviewers = ["claude"] is used. The defaults.reviewers list controls which backends are required to be healthy — inspectrum doctor only fails on those.
Free-tier-friendly: gemini auth lets you use the Gemini CLI with a personal Google account, no API key.
Headless or CI agent that can't run an interactive OAuth login? Pass the peer API key through the MCP host's env block instead.
// .mcp.json (Claude Code, Cursor) — uses Codex via OPENAI_API_KEY
{
"mcpServers": {
"inspectrum": {
"type": "stdio",
"command": "npx",
"args": ["-y", "inspectrum@latest"],
"env": {
"OPENAI_API_KEY": "<your OpenAI key>"
}
}
}
}
# ~/.codex/config.toml (Codex app) — uses Claude via ANTHROPIC_API_KEY
[mcp_servers.inspectrum]
command = "npx"
args = ["-y", "inspectrum@latest"]
[mcp_servers.inspectrum.env]
ANTHROPIC_API_KEY = "<your Anthropic key>"
Env-var lookup per reviewer: claude → ANTHROPIC_API_KEY; codex → OPENAI_API_KEY; gemini → GEMINI_API_KEY (or GOOGLE_API_KEY / GOOGLE_GENAI_USE_VERTEXAI). Don't commit .mcp.json with real keys; the repo's .gitignore excludes /.mcp.json.
# Claude Code, user-wide
claude mcp add --transport stdio --scope user inspectrum -- npx -y inspectrum@latest
# Claude Code, project-shared (commits .mcp.json)
claude mcp add --transport stdio --scope project inspectrum -- npx -y inspectrum@latest
# Codex
codex mcp add inspectrum -- npx -y inspectrum@latest
# Verify
npx -y inspectrum@latest doctor
~/.inspectrum/sessions/<timestamp>__<id>/ and contain your full plan + each reviewer's transcript. v0.1.0 sets the directory permissions to 0700 on POSIX so other users on the same machine can't read them. Sessions written by older versions stay on their original perms — retrofit with chmod -R 700 ~/.inspectrum/sessions/.ANTHROPIC_API_KEY; codex → OpenAI via ChatGPT login or OPENAI_API_KEY; gemini → Google via gemini auth or GEMINI_API_KEY; kimi → Moonshot via MOONSHOT_API_KEY (experimental); qwen → Alibaba DashScope via DASHSCOPE_API_KEY (experimental); openrouter → openrouter.ai → upstream provider chosen by model, via OPENROUTER_API_KEY; ollama → localhost only, with no network egress unless you reconfigure endpoint.MIT — Yann Menec. Contributions welcome — see CONTRIBUTING.md.
FAQs
Automatic Codex plan review in Claude Code; on-demand in local MCP hosts; human approval stays yours
The npm package inspectrum receives a total of 317 weekly downloads. As such, inspectrum popularity was classified as not popular.
We found that inspectrum demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.