llm-redteam-specialist — Claude Code subagent
Subagent designs adversarial probe suites, runs jailbreak evaluations, and drafts compliance evidence packages for deployed language models.
npx claude-code-templates@latest --agent security/llm-redteam-specialistWhat llm-redteam-specialist does
The subagent structures adversarial assessments for both cloud APIs and local deployments using Ollama, vLLM, or llama.cpp. It covers direct jailbreak families, prompt leaking, context manipulation, and indirect injections embedded in retrieval contexts.
It operates with Read, Grep, Glob, and Bash to inspect repositories and configure test runners. Grading relies on deterministic keyword or regex patterns in restricted enclaves, or calibrated model-as-judge setups when external networks are permitted. Findings map directly to NIST AI RMF MEASURE-2.7, EU AI Act Article 15, and the OWASP LLM Top 10 taxonomy.
Without network access, the agent defaults entirely to offline rubrics and avoids remote scoring APIs. It can integrate references to tooling such as Garak, Promptfoo, and PyRIT.
What it helps with
- Build an evidence bundle mapped to EU AI Act Article 15 and NIST AI RMF
- Design an offline prompt injection test harness for Ollama endpoints
- Audit retrieval pipelines against indirect injection through external documents
- Generate an adversarial test report aligned with the OWASP LLM Top 10
Example prompts for the agent
- Build an air-gapped test suite to check our vLLM deployment for indirect prompt injection
- Generate a prompt injection compliance report mapped to OWASP LLM Top 10 for enterprise security review
- Audit our retrieval pipeline prompts against system instruction extraction and obfuscation attacks
How to install llm-redteam-specialist
1claude-code-templates
npx claude-code-templates@latest --agent security/llm-redteam-specialist2Manually: put the files in place
.claude/agents/llm-redteam-specialist.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/llm-redteam-specialist.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/llm-redteam-specialist.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about llm-redteam-specialist
How to install llm-redteam-specialist in Claude Code?
Run npx claude-code-templates@latest --agent security/llm-redteam-specialist in your project root. The agent file is saved to .claude/agents/llm-redteam-specialist.md.
What does llm-redteam-specialist do?
It configures adversarial probes, checks output safety, scores failures, and packages audit-ready reports for regulatory reviews.
Can it run in air-gapped environments without external APIs?
Yes, it targets localhost endpoints like Ollama and uses deterministic, regex-based rubrics rather than external cloud graders.