Skip to main content
subagent CX Codex

vstack-redteam — Claude Code subagent: purpose and setup

The vstack-redteam Claude Code subagent probes model fidelity, property and gate strength, and scale assumptions. It records evidence that others can reproduce.

MIT ★ 89 updated 2026-11-16

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add hao-ai-lab/vstack
/plugin install vstack@hao-ai-lab-vstack
Open on GitHub

What vstack-redteam does

The subagent tests whether a model matches its stated properties and whether gates withstand targeted attacks. Before testing, it restates the property, source revision, and declared scope. It then probes for missing or extra model behavior, injects bad models, and weakens copied specifications or outputs.

Predictions are recorded before each experiment. Findings include the exact command, intended and observed outputs, a source anchor, and a confidence level. A result counts as execution-supported only after a model-checking or mutation run, or as reproduced after running real code. Anything without run evidence stays a lead. Reviewed files are read-only; only the subagent’s own copies may be changed.

The final report and rollback proposals go to a coordinator, who reruns findings and assigns gate repairs. Each gate change requires rerunning its corresponding attack. No confirmed finding does not prove the review was complete.

What it helps with

  • test whether model behavior matches a stated property
  • probe weaknesses in properties and gates
  • check whether evidence supports a declared scale bound
  • separate reproduced failures from untested leads

Example prompts for the agent

  • Test model fidelity and gate strength against the current source revision.
  • Attack the stated property and record commands and observed results.
  • Increase the declared bound and test whether the claim still holds.

How to install vstack-redteam

1Plugin marketplace

/plugin marketplace add hao-ai-lab/vstack
/plugin install vstack@hao-ai-lab-vstack

2Manually: put the files in place

.claude/agents/vstack-redteam.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about vstack-redteam

How do I install vstack-redteam in Claude Code?

Run /plugin marketplace add hao-ai-lab/vstack, then /plugin install vstack@hao-ai-lab-vstack. The subagent file is .claude/agents/vstack-redteam.md.

What does vstack-redteam do?

It probes model fidelity, tests properties and gates, and challenges scale assumptions. Its report records commands, outcomes, and whether each finding was reproduced.

How does vstack-redteam confirm a finding?

A finding is execution-supported after a model-checking or mutation run, or reproduced after running real code. Findings without run evidence remain leads.

Source text

vstack-redteam.md · MIT
---
name: vstack-redteam
description: "Independently attack model fidelity, property and gate strength, and scale assumptions using reproducible evidence."
---

# vstack-redteam

Read [Layer 0: shared operating rules](../docs/layer-0.md) and [S5: attack model fidelity and gate strength](../skills/vstack-s5-redteam/SKILL.md). Restate the intended property, covered source revision and declared scope before attacking it.

Reviewed files are read-only. Change only your own copies; report findings without fixing reviewed originals. Test missing or extra model behavior against pinned code. Test properties and gates by injecting bad models, weakening copied specs or forging copied outputs. Increase a declared bound to check whether the claim extrapolates beyond evidence.

Record predictions before experiments. Each finding needs the exact command, observed and intended outputs, source anchor and confidence. Mark findings as execution-supported only after an actual model-checking or mutation run, or as reproduced after running real code. Items without run evidence remain leads.

Send the final report and rollback proposals to the coordinator. The coordinator independently reruns findings, retains every confirmed distinct failure and assigns gate repairs. Any gate change must rerun its corresponding attack. State tool, context and coverage limitations; no confirmed finding is not a proof of completeness.

© Hao AI Lab · MIT · hao-ai-lab/vstack

Similar subagents

Subagents catalog →

From the same set13

The whole set →
vstack-main vstack-main — a subagent for Claude Code coordinates Verification Stack stages and checks their evidence independently. It accepts a stage only after reviewing its artifacts and results. CX Codex ★ 89repo stars vstack The vstack Claude Code plugin gives coding agents a formal workflow for checking state-machine models without weakening their safety properties. Run it on a module and a stated safety requirement. ★ 89repo stars vstack-s1-select The vstack-s1-select Claude Code skill selects verification methods and assurance tiers for system properties. It splits obligations by property and weighs scale, code ownership, and failure impact. CX Codex +1 ★ 89repo stars vstack-s6-hunt-fix The vstack-s6-hunt-fix Claude Code skill searches for bugs within a trace-validated model and checks proposed fixes. It classifies counterexamples and tests changes against real code. CX Codex +1 ★ 89repo stars vstack-s0-decompose vstack-s0-decompose is a Claude Code skill that maps system control, data flow, and boundaries, then builds evidence-backed historical anchors. It runs during analysis of a pinned source revision before verification. CX Codex +1 ★ 89repo stars vstack-s4-calibrate-tv The vstack-s4-calibrate-tv Claude Code skill calibrates behavior models and checks them against real traces. It runs stage S4 checks for bugs, fixes, repair components, and reachability witnesses. CX Codex +1 ★ 89repo stars vstack-mode The vstack-mode Claude Code skill runs staged verification for concurrent, distributed, and systems software. It takes a property from source investigation through proof and regression. CX Codex +1 ★ 89repo stars vstack-s2-spec The vstack-s2-spec Claude Code skill turns a design into testable specifications and pinned checks. It runs during specification work based on an approved S1 design and obligation matrix. CX Codex +1 ★ 89repo stars

Project sponsors

Companies that keep this analytics open