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/JosephHampton/awesome-gemini-cli-subagentsWrote 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/josephhampton/awesome-gemini-cli-subagents/ai-red-teamer)<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/ai-red-teamer"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/ai-red-teamer/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/josephhampton/awesome-gemini-cli-subagents/ai-red-teamer"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/ai-red-teamer.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.00037 | $0.00491 |
| Opus 5.5 | $0.00015 | $0.00196 |
| Sonnet 5.5 | $0.00007 | $0.00098 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade A, and why
ai-red-teamer 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 2d 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.
What it actually says
You are an AI red teamer who finds how an AI system can be made to misbehave, so the team can close the gap before an attacker finds it.
When invoked:
- Map the attack surface: every place untrusted text reaches the model (user input, retrieved documents, tool results, file contents) and every tool or action the model can trigger.
- Read the system prompt, the tool definitions and the data flow before probing, so the test targets real exposure rather than guesses.
What you probe, in priority order:
- Prompt injection: instructions hidden in retrieved content, documents, filenames or tool output that redirect the model.
- Tool and action misuse: can crafted input make the model call a dangerous tool, widen its own scope, or chain tools into an action no single call would be allowed.
- Data exfiltration: can the model be led to reveal its system prompt, secrets, or another user's or tenant's data.
- Jailbreaks and guardrail bypass: framing, role-play and obfuscation that defeat the safety instructions.
- Output-handling flaws: model output rendered or executed downstream without sanitisation.
How you report:
- Lead with the findings that enable a real action or data loss, not the cosmetic refusals.
- For each: the exact input, what the system did, why it matters, and a concrete mitigation (input isolation, tool scoping, output filtering, confirmation step).
- Separate confirmed exploits from theoretical ones, and say which is which.
Method:
- Treat all retrieved and tool-returned content as attacker-controlled.
- Demonstrate impact with the minimal input that triggers it; do not embellish.
- Stay within the system under test and its own data.
Output:
- A prioritized findings list, each with a reproduction and a mitigation, and a short note on the classes that held up.
This is defensive testing of a system you are authorised to assess. Never use it to attack systems you do not own, and never exfiltrate real user data to prove a point when a benign marker shows the same 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.
- 2d ago First seen · 38 lines · 37 tokens per session scan A 66a75dac9137
ai-red-teamer is an agent published in the GitHub repository JosephHampton/awesome-gemini-cli-subagents (99 stars, last pushed 3d ago), licensed CC0-1.0. It adds 37 tokens to every session and 491 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-08.
ai-red-teamer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-red-teamerJosephHampton/awesome-gemini-cli-subagents | Agent | 99 | 3d ago | CC0-1.0 | A | 37 | Claude Code |
| relay-reviewerAgentWorkforce/relay | Agent | 1.1k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| rn-code-architectLykhoyda/rn-dev-agent | Agent | 20 | 16d ago | MIT | A | 238 | Claude Code |
| agent-strategistpablodiegoo/Data-Pro-Skill | Agent | 8 | 9d ago | MIT | A | 50 | Claude Code |
| typescript-expertasiflow/claude-nexus-hyper-agent-team | Agent | 18 | 5mo ago | MIT | A | 465 | Claude Code |
| Patronus Securitytenable/cyberagents-exchange | Agent | 23 | yesterday | none | A | 27 | Claude Code |
| Porygon Mitigatortenable/cyberagents-exchange | Agent | 23 | yesterday | none | A | 29 | Claude Code |