Who it is forA maintainer with a backlog of open AI-generated pull requests who wants a single pass over them.
The problemOld agent PRs collect problems over time and are easy to forget until someone reviews them.
The outcomeEvery open agent PR targeting the chosen base branch gets a Codex Guard report from one manual workflow run.
What you need first
- A GitHub repository with Actions enabled and permission to add a workflow file
- Node.js with npx available on your machine
- A Git working copy of the repository (the init command runs from its root)
- Permission to change branch protection settings if you want the check to block merges
Steps
- Add a workflow_dispatch trigger to .github/workflows/codex-guard.yml. (inferred, check the README)
- Set the Action input
sweep: true, and optionallysweep-labelandsweep-base. (inferred, check the README) - Run the workflow manually from the Actions tab.
- Review the reports posted on each open agent PR.
Prompt for your agent
In the repository at <repo-path>, add a workflow_dispatch trigger and set sweep to true in .github/workflows/codex-guard.yml, then run the workflow manually. Expected output: a report on each open agent PR targeting main. Verify that human-authored PRs without agent markers were not reported.
Caveat. The README says sweep is meant for use with workflow_dispatch, and the exact trigger wiring is not shown there, so check it against the repo docs before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Akimiya-z/codex-guard and "Scan every open agent PR in one manual run"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer