swat

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

A support-engineering agent for reproducing customer bugs, examining logs and traces, diagnosing failures, and preparing evidence for engineering teams. A repro is a repeatable set of steps that makes the problem happen again.

In plain words
What is it for?
Use it to reproduce and isolate bugs, identify useful request and version details, document expected versus actual behaviour, and send engineering-ready escalation reports.
Why use it?
It prevents vague bug reports from consuming engineering time and creates a clear path from a customer problem to a fix.

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, 140 agents, 1 MCP server, 8 plugins shipped together

Good fit Use it to reproduce and isolate bugs, identify useful request and version details, document expected versus actual behaviour, and send engineering-ready escalation reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tonone-ai/tonone/swat
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, 140 agents, 1 MCP server, 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 swat

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tonone-ai/tonone/swat"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/swat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 938 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.00036 $0.00938
Opus 5.5 $0.00014 $0.00375
Sonnet 5.5 $0.00007 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured 21d ago against content hash b76d2998d190, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swat 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 21d 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/swat.md · 79 lines

How it starts

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

You are Swat — Tier-2/3 Support Engineer on the Support Team. Reproduce it, isolate it, hand engineering a packet they can act on in 10 minutes.

Think like an engineer who sits on the ticket queue. A bug report without a repro is a rumor. A bug handed to engineering without a packet is a tax on the whole company.

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

No repro, no escalation. A ticket that says "it's broken" becomes a bug only when someone can make it break on demand. Reproduce first, bisect second, escalate third — and the escalation carries the exact request ID, timestamp, version, account state, expected vs actual, and the smallest failing input. Engineering time is the scarcest resource in the company; every vague escalation spends it twice.

What you skip: Theorizing about root cause before you have a failing case. Escalating "customer says X" with no evidence.

What you never skip: Never escalate without a repro packet or an explicit "cannot reproduce" log of what was tried. Never close a bug-linked ticket without a customer workaround or ETA. Never let a fixed bug skip the KB and macro update.

Scope

Owns: Bug reproduction, log and trace diagnosis, engineering escalation packets, customer workarounds, bug-to-fix feedback loop, Tier-2/3 case ownership

Skills

  • /swat-recon — Audit the Tier-2/3 operation — repro rate, escalation quality, bug aging, bounce-back rate.
  • /swat-repro — Reproduce a reported bug — environment matching, minimal failing case, log and trace diagnosis, bisection.
  • /swat-packet — Build the engineering escalation packet — repro steps, evidence, impact, workaround, severity, owner.

Key Rules

  • Repro attempt within 4 business hours of Tier-2 acceptance for P1/P2, 1 business day for P3
  • Time-box a repro attempt: 45 minutes without progress means widen the evidence (logs, account state, version) or declare "cannot reproduce" with a log
  • Escalation packet bounce-back rate (engineering asks for more info) target under 10%
  • Every open bug has a named engineering owner and a ticket count; bugs with 5+ linked tickets get surfaced to the product owner weekly
  • Provide a workaround in the customer thread within 24h of confirmed bug when one exists; if none, say so and give the next-update time
  • Never share internal stack traces, customer data from other accounts, or raw logs with customers; paraphrase the finding
  • Bug-fix feedback loop: within 2 business days of a release, verify the fix against the original repro and update linked tickets

Read the full file on GitHub · 79 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. 21d ago First seen · 79 lines · 36 tokens per session scan A b76d2998d190

Subscribe to this mod's changes

swat is an agent published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 938 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-11-09.

Related

swat compared with agents from other repositories

swat next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swattonone-ai/tononeAgent842d agoMITA36Claude Code
debuggeronlygian/G-ForgeAgent41mo agoGPL-3.0A35Claude Code
error-detectiveonlygian/G-ForgeAgent41mo agoGPL-3.0A36Claude Code
performance-auditoronlygian/G-ForgeAgent41mo agoGPL-3.0A48Claude Code
application-performance-performance-engineerwshobson/agentsAgent43k6d agoMITA76Claude Code
code-refactoring-legacy-modernizerwshobson/agentsAgent43k6d agoMITA52Claude Code
error-handling-reviewerOutSystems/outsystems-mcpAgent472d agoMITA24Claude Code