Skip to content
Back to skills

Mission Control

ASecurity

Run cross-agent local code review before git push using Mission Control (amc). Drives a second coding agent CLI already installed on this machine (Codex, Claude Code, OpenCode, or Copilot CLI) against an isolated snapshot of uncommitted local changes or a GitHub PR, returns structured file:line findings in JSON, and tracks findings across rounds (New, Persistent, Unverified, Likely fixed) without modifying the working tree or git index. Use when the user asks to cross-review local changes bef...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
developmentpythonbashnodegitapibackendsecurityperformance

Works with

  • claude code
  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add robll-v1/mission-control --skill mission-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mission Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mission Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/robll-v1-mission-control/badge)](https://www.skillsdirectory.com/skills/robll-v1-mission-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mission-control
description: "Run cross-agent local code review before git push using Mission Control (amc). Drives a second coding agent CLI already installed on this machine (Codex, Claude Code, OpenCode, or Copilot CLI) against an isolated snapshot of uncommitted local changes or a GitHub PR, returns structured file:line findings in JSON, and tracks findings across rounds (New, Persistent, Unverified, Likely fixed) without modifying the working tree or git index. Use when the user asks to cross-review local changes before pushing, get a second-opinion AI code review, verify whether previous review findings were actually fixed, or review a GitHub pull request locally."
license: MIT
metadata:
  version: "0.5.0"
  author: robll-v1
---

# Mission Control — Cross-Agent Local Code Review

Use Mission Control (`amc`) to review uncommitted local changes or a GitHub PR with a **second** coding agent CLI installed on the user's machine, then fix verified issues and re-review until clean.

## Why use a second agent

Never let the coding agent that just wrote a patch be the only reviewer when another CLI is available locally:

- **Running in Claude Code** -> prefer `codex` (with `--reasoning high` when reviewing risky security/concurrency changes), then `opencode`.
- **Running in Codex CLI** -> prefer `claude-code`, then `opencode`.
- **Running in OpenCode or Cursor** -> prefer `codex` or `claude-code`.

Mission Control snapshots the exact working tree (staged, unstaged, and untracked files) via a temporary `GIT_INDEX_FILE` and runs the reviewer in an isolated worktree — your working files, git index, and `HEAD` are never touched.

## Fast review workflow

1. **Run a cross-agent review round** using the bundled helper script (replace `<skill-dir>` with this skill's installed directory):

   ```bash
   python3 <skill-dir>/scripts/run_review.py --repo . --exclude <your-own-agent>
   ```

   Optional flags:
   - `--backend codex|claude-code|opencode|copilot` — pin a specific reviewer CLI
   - `--model <model-id>` — pin a specific model
   - `--reasoning <level>` — e.g. `low`, `medium`, `high` (omit to use `Model default`)
   - `--focus "<area>"` — e.g. `"security, concurrency, edge cases"`
   - `--pr <github-pr-url>` — review a GitHub pull request instead of local changes

   Need to reduce false positives on high-stakes diffs? Run `amc review --verify-with auto` (or MCP `verify_findings`) to run a 1-pass Cold Falsification check against the same frozen snapshot with a second local CLI (`confirmed` / `disputed` / `uncertain`, never auto-dismissing findings), or run `amc review --jury` (or MCP `run_blind_jury`) when 2+ distinct CLIs are installed to execute a parallel Same-Snapshot Blind Dual-Review Jury with targeted falsification on 1/2 disagreements. Pass `--preset security|concurrency|api|performance|correctness` (or custom `.amc.yaml` presets via `--list-presets`) to focus the review, `--format sarif -o amc.sarif.json` to export SARIF 2.1.0, `--post-comment [--dry-run]` on GitHub PR URLs to upsert a sticky review comment, or `amc stats [--here] [--json]` to inspect multi-round analytics.

   The helper locates `amc` on `PATH` or falls back to `uvx --from agent-mission-control amc`, picks an installed reviewer CLI different from `--exclude`, and emits structured JSON to stdout.

2. **Inspect the structured JSON receipt** (`verdict`, `passed`, `finding_count`, `findings[]`):
   - `verdict == "clear"` and `passed == true` -> report clean review and stop.
   - `verdict == "concerns"` -> triage each finding by `severity` (`critical` > `high` > `medium` > `low`) and inspect the cited `path:line` directly in the repository before editing.
   - `verdict == "failed"` or `"inconclusive"` -> report the error transparently (do **not** claim the diff is clean). If a reasoning level was rejected by the CLI, retry once without `--reasoning` (`Model default`).

3. **Fix confirmed issues, then run Round 2 (max 2 fix rounds)**:
   - Apply minimal, targeted fixes for confirmed `critical` / `high` (and valid `medium`) findings and run the repository's own tests.
   - Keep the updated fixes in the working tree (no need to commit first) and rerun step 1 for Round 2.
   - Check cross-round status carefully:
     - `persistent` -> still present; address before finishing.
     - `likely_fixed` -> omitted in Round 2 **and** code at that location changed between snapshots; verify with tests and let the user confirm.
     - `unverified` -> omitted in Round 2 while code did not change; **never** report this as confirmed fixed.

## Optional: inspect in the local Web Workbench

If the user wants to browse multi-round diffs, inline snippets, or mark findings `Resolved` / `Dismissed` visually:

```bash
amc start
```

(Or `uvx --from agent-mission-control amc start` — no Node.js required.)

## Rules and honest reporting

- Never fabricate a clean review when `amc` fails or no reviewer CLI is installed; report the exact error and install hint.
- Never claim a finding is confirmed `resolved` solely because Round 2 stopped mentioning it.
- Do not modify `.git` state, stash user changes, or push branches unless the user explicitly asks.

Files in this skill

  • SKILL.md4.8 KB
  • scripts/run_review.py6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.