Skip to content

Codebase Argus

Multi-agent codebase review for PRs, CI, and downstream fork syncs.

Install: /plugin marketplace add AaronZ345/codebase-argus

Works with Claude Code, Codex · 59 GitHub stars

Install

$/plugin marketplace add AaronZ345/codebase-argus

Install command taken from the project's README or registry entry. Always review code before running it.

Codebase Argus

Multi-agent PR review and downstream fork-sync risk analysis for maintainers.

Live demo · Quick start · Case study · GitHub Action · CLI · GitHub App · Agent Playbook · Skill Registries

Codebase Argus gives maintainers a review desk for codebase evidence. It reviews pull requests, failing CI logs, and long-lived fork syncs with the same set of signals: patches, checks, files, branch state, policy gates, provider consensus, and local git simulations.

Use it when a single reviewer is not enough, but a fully automatic merge bot is too risky. Argus can ask one model, several models, or local AI CLIs to review the same evidence, then keeps every finding tied to something a maintainer can check.

Try it on a public PR

The shortest useful path is a local, read-only review. No model key is needed for the deterministic pass.

git clone https://github.com/AaronZ345/codebase-argus.git
cd codebase-argus
npm ci
npm run argus -- review zhayujie/CowAgent#2965

To give the same evidence to an installed Codex CLI:

npm run argus -- review zhayujie/CowAgent#2965 --provider codex-cli

The CowAgent #2965 case study records both passes: low risk, no blocking issue, and one remaining integration-test boundary for a maintainer to judge.

Run it in pull requests

The companion Codebase Argus Action puts the deterministic review in a workflow job summary. It is read-only by default and needs no model key.

- uses: AaronZ345/codebase-argus-action@v1
  with:
    pull-request: ${{ github.repository }}#${{ github.event.pull_request.number }}

The Action also exposes failing-CI diagnosis, autofix planning, optional agent providers, and a pinned core-ref.

At a glance

Workflow Input Output
PR review owner/repo#123 or a GitHub PR URL risk summary, findings, inline-ready comments
CI review local log file or failing GitHub Actions jobs likely root cause, affected command, fix path
Autofix plan PR review findings gated branch plan for mechanical fixes
Downstream fork sync upstream repo + fork repo ahead/behind, conflict notes, rebase/merge risk
Agent handoff dashboard or CLI report task package with commands and acceptance gates

Common workflows

Review a risky PR with multiple agents

npm run argus -- review owner/repo#123 --tribunal openai-api,claude-cli,codex-cli

Argus fetches the PR metadata, changed files, checks, reviews, commits, and patch excerpts, then asks every configured reviewer to look at the same context. Matching findings are grouped so agreement is visible; provider failures stay in the report instead of disappearing.

Debug failing GitHub Actions logs

GITHUB_TOKEN=... npm run argus -- ci-github owner/repo#123 --provider codex-cli

The CI lane pulls failing job logs from GitHub Actions and asks for the first failing command, likely root cause, affected files, and the smallest fix path.

Check whether a fork can safely rebase

npm run argus -- downstream owner/upstream me/fork --fork-branch feature/demo --tribunal codex-cli,claude-cli,gemini-cli

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related