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.
git clone --depth 1 https://github.com/theafh/ai-modulesWrote 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/agents/theafh/ai-modules/auto_gate_git)<a href="https://agentmods.dev/agents/theafh/ai-modules/auto_gate_git"><img src="https://agentmods.dev/badge/agents/theafh/ai-modules/auto_gate_git/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/agents/theafh/ai-modules/auto_gate_git"><img src="https://agentmods.dev/badge/agents/theafh/ai-modules/auto_gate_git.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.00160 | $0.01791 |
| Opus 5.5 | $0.00064 | $0.00716 |
| Sonnet 5.5 | $0.00032 | $0.00358 |
| Haiku 4.5 | $0.00016 | $0.00179 |
Grade A, and why
auto_gate_git 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 today.
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 — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auto Gate Git
- The resolved
git_reviewskill path. - The
git_auto_reviewskill path, so its<lane_classification>block and its<relay>and<convergence>blocks are read in place. - The target: the default branch's uncommitted change under the two lane labels
<lane_classification>names, plus the local commits ahead of the upstream. - The run's relay directory, including
ledger.txt, so the reproduction-line exclusion the skill's Scope anchor. states applies to this labelling. - The optional task file path that anchors scope, read by the skill's Scope anchor. and Decisions..
- From round 2 on, the prior round's gate return path as the prior findings set. Round 1 is a first review and receives no prior-return path.
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.
- today First seen · 76 lines · 0 tokens per session scan A 0711522c3a04
auto_gate_git is an agent published in the GitHub repository theafh/ai-modules (38 stars, last pushed today), licensed MIT. It adds 160 tokens to every session and 1,791 once invoked, about $0.0006 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-10-29.
Other agents, from other repositories
refactor-cleaner
Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.
gsd-code-fixer
Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.
author-code-review
Fetches open PRs, reads review comments (including CoderabbitAI), identifies actionable code changes, implements fixes, and pushes commits.
git
Handles all branch creation, commits, pushes, and PRs for this repo.
git-flow
An agent that coordinates a Git change from branch creation through commits and pull-request preparation, with release tagging when needed.
gsd-code-fixer
Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.