By archethect
Ralpr - Ralph Autonomous Loop for Pull-request Readiness. Three-phase architecture (Implementation → Review → Refactor) with fresh context per loop iteration
Bridges to Codex MCP for independent third-party code review. MUST call mcp__codex__codex tool. Returns structured JSON with proposed fixes.
Architecture, security, and bug-focused code review for conventions, patterns, vulnerabilities, and logic errors. Returns structured JSON.
Maps codebase structure and persists to file. Use when starting a new ticket to understand project layout.
Implements acceptance criteria using strict TDD. Use after understanding requirements to write tests and code.
QA-focused code review for test coverage, edge cases, and error handling. Returns structured JSON.
Executes bash commands
Hook triggers when Bash tool is used
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
No model invocation
Executes directly as bash, bypassing the AI model
No model invocation
Executes directly as bash, bypassing the AI model
Autonomous three-phase loop that takes GitHub issues to merge-ready PRs.
Ralpr (Ralph Autonomous Loop for Pull-request Readiness) is a Claude Code plugin that autonomously implements GitHub issues and iteratively reviews the resulting PRs until they reach merge-ready confidence levels.
┌─────────────────────────────────────────────────────────────────────────┐
│ Ralpr Pipeline │
│ │
│ GitHub ┌──────────┐ PR ┌──────────────┐ ┌──────────────┐ │
│ Issue ──▶ │ Phase 1 │ ──────▶ │ Phase 2 │ ─▶ │ Phase 3 │ │
│ │ Impl │ │ Review │ │ Refactor │ │
│ │ (1 pass) │ │ (loop → 90%) │ │ (loop → 95%) │ │
│ └──────────┘ └──────────────┘ └──────────────┘ │
│ │ │ │
│ ▼ ▼ │
│ Merge-ready PR │
└─────────────────────────────────────────────────────────────────────────┘
Phase 2 — Parallel Review Agents:
┌─────────────────┐
│ QA Reviewer │──┐
│ (test coverage) │ │
└─────────────────┘ │ ┌───────────┐ ┌───────────────┐
├──▶ │ Aggregate │──▶ │ Fix-by-Default│──▶ Confidence
┌─────────────────┐ │ │ & Score │ │ Decision │ Score
│ Domain Expert │──┤ └───────────┘ └───────────────┘
│ (arch/security) │ │
└─────────────────┘ │
│
┌─────────────────┐ │
│ Codex Reviewer │──┘
│ (3rd-party AI) │
└─────────────────┘
| Tool | Min Version | Check Command | Purpose |
|---|---|---|---|
| Claude Code | latest | claude --version | Runtime |
gh | any | gh auth status | GitHub API |
git | 2.20+ | git --version | Worktree support |
jq | any | jq --version | JSON parsing |
bc | any | echo "1+1" | bc | Confidence math |
| Plugin | Source | Install Command | Used In |
|---|---|---|---|
superpowers | Official marketplace | /plugin install superpowers | Phase 3 — superpowers:refactor skill |
pr-review-toolkit | Official marketplace | /plugin install pr-review-toolkit | Phase 3 — pr-review-toolkit:code-simplifier agent |
| Server | Tool Used | Setup |
|---|---|---|
| Codex CLI | mcp__codex__codex | Install Codex CLI, set OPENAI_API_KEY, configure as MCP server in Claude Code |
The Codex MCP server is used by the codex-reviewer agent in Phase 2 to get an independent third-party review from OpenAI's model.
Note: Ralpr itself has zero npm/node dependencies. Project-specific tools (npm, cargo, pytest, forge, etc.) are auto-detected by quality gates.
# Inside Claude Code:
/plugin marketplace add Archethect/ralpr # Add marketplace
/plugin install ralpr # Install plugin
git clone https://github.com/Archethect/ralpr.git
claude --plugin-dir ./ralpr
# Start Claude Code in any GitHub repo, then:
/ralpr --dry-run
You should see a dry-run summary confirming prerequisites are met.
# 1. Open Claude Code in a GitHub repo
cd your-github-repo && claude
# 2. Run Ralpr on an issue
/ralpr --issue 42
# 3. Watch it work:
# - Implements the issue (TDD: RED → GREEN → REFACTOR)
# - Creates a PR labeled ralpr:impl:done
# - Reviews with 3 parallel AI agents, fixes issues
# - Refactors for code quality
# 4. Result: PR with confidence labels
# ralpr:impl:done
# ralpr:review:90+
# ralpr:refactor:95+
npx claudepluginhub archethect/ralprAI-powered smart contract security auditor with parallel hunt lanes, Devil's Advocate verification, static analysis (Slither, Aderyn), fuzz testing (Echidna, Medusa), symbolic execution (Halmos), Solodit intelligence, and interactive Map-Hunt-Attack methodology
Complete PRP workflow automation - plan, implement, debug, review, commit, and PR commands with specialized agents
Orchestration plugin. v1 use case: async development - turn ready issues into pull requests, then iterate on review feedback until a human takes over. Designed to host more orchestration use cases (refactoring, docs, audits) in future versions.
Automated code review for pull requests using multiple specialized agents with confidence-based scoring
Autonomous AI development pipeline that uses GitHub as a structured knowledge graph for Claude Code agents. Adds /work-on, /review-pr, /quality-gate, /orchestrate, and 20+ pipeline commands.
Pull request review, issue resolution, and Graphite stack management
Multi-language iterative PR review + autofix loop (built-in iteration engine + pr-review-toolkit + optional Codex)