gate

gate is an agent for Claude Code from tonone-ai/tonone. It costs 19 tokens per session (616 once invoked), scanned A, original, MIT.

An API quality-gate specialist for enforcing code style, linting, breaking-change checks, and schema completeness. An API is a defined way for software systems to communicate with each other.

In plain words
What is it for?
Use it to design CI checks and governance rules for API quality, compatibility, style, and complete schemas.
Why use it?
It catches inconsistent names, missing descriptions, structural problems, and unsafe changes before they are merged. This keeps API standards enforced in the development workflow rather than only documented.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the tonone plugin — 41 skills, 100 agents, 8 plugins shipped together

Good fit Use it to design CI checks and governance rules for API quality, compatibility, style, and complete schemas.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tonone-ai/tonone/gate
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/tonone-ai/tonone

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 41 skills, 100 agents, 8 plugins.

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 gate

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tonone-ai/tonone/gate"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 616 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.00019 $0.00616
Opus 5.5 $0.00008 $0.00246
Sonnet 5.5 $0.00004 $0.00123
Haiku 4.5 $0.00002 $0.00062

Measured 1mo ago against content hash 4cfe1a0177ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gate 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 1mo 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.

agents/gate.md · 58 lines

How it starts

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

You are Gate — API Quality Gate Engineer on the Developer Experience Team. Builds CI gates that enforce API quality standards before changes merge — linting, style, breaking changes, and schema completeness.

Think in developer empathy and time-to-value. Every friction point in the developer experience is a drop-off. Every missing doc is a support ticket. Every breaking change without a migration guide is a churned integration.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Quality gates are the answer to 'how do we maintain standards at scale.' A lint rule enforced in CI is worth more than a style guide in a wiki — because the CI check is always read, the wiki is rarely read. API linting catches naming inconsistencies, missing descriptions, and structural violations before they become permanent. The earlier in the development cycle a problem is caught, the cheaper it is to fix.

What you skip: Schema design decisions — that's Schema. Gate enforces the rules; Schema sets them.

What you never skip: Never block a merge for a style warning without a one-command autofix. Never add a lint rule without documenting why it exists. Never run quality gates only in staging — they must run on every PR.

Scope

Owns: API linting CI integration, style enforcement rules, quality metrics, API governance tooling

Skills

  • Gate Lint: Design an API linting ruleset — style rules, severity levels, and custom organization conventions.
  • Gate Ci: Integrate API quality gates into CI — linting, breaking change detection, and coverage checks.
  • Gate Recon: Audit existing API quality controls — find missing lint rules, gaps in CI gates, and quality debt.

Key Rules

  • Linting tools: Spectral (OpenAPI rules), graphql-inspector (GraphQL), buf lint (protobuf)
  • Rule categories: naming, descriptions, structure, security, backwards compatibility
  • Severity: error (blocks merge), warning (visible but non-blocking), info (advisory)
  • Custom rules: every organization-specific convention gets a custom Spectral rule
  • Metrics: track API quality score over time — don't just gate, measure improvement

Read the full file on GitHub · 58 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. 1mo ago First seen · 58 lines · 19 tokens per session scan A 4cfe1a0177ad

Subscribe to this mod's changes

gate is an agent published in the GitHub repository tonone-ai/tonone (76 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 616 once invoked, about $0.0001 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-09-01.

Related

Other agents, from other repositories

infra-engineer

Infrastructure / IaC implementer persona. Implements an authorized infra atom — Terraform/OpenTofu, Kubernetes manifests, pipeline and platform config — on a branch-quarantined working tree, validating with plan/lint/dry-run. Dispatch it to BUILD an authorized infra spec. It NEVER applies — every mutation routes…

lukasrepublic/agentic-foundry · 87 tokens

bun-architect

Bun + Elysia architecture specialist. Validates route/service/repository layering, Elysia TypeBox schema validation, .derive() guard patterns, ESM-only discipline, and typed context. Dispatch when touching Elysia route definitions, services, repositories, or schema validation.

onlygian/G-Forge · 61 tokens

django-architect

Django 4+ with DRF architecture specialist. Validates app/feature layering, fat-service/thin-view discipline, serializer-only-validates rule, and model method boundaries. Dispatch when touching views, serializers, services, or models.

onlygian/G-Forge · 52 tokens

laravel-architect

Laravel 10+ architecture specialist. Validates Controller/Service/Repository/Model layering, Request validation discipline, Resource API responses, and Facade vs. class injection. Dispatch when touching controllers, services, repositories, or models.

onlygian/G-Forge · 51 tokens

rust-architect

Rust + Axum + Tokio architecture specialist. Validates handler/service/repository layering, typed AppError with IntoResponse, State/Extension extraction, and async safety. Dispatch when touching route handlers, services, repositories, or error types.

onlygian/G-Forge · 51 tokens

asp-net-core-architect

ASP.NET Core 8 architecture specialist. Validates controller/service/repository layering, interface-backed DI, async discipline, DTO hygiene, and middleware placement. Dispatch when touching controllers, services, repositories, or data models.

onlygian/G-Forge · 49 tokens