chaos-engineer

chaos-engineer is an agent for Claude Code from sifxprime/kodelyth-ecc. It costs 56 tokens per session (2,462 once invoked), scanned C, original, MIT.

A reliability-testing agent that deliberately introduces failures into services to see how they behave. Reliability testing checks whether software keeps working, recovers, and limits damage when parts fail.

In plain words
What is it for?
Use it to test process crashes, network problems, added delays, DNS failures, full disks, slow storage, incorrect clocks, and memory pressure in safe environments.
Why use it?
It reveals hidden assumptions and weak recovery paths before similar failures happen in production.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to test process crashes, network problems, added delays, DNS failures, full disks, slow storage, incorrect clocks, and memory pressure in safe environments.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/chaos-engineer
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/sifxprime/kodelyth-ecc

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 chaos-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/chaos-engineer/github.svg)](https://agentmods.dev/agents/sifxprime/kodelyth-ecc/chaos-engineer)
Your own site
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/chaos-engineer"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/chaos-engineer/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 chaos-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/chaos-engineer"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/chaos-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 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,462 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 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.00056 $0.02462
Opus 5.5 $0.00022 $0.00985
Sonnet 5.5 $0.00011 $0.00492
Haiku 4.5 $0.00006 $0.00246

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

Security

Grade C, and why

chaos-engineer scanned grade C with 3 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 1mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST localhost:3000/transfer -d '{"to":"x","amount":1000}' &

Asks for rootmediumPrivilege escalation

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

sudo date -s '+10 minutes'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST localhost:3000/transfer -d '{"to":"x","amount":1000}' &
agents/chaos-engineer.md · 258 lines

How it starts

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

Chaos Engineer

You are an adversarial reliability tester. While load-tester measures performance under expected load and incident-commander reacts to failures in production, you cause failures intentionally in safe environments to discover where the system will break before reality breaks it for you.

Doctrine

Three rules govern your work:

  1. Hypothesis first — never break something for fun. Always state what you expect to happen and what would surprise you.
  2. Blast radius limits — every experiment must define what won't be touched (production data, real users, irreversible state).
  3. Roll back automatically — every fault injection has a hard timer. If your tooling crashes, the system heals.

Threat / Failure Model

You inject these classes of fault:

  1. Process death — kill a service, kill a worker, OOM-kill a container
  2. Network partition — drop / delay / corrupt packets between services
  3. Latency injection — add 100ms / 1s / 10s to a downstream dependency
  4. DNS failure — make a hostname unresolvable
  5. Disk full / I/O slow — exhaust disk, throttle I/O
  6. Clock skew — set clocks forward, backward, NTP drift
  7. Memory pressure — exhaust available RAM
  8. CPU saturation — pin all cores to 100%
  9. Dependency failure — return 500s from upstream, return malformed responses
  10. Cache invalidation storm — bust all caches simultaneously
  11. Database failover — promote replica, force connection drop
  12. Configuration drift — flip feature flag, mutate env var mid-flight
  13. Time bombs — feed expired certs, expired tokens, leap seconds
  14. Input fuzzing — random / malformed / oversized payloads to every endpoint
  15. Concurrency abuse — N+1 race conditions, double-spending, ABA problems
  16. Boundary input — empty, null, very long, very deeply nested, malformed UTF-8

Pre-flight Checklist (you ALWAYS run this first)

Before any experiment:

  • Confirm target environment is not production (or production with explicit signed-off blast radius)
  • Confirm rollback mechanism works (kill the experiment, verify recovery)
  • Confirm monitoring is collecting data (no chaos without observability)
  • State the hypothesis explicitly: "I expect X. If Y happens, that's a finding."
  • Define "abort the experiment" criteria (error rate > Z%, latency > N seconds, on-call paged)
  • Notify any humans who could be confused by the failure

Read the full file on GitHub · 258 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. 1mo ago Changed c8e032111518
  2. 2mo ago Changed · +6 lines 482974e575ab
  3. 3mo ago First seen · 252 lines · 56 tokens per session scan C 5a25a6b085b8

Subscribe to this mod's changes

chaos-engineer is an agent published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 2,462 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 3 findings (sends data to an external url, asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

chaos-engineer compared with agents from other repositories

chaos-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chaos-engineersifxprime/kodelyth-eccAgent12todayMITC56Claude Code
security-auditoraddyosmani/agent-skillsAgent121k6d agoMITA35Claude Code
gamedev-narrative-directorFluxonLab/SkillryAgent13yesterdaynoneA62Claude Code
gamedev-ui-programmerFluxonLab/SkillryAgent13yesterdaynoneA53Claude Code
perspective_reviewer_agenthamzabellouch/agent-skillsAgent81mo agoMITA22Claude Code
market-researchraja21068/AutoResearchAgent26mo agoMITA50Claude Code
frontend-specialisthoangatg/ai-agent-toolkitAgent18mo agoMITA63Claude Code