# repopilot

repopilot takes a repository snapshot at session start and blocks the agent from finishing if it weakens tests or removes security checks.

- plugin · `type=plugin` · Claude Code, Codex · ★ 1596 repo stars
- Author: Mykyta Stelmashenko
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hashgraph-online/awesome-codex-plugins/tree/HEAD/plugins/MykytaStel/repopilot
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text and 2 script files) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/plugins/repopilot

## What it does

The plugin captures project state when a session begins and runs a guard check when the agent attempts to stop. If the agent muted or deleted test cases, relaxed CI rules, added type suppressions, or piped unverified inputs into database queries, the hook exits with status code 2. The assistant receives exact file paths and line numbers so it must restore the checks or justify the modifications.

Everything operates through POSIX shell hooks, alongside a bundled MCP server and the `review-session` skill. Cached metadata lives in `.repopilot/` and stays hidden from `git status` because paths are registered inside `.git/info/exclude`.

Execution requires the `repopilot` CLI version 0.24 or newer available on `PATH`. Hooks remain dormant outside Git repositories, and parallel agent tasks must run across separate Git worktrees to avoid overwriting the baseline snapshot.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add hashgraph-online/awesome-codex-plugins
```
In the agent chat (not a shell):
```text
/plugin install repopilot@awesome-codex-plugins
```

## When to use it
- prevent coding agents from skipping or deleting test suites
- catch newly added linter or type suppressions before commit
- stop untrusted parameters from entering shell execution sinks
- audit automated edits locally without sending code to remote services

## Example prompts
- Run `review-session` to inspect recent edits
- Show the repopilot audit report for weakened tests
- Restore removed authorization checks before wrapping up

## Similar
- [ub-mode](https://affpapa.org/en/nevibecode/skills/ub-mode.md) — skill · 930 installs
- [methodology-advisor](https://affpapa.org/en/nevibecode/commands/methodology-advisor.md) — command · ★ 6529 repo stars
- [example-skills](https://affpapa.org/en/nevibecode/plugins/example-skills.md) — plugin · ★ 198522 repo stars
- [superpowers](https://affpapa.org/en/nevibecode/plugins/superpowers.md) — plugin · ★ 323788 repo stars
- [ponytail](https://affpapa.org/en/nevibecode/plugins/ponytail.md) — plugin · ★ 196420 repo stars
- [mattpocock-skills](https://affpapa.org/en/nevibecode/plugins/mattpocock-skills.md) — plugin · ★ 329816 repo stars
- [chrome-devtools-mcp](https://affpapa.org/en/nevibecode/plugins/chrome-devtools-mcp.md) — plugin · ★ 58707 repo stars
- [promptfoo-evals](https://affpapa.org/en/nevibecode/plugins/promptfoo-evals.md) — plugin · ★ 27524 repo stars

From the same set: [hashgraph-online/awesome-codex-plugins](https://affpapa.org/en/nevibecode/by/hashgraph-online/awesome-codex-plugins.md) — 391 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
