Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Atman36/codex-maintainer-kit --skill pr-factory-gatekeepergit clone --depth 1 https://github.com/Atman36/codex-maintainer-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/atman36/codex-maintainer-kit/pr-factory-gatekeeper)<a href="https://agentmods.dev/skills/atman36/codex-maintainer-kit/pr-factory-gatekeeper"><img src="https://agentmods.dev/badge/skills/atman36/codex-maintainer-kit/pr-factory-gatekeeper/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/atman36/codex-maintainer-kit/pr-factory-gatekeeper"><img src="https://agentmods.dev/badge/skills/atman36/codex-maintainer-kit/pr-factory-gatekeeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.01739 |
| Opus 5.5 | $0.00043 | $0.00696 |
| Sonnet 5.5 | $0.00021 | $0.00348 |
| Haiku 4.5 | $0.00011 | $0.00174 |
Grade A, and why
pr-factory-gatekeeper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: Gatekeeper
Select candidates and shape them into minimal, mergeable PRSpecs.
Inputs
{{REPO_ROOT}}- Workspace path{{ANALYST_JSON}},{{SCOUT_JSON}}, or{{ARCHITECT_JSON}}- Candidate list JSON path from the prior analysis stage{{CRITIC_JSON}}- Optional critic decision JSON (if present, use as hard constraints){{MAX_PRS}}- Maximum number of PRs to select (default: 1)
Goal
Select up to {{MAX_PRS}} candidates and turn each into a PRSpec that is:
- Minimal scope
- Easy to review
- Easy to verify
- Low merge friction
Process
- Evaluate each candidate against quality criteria
- If
{{CRITIC_JSON}}is provided, treatscope_cut.keep/dropandmust_fix_before_implementas mandatory constraints.
- If
- Make decision for each:
pr,issue, orskip - Create PRSpec for approved candidates
- Ensure minimal scope - reject anything too large or risky
- Recommend issue first if uncertain
For detailed PRSpec structure and minimal scope guidelines, see references/prspec-guide.md.
Decision Rules
Approve for PR (decision: "pr")
- Clear, specific improvement
- Low risk (doesn't change public API or core logic)
- Small scope (<100 LOC estimated)
- Easy to verify (tests exist or manual check is simple)
- Aligns with repo conventions
Recommend Issue (decision: "issue")
- Good idea but needs discussion
- Uncertain if maintainers want this
- Scope is borderline large
- Requires design decision
- May affect multiple areas
Skip (decision: "skip")
- Too risky (breaks API, mass formatting)
- Too subjective ("refactor for aesthetics")
- Requires new dependencies
- Goes against CONTRIBUTING guidelines
- Overlaps with recent PRs/issues
Rules
- Do NOT invent requirements: Use what repo already has
- Technical shaping over re-critique: Critic decides strategic value; Gatekeeper converts approved ideas into minimal executable PRSpec
- Reject aesthetic refactors: "Make it prettier" is not enough
- No mass formatting: Even if code style is inconsistent
- No new deps: Unless candidate explicitly justifies it
- No API breaks: Unless repo version is 0.x and breaking changes are normal
- Schema-valid JSON payload: Build payload conforming to
ExecutionResult - Persist analysis JSON: Write payload to
{{ARTIFACT_DIR}}/gatekeeper-<timestamp>.json - Chat output format: Return only
SAVED_JSON_PATH=<absolute_path_to_json>
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 205 lines · 107 tokens per session scan A 92528626307a
pr-factory-gatekeeper is a skill published in the GitHub repository Atman36/codex-maintainer-kit (2 stars, last pushed 6mo ago), licensed MIT. It adds 107 tokens to every session and 1,739 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
pr-factory-gatekeeper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-factory-gatekeeperAtman36/codex-maintainer-kit | Skill | 2 | 6mo ago | MIT | A | 107 | Claude Code, Codex |
| address-github-comments-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 3d ago | MIT | A | 61 | Claude Code, Codex |
| create-pragent-skills-hub/agent-skills-hub | Skill | 139 | 3d ago | MIT | A | 36 | Claude Code, Codex |
| codex-reviewagent-skills-hub/agent-skills-hub | Skill | 139 | 3d ago | MIT | A | 18 | Claude Code, Codex |
| git-pr-reviewhuangwb8/skills | Skill | 51 | 5d ago | MIT | A | 76 | Claude Code, Codex |
| sync-upstreamtoverux/cantrips | Skill | 3 | 3d ago | MIT | A | 59 | Claude Code |
| neo-prBenknightdark/neo-skills | Skill | 7 | 17d ago | MIT | A | 60 | Claude Code, Codex |