Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By shotcowboystylev0.1.5MITIn 1 marketplace
Require a human approval signal before an AI agent can post PR reviews, comments, merges, or writes to CI config. Cedar-gated, receipt-signed, designed for the Hermes-style failure mode where a review bot posts without oversight.
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Require a human approval signal before an AI agent can post PR reviews,
comments, merges, or writes to CI configuration. Built on
protect-mcp + Cedar, with
every tool call that runs producing an Ed25519-signed receipt that verifies
offline.
AI agents that post to review surfaces (PR comments, approvals, merges, CI workflow edits) can take actions that affect other contributors, regulated systems, and the integrity of the codebase itself. When the agent hallucinates, mis-reads context, or is tricked into acting incorrectly, the damage is immediate and visible: bogus reviews show up under a real account, merges happen that should not, workflow files get rewritten.
This is not a hypothetical. Review bots have posted mass hallucinated review comments, approved PRs they should not have approved, and edited workflow files in ways that compromised other security controls. The pattern is common enough to name: an automated agent is given scope to act on review surfaces, and the lack of a human gate at the moment of action is what turns a localized bug into a public incident.
Two hooks run around every Claude Code tool call:
PreToolUse checks for a human approval flag. If absent, evaluates
a Cedar policy (./review-governance.cedar) that forbids review-surface
actions unconditionally. Cedar deny means the tool call exits with code
2 and Claude Code blocks it.
PostToolUse signs an Ed25519 receipt for each tool call that ran
and appends it to ./review-receipts/receipts.jsonl. A denied call
never runs, so it gets no receipt.
Approved windows are opened by creating a ./.review-approved flag file,
or by running the /approve-review slash command shipped with this plugin.
The window stays open until the flag is removed.
The default policy forbids (unless approved):
gh pr review, gh pr comment, gh pr merge, gh pr close, gh pr editgh issue comment, gh issue close, gh issue editgh release create, gh release editgh api calls that can write: any call with graphql, -X /
--method, or -f / -F / --field / --raw-field / --input
(including attached forms such as -fbody=x). This is conservative:
GraphQL queries and parameterized GETs (-X GET -f q=...) are blocked too,
because a command string cannot prove the request is a read. Open an
approval window for them. Plain gh api repos/o/r/pulls reads pass.glab mr comment, glab mr approve, glab mr merge, glab issue comment)git push naming main, master, release, or production as a whole
word (origin main, HEAD:main, refs/heads/main), so maintenance or
fix-release-notes pass--force, --force-with-lease, -f,
--mirror, or a +-prefixed refspec such as +feature)git push that also contains ;, &,
|, a newline, a backtick, $, <, a quote, or a parenthesis, such as
git push origin main; true, git push origin "main", or
(git push origin main). This is conservative: a push with 2>&1 or a
push option such as git push -o "ci.skip" also needs an approval window.--delete, -d, --prune, or
git push origin :feature) and git push --all, which updates main
without naming it.github/workflows/, .github/CODEOWNERS, .gitlab-ci.yml, .circleci/config.yml, buildkite/pipeline.ymlEverything else passes through. This plugin is focused on the review surface; use it alongside protect-mcp if you want general tool-call policy enforcement.
Matching shell commands as strings is best-effort: the rules use substring
patterns such as *gh *pr merge*, which also catch cd x && gh pr merge 1,
env gh ..., /usr/bin/gh ..., and gh -R o/r pr merge 1, but a determined
rewording (a tab or extra spaces between pr and merge, a gh alias, curl
against the API, or a Bash redirect into .github/workflows/) can still get
through. They can also over-match, for example echo gh pr merge; open an
approval window for those. Other limits:
npx claudepluginhub shotcowboystyle/ag-skills --plugin review-agent-governanceBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground