Open Source

Ship code that survives production

Prodscope adds a structured Builder-Breaker loop to your AI coding assistant so every change is challenged for production risks before it lands.

/prodscope:build "add rate limiting to the API" | +-- Phase 1: Builder | Implements smallest coherent diff | Attaches HEALTH_CHECK (smoke steps, signals, rollback) | +-- Phase 2: Breaker | SRE review: async races, DB indexes, memory, security | REJECT --> loops back to Builder (max 3 cycles) | ACCEPT --> proceeds to verification | +-- Phase 3: Verification | Runs smoke steps with evidence | Failure --> loops back to Builder | +-- Phase 4: Reliability score Rates change 1-10 (tests, observability, errors, ops, security) Logs outcome to .prodscope/logs/

Choose your platform

Claude Code

Native plugin install with auto-updates, /prodscope:build and /prodscope:verify commands, pre-merge hooks.

OpenAI Codex

Native plugin with repo marketplace. Codex detects it automatically and runs the full loop.

Cursor

Native plugin with marketplace entry, SRE rules, /prodscope:build and /prodscope:verify commands, session hooks.

Install

Each platform has a recommended native install — see the platform pages above for details. For a quick start, clone the repo and copy the files you need:

git clone https://github.com/ashokdudhade/prodscope.git /tmp/prodscope

Then follow the native plugin steps on the Claude Code, Codex, or Cursor page.

Shell installer (alternative)

Or use the shell installer to copy all files automatically. No global install, no dependencies:

# All platforms
curl -fsSL https://raw.githubusercontent.com/ashokdudhade/prodscope/main/install.sh | bash

# Single platform
curl -fsSL https://raw.githubusercontent.com/ashokdudhade/prodscope/main/install.sh | bash -s -- --claude-only
curl -fsSL https://raw.githubusercontent.com/ashokdudhade/prodscope/main/install.sh | bash -s -- --cursor-only
curl -fsSL https://raw.githubusercontent.com/ashokdudhade/prodscope/main/install.sh | bash -s -- --codex-only

How it works

Prodscope runs four phases in a single response — no manual handoff between roles:

1
Builder implements the smallest coherent diff and attaches a HEALTH_CHECK with smoke steps, signals to watch, and a rollback plan.
2
Breaker reviews as a senior SRE: async races, missing indexes, memory leaks, security gaps, and whether the health check is credible. Rejects with specific fixes if needed (max 3 cycles).
3
Verification runs HEALTH_CHECK smoke steps and captures evidence. No success claim without proof. Failures loop back to Builder.
4
Reliability score rates the final change 1–10 across tests, observability, error handling, operational fit, and security.

What gets installed

your-project/
+-- skills/
|   +-- using-prodscope/SKILL.md  # Session bootstrap: when the loop runs
|   +-- builder/SKILL.md          # Phase 1: feature delivery + HEALTH_CHECK
|   +-- breaker/SKILL.md          # Phase 2: SRE review + REJECT loop
|   +-- verification/SKILL.md     # Phase 3: evidence that smoke steps pass
|   +-- reliability/SKILL.md      # Phase 4: reliability scoring (1-10)
+-- .claude-plugin/
|   +-- plugin.json               # Claude Code manifest
|   +-- marketplace.json          # Claude Code marketplace entry
+-- .cursor-plugin/
|   +-- plugin.json               # Cursor plugin manifest
|   +-- marketplace.json          # Cursor marketplace entry
+-- .cursor/
|   +-- rules/prodscope.md        # Cursor project-level rule
|   +-- commands/
|       +-- prodscope-build.md    # Cursor /prodscope:build command
|       +-- prodscope-verify.md   # Cursor /prodscope:verify command
+-- rules/
|   +-- prodscope.mdc             # Cursor plugin rule (.mdc format)
+-- commands/
|   +-- build.md                  # Claude Code /prodscope:build command
|   +-- verify.md                 # Claude Code /prodscope:verify command
+-- hooks/
|   +-- hooks.json                # Claude Code hook registration
|   +-- hooks-cursor.json         # Cursor hook registration
|   +-- session-start             # Session bootstrap hook (all platforms)
|   +-- pre-merge.js              # Pre-merge telemetry gate
+-- .codex-plugin/plugin.json     # Codex plugin manifest
+-- .agents/plugins/
|   +-- marketplace.json          # Codex repo marketplace
+-- AGENTS.md                     # Codex orchestration bridge
+-- mcp-config.json               # MCP server placeholder
+-- .prodscope/logs/              # Rejection/improvement logs (gitignored)

Uninstall

rm -rf skills/ rules/ commands/ hooks/ .claude-plugin/ .cursor-plugin/ .codex-plugin/ \
  .agents/ .cursor/rules/prodscope.md \
  .cursor/commands/prodscope-build.md .cursor/commands/prodscope-verify.md \
  AGENTS.md mcp-config.json .prodscope/