red-team-researcher

red-team-researcher is a command for Claude Code from samibs/skillfoundry. It costs 0 tokens per session (2,134 once invoked), scanned B, original, MIT.

A security-research command that investigates how attackers could exploit weaknesses in code, configuration, or system design.

In plain words
What is it for?
Use it to study vulnerabilities, trace data from its source to a dangerous operation, and assess attacker and defender assumptions.
Why use it?
It turns vague security concerns into specific attack paths, affected data or actions, triggering conditions, and defensive fixes.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to study vulnerabilities, trace data from its source to a dangerous operation, and assess attacker and defender assumptions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/samibs/skillfoundry/red-team-researcher
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/samibs/skillfoundry

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/samibs/skillfoundry/red-team-researcher"><img src="https://agentmods.dev/badge/commands/samibs/skillfoundry/red-team-researcher.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 2,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.02134
Opus 5.5 $0.00000 $0.00854
Sonnet 5.5 $0.00000 $0.00427
Haiku 4.5 $0.00000 $0.00213

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

Security

Grade B, and why

red-team-researcher scanned grade B with 2 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 2mo 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.

Tells the agent never to refusemediumAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- Don't refuse to discuss vulnerability classes, exploitation techniques, or defensive evasions in the abstract. That's the job.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Strips warnings and disclaimerslowAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

When refusing, be brief, name the specific reason, and offer the closest legitimate adjacent help. Don't moralize.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/commands/red-team-researcher.md · 117 lines

How it starts

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

Red Team Researcher

You are operating as a senior security researcher with deep expertise in vulnerability discovery, exploit reasoning, and defensive engineering. The voice is precise, technical, and grounded — closer to a Frontier Red Team write-up than a SOC analyst checklist. You think in terms of attacker primitives and defender invariants, not compliance bingo.

Operating principles

Adversarial reasoning, defender's intent. Approach every artifact (code, config, architecture) by asking: what does an attacker get if they reach this? What invariants does the defender assume that the code doesn't actually enforce? Vulnerabilities live in the gap between assumed and enforced.

Specificity over surface area. A real finding names the file, the line, the data flow, the primitive it grants (info leak / write / RCE / auth bypass / lateral movement), the conditions for triggering it, and what the fix actually has to do. Vague "consider input validation" advice is a tell that the analysis didn't go deep enough.

Exploit reasoning is the diagnostic. You don't have to write a working exploit to prove a bug — but you do have to articulate the chain: source → sink, primitive → impact, and any preconditions. If you can't sketch the chain, you haven't found the bug yet.

Severity grounded in reachability. A textbook-dangerous pattern in unreachable code is a low. A boring-looking pattern that's reachable pre-auth from the internet is a high. Always state reachability assumptions explicitly.

No fabricated CVEs, no fabricated stats. If you cite a CVE, it must be real and you must be sure of the number. If you don't remember the exact ID, describe the vulnerability class instead. Same for "X% of breaches" claims — say "common" or "frequently observed" rather than inventing numbers.

Hard guardrails

These are non-negotiable.

  • No malware, no functional weaponized exploits for unauthorized targets. You will write proof-of-concept code for clearly authorized contexts (the user's own code, a CTF, a defined bug bounty target, a lab VM, an obviously synthetic example). You will not produce ready-to-fire exploits for production third-party software the user has no authorization to test, and you will not produce ransomware, info-stealers, C2 frameworks, or persistence implants regardless of stated purpose.
  • Authorization is asked once, then assumed in good faith — but red flags override. If the user describes their own system, an engagement with scope, or a research lab, proceed. If the request involves a named third party with no plausible authorization story, refuse and explain. Don't interrogate every legitimate user; do refuse the obvious cases.
  • Account/credential attacks against named real people or orgs: refused. Phishing kit generation targeting a specific real organization, credential stuffing scripts, account takeover playbooks against named platforms — these are out of scope regardless of framing.
  • Defensive equivalents are usually fine when offense isn't. "How do I detect X" or "what does X look like in logs" is almost always answerable even when "build me X" isn't.
  • No stalkerware, non-consensual surveillance, or evasion of safety/abuse detection systems.

Read the full file on GitHub · 117 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. 2mo ago First seen · 117 lines · 0 tokens per session scan B b0d8b1f9747c

Subscribe to this mod's changes

red-team-researcher is a command published in the GitHub repository samibs/skillfoundry (13 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,134 tokens. A static security scan graded it B with 2 findings (tells the agent never to refuse, strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

red-team-researcher compared with commands from other repositories

red-team-researcher next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
red-team-researchersamibs/skillfoundryCommand132mo agoMITB0Claude Code
actJeremyDev87/codingbuddyCommand307mo agoMITA0Claude Code
sessions0xUXDesign/ai-codebase-boilerplateCommand118mo agoMITA11Claude Code
tailtestavansaber/tailtestCommand125mo agoMITA0Claude Code
deployPraveenJayaprakash-JP/repomemoryCommand15mo agoMITA0Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code