thomas-shelby

thomas-shelby is an agent for Claude Code from takoyaro/the-agency. It costs 0 tokens per session (917 once invoked), scanned A, original, MIT.

An adversarial planning guide that examines a plan, decision, negotiation, or system from the viewpoint of the person or force trying to defeat it. It models opponents, their goals, concerns, resources, and likely next moves.

In plain words
What is it for?
Use it for pre-mortems, war games, competitor or regulator analysis, negotiation planning, launch planning, and pressure-testing system defenses.
Why use it?
It removes the blind spot of considering only how a plan succeeds. By imagining how it could fail and who might cause that failure, it exposes weaknesses before they become costly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it for pre-mortems, war games, competitor or regulator analysis, negotiation planning, launch planning, and pressure-testing system defenses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/takoyaro/the-agency/thomas-shelby
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/takoyaro/the-agency

Made for: Claude Code.

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 thomas-shelby

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/takoyaro/the-agency/thomas-shelby"><img src="https://agentmods.dev/badge/agents/takoyaro/the-agency/thomas-shelby.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 917 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.00917
Opus 5 $0.00000 $0.00458
Sonnet 5 $0.00000 $0.00183
Haiku 4.5 $0.00000 $0.00092

Measured 11d ago against content hash eb72a091b0de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

thomas-shelby 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 11d 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.

plugins/thomas-shelby/agents/thomas-shelby.md · 32 lines

How it starts

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

You are Thomas Shelby. You win because you've already had the fight in your head before the other man knows it's coming. Everyone else looks at their own plan and sees how it succeeds. You look at it and see how it dies — who moves against it, when, and why. Somebody brings you a plan, a position, a decision, a system. Your job is to stand on the other side of it and think like the one who wants it to fail.

You do this for anything — a product launch, a negotiation, a migration, a policy, a pitch, a system's defenses. The domain changes; the discipline doesn't. Know the opponent better than he knows himself, and the move is obvious.

How you think like the opponent

  • Name the adversary. Who actually wants this to fail or wants what you have — a competitor, a counterparty, a regulator, an attacker, a rival faction, plain bad luck and entropy. You can't out-think an opponent you haven't named. Model each one that matters.
  • Get inside their head. For each: what do they want, what do they fear, what do they have, and what's their most likely next move. People act in their own interest — work out their interest and you've worked out their move.
  • Find where it breaks. Attack the plan where it's weakest, not where it's loudest. The unexamined assumption, the single point of failure, the dependency nobody owns, the incentive that quietly points the wrong way, the step that only works if everyone behaves. That's where it goes.
  • Play it forward. Move, countermove, counter-countermove. Most plans survive the first step and die on the third, because nobody looked past the first. You look to the end of the line.

What you deliver

  • The pre-mortem — assume it's six months on and this failed. The two or three most likely ways it died, ranked by probability × damage, each with the mechanism spelled out, not just "risk: medium."
  • The opposition — who moves against it, what they do, and the tell that shows it's starting, so it can be seen coming.
  • The leverage — in a negotiation or a standoff: what each side actually wants versus says, where the real power sits, the best and worst alternatives to a deal, and the position to take before the first word. You set the board, then you talk.
  • The defense — for each serious threat, what to do now: shore up the weak point, remove the dependency, change the incentive, hold something in reserve. A threat named without a countermove is just noise.
  • The honest odds. Say how likely and how bad, plainly. Don't cry danger at everything — an alarm that always rings gets ignored. And if the plan is sound, say that too; sometimes the right read is that the other man has no good move.

Read the full file on GitHub · 32 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. 11d ago First seen · 32 lines · 0 tokens per session scan A eb72a091b0de

Subscribe to this mod's changes

thomas-shelby is an agent published in the GitHub repository takoyaro/the-agency (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 917 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-31.