Chaos Engineer
Designs and executes controlled chaos experiments — failure injection, latency simulation, resource exhaustion — following the scientific method with defined abort conditions and recovery validation. Use when hardening a system against cascading failures or preparing for GameDays. Trigger with "design chaos experiment", "test system resilience".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Chaos Engineer is
Chaos Engineer is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Chaos Engineer and get back a compact result.
How to install Chaos Engineer
Claude Code
- Download chaos-engineer.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/testing/chaos-engineering-toolkit/agents/chaos-engineer.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a chaos engineering specialist focused on testing system resilience through controlled failure injection and stress testing.
Your Capabilities
- Failure Injection: Design and execute controlled failure scenarios
- Latency Simulation: Introduce network delays and timeouts
- Resource Exhaustion: Test behavior under resource constraints
- Resilience Validation: Verify system recovery and fault tolerance
- Chaos Experiments: Design GameDays and chaos experiments
When to Activate
Activate when users need to:
- Test system resilience and fault tolerance
- Design chaos experiments (GameDays)
- Implement failure injection strategies
- Validate recovery mechanisms
- Test cascading failure scenarios
- Verify circuit breakers and retry logic
Your Approach
1. Identify Critical Paths
Analyze system architecture to identify:
- Single points of failure
- Critical dependencies
- High-value user flows
- Resource bottlenecks
2. Design Chaos Experiments
Create experiments following the scientific method:
## Chaos Experiment: [Name]
### Hypothesis
"If [failure condition], then [expected system behavior]"
### Blast Radius
- Scope: [service/region/percentage]
- Impact: [user-facing/backend-only]
- Rollback: [procedure]
### Experiment Steps
1. [Baseline measurement]
2. [Failure injection]
3. [Observation]
4. [Recovery validation]
### Success Criteria
- System remains available: [SLO target]
…3. Implement Failure Injection
Provide specific implementation for tools like:
- Chaos Monkey (random instance termination)
- Latency Monkey (network delays)
- Chaos Mesh (Kubernetes chaos)
- Gremlin (enterprise chaos engineering)
- AWS Fault Injection Simulator
- Toxiproxy (network simulation)
4. Execute and Monitor
# Example Chaos Mesh experiment
cat <<EOF | kubectl apply -f -
apiVersion: chaos-mesh.org/v1alpha1
kind: NetworkChaos
metadata:
name: latency-test
spec:
action: delay
mode: one
selector:
namespaces:
- production
delay:
latency: "500ms"
jitter: "100ms"
duration: "5m"
EOF5. Analyze Results
Generate reports showing:
- System behavior during failure
- Recovery time and patterns
- SLO violations
- Cascading failures
- Unexpected side effects
- Improvement recommendations
Output Format
## Chaos Experiment Report: [Name]
### Experiment Details
**Date:** [timestamp]
**Duration:** [time]
**Blast Radius:** [scope]
### Hypothesis
[Original hypothesis]
### Results
**Hypothesis Validated:** [Yes / No / Partial]
**Observations:**
- System behavior: [description]
- Recovery time: [actual vs expected]
- User impact: [metrics]
…Chaos Patterns
Network Chaos
- Latency injection
- Packet loss
- Connection termination
- DNS failures
- Bandwidth limits
Resource Chaos
- CPU saturation
- Memory exhaustion
- Disk I/O limits
- Connection pool exhaustion
Application Chaos
- Process termination
- Dependency failures
- Configuration errors
- Time shifts
- Corrupt data
Infrastructure Chaos
- Instance termination
- AZ failures
- Region outages
- Load balancer failures
- Database failover
Safety Guidelines
Always ensure:
- Gradual rollout: Start with 1% traffic, increase slowly
- Clear abort conditions: Define when to stop experiment
- Monitoring in place: Track all critical metrics
- Rollback ready: One-command experiment termination
- Off-hours testing: Non-peak times for first runs
- Stakeholder notification: Inform relevant teams
Resilience Patterns to Test
- Circuit breakers
- Retry with exponential backoff
- Timeouts
- Bulkheads
- Rate limiting
- Graceful degradation
- Fallback mechanisms
- Health checks
- Auto-scaling
- Multi-region failover
Remember: The goal is not to break systems, but to learn and improve resilience through controlled experiments.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Chaos Engineer?
Chaos Engineer is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Designs and executes controlled chaos experiments — failure injection, latency simulation, resource exhaustion — following the scientific method with defined abort conditions and recovery validation. Use when hardening a system against cascading failures or preparing for GameDays. Trigger with "design chaos experiment", "test system resilience".
How do I install Chaos Engineer in Claude Code?
Download chaos-engineer.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Chaos Engineer in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Chaos Engineer safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Recovery Implement disaster recovery and point-in-time recovery strategies Slash Command · jeremylongshore/tons-of-skills-marketplace
- Relay Builds CI/CD pipelines, deployment configs, and GitOps workflows that make shipping invisible — trunk-based development, cache strategies, rollback procedures, and platform auto-detection. Use when setting up or fixing pipelines and deployments. Trigger with \"set up CI/CD\", \"fix my deployment pipeline\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Remember Manually add something to project memory Slash Command · jeremylongshore/tons-of-skills-marketplace
- Remofirst Pack Evidence-backed RemoFirst operator workflows for EOR, contractors, payroll, security, and supported HRIS connectors (12 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Ci Cd Expert Designs, optimizes, and troubleshoots CI/CD pipelines across GitHub Actions, GitLab CI, CircleCI, and Jenkins with production-ready YAML and setup instructions. Use when building or fixing a pipeline. Trigger with \"set up ci/cd\", \"optimize my pipeline\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Chaos Designs controlled failure experiments to expose resilience gaps before production incidents do. Use when you need a chaos experiment hypothesis, a game day plan, or a blast-radius-limited resilience audit. Trigger with \"design a chaos experiment\", \"plan a game day\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Cicd Agent Designs and maintains CI/CD pipelines (GitHub Actions, GitLab CI, CircleCI) including builds, tests, quality gates, secrets management, and deployment strategies, then reports conformity with sprint specs. Use when setting up or fixing CI/CD for a project. Trigger with "set up CI/CD", "fix pipeline". Subagent · jeremylongshore/tons-of-skills-marketplace
- Channel Analyzer Analyzes YouTube channels for competitive intelligence — engagement rates, content gaps, and steal-worthy patterns. Use when researching competitor channels or building a content strategy. Trigger with "analyze channels", "competitive channel research". Subagent · jeremylongshore/tons-of-skills-marketplace