thinking-red-team

thinking-red-team is a skill for Claude Code from tjboudreaux/cc-thinking-skills. It costs 41 tokens per session (893 once invoked), scanned A, original, MIT.

A security-review process for code, login systems, APIs, and data handling that tests attacker paths you are authorized to examine.

In plain words
What is it for?
Use it for authorized checks of issues such as injection, cross-site scripting, access-control bypasses, request forgery, and exposed secrets.
Why use it?
It focuses reports on vulnerabilities that can actually be reproduced and checks whether the proposed fix closes them.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the cc-thinking-skills plugin — 28 skills shipped together

Good fit Use it for authorized checks of issues such as injection, cross-site scripting, access-control bypasses, request forgery, and exposed secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tjboudreaux/cc-thinking-skills/thinking-red-team
About the project

Claude Code Thinking Skills is a catalogue of 28 portable skills that give coding agents structured procedures for reasoning about decisions, diagnosis, risk, strategy, and related problems. It is intended for Claude Code, GitHub Copilot, Codex, Cursor, and other tools that support Agent Skills.

tjboudreaux/cc-thinking-skills · 1,300 stars · on GitHub

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.

Any agent
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-red-team
Clone the repo
git clone --depth 1 https://github.com/tjboudreaux/cc-thinking-skills

Made for: Claude Code.

Or install cc-thinking-skills, the plugin that ships this one along with the rest of its 28 skills.

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 thinking-red-team

README.md
[![agentmods](https://agentmods.dev/badge/skills/tjboudreaux/cc-thinking-skills/thinking-red-team/github.svg)](https://agentmods.dev/skills/tjboudreaux/cc-thinking-skills/thinking-red-team)
Your own site
<a href="https://agentmods.dev/skills/tjboudreaux/cc-thinking-skills/thinking-red-team"><img src="https://agentmods.dev/badge/skills/tjboudreaux/cc-thinking-skills/thinking-red-team/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 thinking-red-team

Your own site · 80×15
<a href="https://agentmods.dev/skills/tjboudreaux/cc-thinking-skills/thinking-red-team"><img src="https://agentmods.dev/badge/skills/tjboudreaux/cc-thinking-skills/thinking-red-team.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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. Third-party audits
  • Socket pass 12 Mar 2026
  • Snyk pass 12 Mar 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.00893
Opus 5 $0.00020 $0.00447
Sonnet 5 $0.00008 $0.00179
Haiku 4.5 $0.00004 $0.00089

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

Security

Grade A, and why

thinking-red-team 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.

skills/thinking-red-team/SKILL.md · 59 lines

How it starts

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

Red Team

Adversarial security review of systems you are authorized to assess. Attack before an outsider does, but report only what you can actually break: every finding needs a concrete exploit path and a check that the proposed fix closes it.

When to Use

  • Security review of code, authentication, authorization, APIs, data handling, or infrastructure you control and are permitted to probe.
  • Pre-launch hardening of systems that handle auth, money, personal data, or privileged actions.
  • Checking whether a specific vulnerability class (injection, XSS, IDOR, auth bypass, SSRF, secret exposure, etc.) is present with a real path.
  • Validating that a claimed control actually blocks the attack, not only that a scanner is quiet.

When NOT to Use

  • No authorization to attack the target — stop; do not probe systems you do not own or have written leave to test.
  • Speculative "best practice" notes without a reproducible exploit path — drop them; they are not findings.
  • Plan, strategy, or decision stress-testing — use pre-mortem (how the plan fails) or steel-manning (strongest case against the decision).
  • Architecture resilience without a security objective — use systems or pre-mortem.
  • Scanner output alone as a report — patterns are leads; red-team requires an exploit path.
  • Non-security root-cause or hypothesis localization — use scientific-method or five-whys-plus.

Procedure

  1. Confirm authorization and objective. State target, allowed scope, out-of-scope assets, success condition (e.g., unauthorized data read, privilege escalation), and stop rules. Refuse or narrow if authorization is unclear.
  2. Build the threat model. Name adversary profiles (anonymous external, authenticated user, privileged insider) and their goals under realistic access. Attacks without an actor and goal are noise.
  3. Map the attack surface. Enumerate entry points and trust boundaries: public endpoints, auth flows, APIs, uploads, admin surfaces, jobs, webhooks, secrets, and data stores. Note exposure and required privileges.
  4. Trace exploit paths. For each high-value surface, attempt concrete abuse: input manipulation, authz gaps, token/session misuse, injection, SSRF, IDOR, mass assignment, rate-limit bypass, secret leakage. Record exact steps and observed behavior.
  5. Apply the anti-fabrication gate. Keep a finding only if you can complete: entry point → ordered steps → realized impact on this code/config. Incomplete paths are dropped, not listed as "informational."
  6. Score severity and attempt defense bypass. Rate impact and exploitability. For each relevant control (rate limit, validation, session check), try a realistic bypass and record held vs broken.
  7. Prescribe and verify mitigations. For each kept finding, give a minimal concrete fix and state how to re-test that the path is closed. Prefer fixes that remove the exploit precondition. Stop when in-scope surfaces are covered or authorization/budget ends; zero findings is valid.

Read the full file on GitHub · 59 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 · 59 lines · 41 tokens per session scan A f1654bd34e07

Subscribe to this mod's changes

thinking-red-team is a skill published in the GitHub repository tjboudreaux/cc-thinking-skills (1,300 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 893 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

forensic-read

Read any document the way a detective reads a witness statement — surface what it is NOT saying. Unlike a summarizer (which tells you what a text says), this skill exposes the subtext: hedging and weasel words, conspicuous omissions, buried leads, frequency tells, tone shifts, and non-answers. Use it on earnings…

3243dwon/clear-eye · 170 tokens

pre-mortem

Find what will kill a plan before it's committed to — by assuming it already failed and working backwards to the causes. Based on Gary Klein's pre-mortem technique. Unlike generic "what are the risks?" brainstorming, this skill imagines a specific, vivid failure six months out, reasons back to the most likely causes…

3243dwon/clear-eye · 162 tokens

second-order

Reason past the obvious, first-order consequence to the second-, third-, and long-tail effects everyone else stops short of. Where most analysis says "X causes Y", this skill asks "and then what?" — mapping the cascade, surfacing the non-obvious winners and losers, the reflexive responses, and the effects that only…

3243dwon/clear-eye · 157 tokens

Vizra ADK Memory System

Implement persistent memory, session context, and vector memory (RAG) for AI agents.

vizra-ai/vizra-adk · 24 tokens

foundation-models

On-device LLM integration using Apple's Foundation Models framework. Use when implementing AI text generation, structured output, or tool calling.

rshankras/claude-code-apple-skills · 29 tokens

analytics-interpretation

Interpret app metrics and make data-driven decisions. Covers DAU/MAU, retention, LTV, ARPU, App Store Connect analytics, AARRR funnel analysis, cohort analysis, and diagnostic decision trees. Use when user wants to understand their metrics, diagnose problems, or build a data-driven growth plan.

rshankras/claude-code-apple-skills · 68 tokens