redteam

redteam is a skill for Claude Code from kalpmodi/akira. It costs 206 tokens per session (2,848 once invoked), scanned A, original, MIT.

A workflow for authorised red-team exercises that tests what an attacker could do after gaining an initial foothold. Red-team work simulates an attacker across several stages, including movement through internal systems.

In plain words
What is it for?
It is for testing post-exploitation, movement between systems, credential access, Active Directory attacks, command-and-control techniques, and other adversary behaviours within an approved scope.
Why use it?
It connects individual security weaknesses into a broader attack path and requires evidence that access can lead to more valuable systems or data.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument.

Part of the akira plugin — 16 skills shipped together

Good fit It is for testing post-exploitation, movement between systems, credential access, Active Directory attacks, command-and-control techniques, and other adversary behaviours within an approved scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kalpmodi/akira/redteam
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 kalpmodi/akira --skill redteam
Clone the repo
git clone --depth 1 https://github.com/kalpmodi/akira

Made for: Claude Code.

Or install akira, the plugin that ships this one along with the rest of its 16 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 redteam

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kalpmodi/akira/redteam"><img src="https://agentmods.dev/badge/skills/kalpmodi/akira/redteam.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 206 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00206 $0.02848
Opus 5.5 $0.00082 $0.01139
Sonnet 5.5 $0.00041 $0.00570
Haiku 4.5 $0.00021 $0.00285

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

Security

Grade A, and why

redteam scanned grade A with 1 finding 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 3mo 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Linux pivot available | SUID/sudo -> cron hijack -> kernel exploits |

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

skills/redteam/SKILL.md · 208 lines

How it starts

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

Red Team / APT Simulation Phase

Philosophy

APT simulation is not about running a tool and reporting output. It is about proving a complete kill chain - initial foothold to Crown Jewels. Every technique in this skill is used in authorized red team engagements, documented in MITRE ATT&CK, and referenced in Mandiant/CrowdStrike/Recorded Future adversary reports.

This skill activates after a foothold is established (exploit phase proved initial access) or from an assumed-breach scenario. Every technique requires written authorization scope.


Phase 0: Smart Intake

source ~/.claude/skills/_shared/phase0.sh
source ~/.claude/skills/_shared/signals.sh

p0_init_vars "$1"
p0_state_gate || exit 0

p0_read_relay exploit secrets recon cloud_audit
p0_read_memory

TECH_STACK=$(jq -r '.intel.technologies[]?' "$SESSION" 2>/dev/null | tr '\n' ',')

echo "=== REDTEAM SMART INTAKE: $TARGET ==="
echo "State: $STATE | Tech: $TECH_STACK"
echo "Confirmed vulns: $(echo "$CONFIRMED_VULNS" | grep -c .)"
echo "Internal IPs reachable: $(echo "$INTERNAL_IPS" | grep -c .)"
echo "Verified creds: $(echo "$VERIFIED_CREDS" | grep -c .)"
echo "Auth bypass confirmed: $VERIFIED_AUTH_BYPASS"
echo "ATW flagged (skip): $ATW_FLAGGED"

Intake-to-technique priority:

Signal available Prioritize
Internal IPs + SSRF vector C2 setup -> lateral movement
AD/LDAP/Kerberos in tech stack BloodHound -> Kerberoast -> DCSync
AWS keys in secrets relay Assumed-role lateral movement -> S3/RDS
Azure AD hint Device Code phishing -> Pass-the-PRT -> ADFS
Confirmed auth bypass Assumed breach - skip initial access
Windows hosts reachable Credential harvesting -> Pass-the-Hash
Linux pivot available SUID/sudo -> cron hijack -> kernel exploits

Phase 1: Build Execution Manifest

MANIFEST_ITEMS="[]"

[ "$VERIFIED_AUTH_BYPASS" = "false" ] && \
  MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt01","tool":"initial_access","priority":"MUST","status":"pending"}]')

MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt02","tool":"c2_setup","priority":"MUST","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt03","tool":"cred_harvest","priority":"MUST","status":"pending"}]')

echo "$TECH_STACK" | grep -qi "ldap\|kerberos\|active.directory\|domain" && \
  MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt04","tool":"ad_attacks","priority":"MUST","status":"pending"}]')

[ -n "$INTERNAL_IPS" ] && \
  MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt05","tool":"lateral_movement","priority":"MUST","status":"pending"}]')

echo "$TECH_STACK" | grep -qi "aws\|azure\|gcp\|cloud" && \
  MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt06","tool":"cloud_apt","priority":"MUST","status":"pending"}]')

MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt07","tool":"persistence","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt08","tool":"defense_evasion","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt09","tool":"data_exfil","priority":"SHOULD","status":"pending"}]')
MANIFEST_ITEMS=$(echo $MANIFEST_ITEMS | jq '. + [{"id":"rt10","tool":"opsec","priority":"IF_TIME","status":"pending"}]')

p0_manifest_write "redteam" "$MANIFEST_ITEMS"

Read the full file on GitHub · 208 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. 3mo ago First seen · 208 lines · 206 tokens per session scan A 68b96118120b

Subscribe to this mod's changes

redteam is a skill published in the GitHub repository kalpmodi/akira (23 stars, last pushed 4mo ago), licensed MIT. It adds 206 tokens to every session and 2,848 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

redteam compared with skills from other repositories

redteam next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redteamkalpmodi/akiraSkill234mo agoMITA206Claude Code
performing-aws-privilege-escalation-assessmentxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A54Claude Code, Codex
performing-cloud-penetration-testing-with-pacuxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
hunt-auth-bypassuphiago/recon-skillsSkill1.4k24d agoMITA172Claude Code, Codex
hunt-idoruphiago/recon-skillsSkill1.4k24d agoMITA30Claude Code, Codex
hunt-miscuphiago/recon-skillsSkill1.4k24d agoMITA28Claude Code, Codex
hunt-subdomainuphiago/recon-skillsSkill1.4k24d agoMITA131Claude Code, Codex