auto_gate_task

auto_gate_task is an agent for Claude Code from theafh/ai-modules. It costs 0 tokens per session (3,359 once invoked), scanned A, original, MIT.

An automated readiness check for one task file.

In plain words
What is it for?
Use it to determine whether one task is ready to be implemented and see the evidence behind that result.
Why use it?
It applies the task's single readiness test and turns the detailed check into a clear final decision, checklist, and issue list.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the ai_dev plugin — 26 skills, 9 agents, 1 hook shipped together

Good fit Use it to determine whether one task is ready to be implemented and see the evidence behind that result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/theafh/ai-modules/auto_gate_task
Install

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.

Clone the repo
git clone --depth 1 https://github.com/theafh/ai-modules

Made for: Claude Code.

Or install ai_dev, the plugin that ships this one along with the rest of its 26 skills, 9 agents, 1 hook.

Wrote 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.

agentmods badge for auto_gate_task

README.md
[![agentmods](https://agentmods.dev/badge/agents/theafh/ai-modules/auto_gate_task/github.svg)](https://agentmods.dev/agents/theafh/ai-modules/auto_gate_task)
Your own site
<a href="https://agentmods.dev/agents/theafh/ai-modules/auto_gate_task"><img src="https://agentmods.dev/badge/agents/theafh/ai-modules/auto_gate_task/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.

agentmods 80×15 button for auto_gate_task

Your own site · 80×15
<a href="https://agentmods.dev/agents/theafh/ai-modules/auto_gate_task"><img src="https://agentmods.dev/badge/agents/theafh/ai-modules/auto_gate_task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,359 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03359
Opus 5.5 $0.00000 $0.01344
Sonnet 5.5 $0.00000 $0.00672
Haiku 4.5 $0.00000 $0.00336

Measured yesterday against content hash 68cc8bed0911, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto_gate_task 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 yesterday.

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.

plugins/ai_dev/agents/auto_gate_task.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auto Gate Task

For an auto_shaper_task read-side call, receive a task path, the resolved task_check skill path or name, the resolved base task skill path or name, the project root, any creation-time context the orchestrator supplies for the run, and the task_fix escalation label that requested the readiness dimension. That call carries no refuted-citation set and runs unchanged.

Read the full file on GitHub · 94 lines

Changes

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.

  1. yesterday Changed · +9 lines 68cc8bed0911
  2. 2d ago Changed · +2 lines 024303e2a7a1
  3. 16d ago Changed · +4 lines 123ad532833d
  4. 17d ago Changed f0ad20f851bc
  5. 1mo ago Changed c280515ff216
  6. 1mo ago First seen · 79 lines · 0 tokens per session scan A 09006a65d5ce

Subscribe to this mod's changes

auto_gate_task is an agent published in the GitHub repository theafh/ai-modules (38 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,359 tokens. 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-30.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

cso-agent

CSO / Head of Sales agent. Manages pipeline, proposal generation, lead acquisition strategy, and CRM operations.

JOINCLASS/ai-ceo-framework · 27 tokens

onboard-guide

Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.

smicolon/ai-kit · 46 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

goals-onboarding

Use this agent to set up the OKR/goals system for a new company or project. Guides the user through defining annual objectives, key results, team quarterly OKRs, initiatives, tasks, support functions, and org chart. Generates YAML files following the workspace goals schema. Examples: Context: User wants to set up…

41fred/ace-level1 · 206 tokens