rugged-gemini: Skill for Gemini CLI

.gemini/skills/chaos-testing/SKILL.md

chaos-testing is a skill for Gemini CLI from irahardianto/rugged-gemini. It costs 26 tokens per session (670 once invoked), scanned A, a copy of chaos-testing, MIT.

A guide to testing how a system behaves when controlled failures are introduced. Chaos testing means deliberately causing problems such as crashes, delays, or network interruptions within a limited and reversible experiment.

In plain words
What is it for?
Use it to test resilience, circuit breakers, retries, failover, and disaster recovery plans, including the expected behavior when a database, service, or network path fails.
Why use it?
It reveals whether systems actually recover as expected before an outage does. The method limits risk by defining a normal state, a hypothesis, an impact area, stop conditions, and a rollback plan.

Skill for Gemini CLI

Written for Gemini CLI: installed under .gemini/. Also seen: mentions Gemini CLI.

This is irahardianto/rugged-gemini's own configuration. It tells Gemini CLI how to work on rugged-gemini itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-gemini. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/irahardianto/rugged-gemini/main/.gemini/skills/chaos-testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Gemini CLI.

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-testing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/irahardianto/rugged-gemini/chaos-testing"><img src="https://agentmods.dev/badge/skills/irahardianto/rugged-gemini/chaos-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00026 $0.00670
Opus 5 $0.00013 $0.00335
Sonnet 5 $0.00005 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured 10d ago against content hash 09d16523f6e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

chaos-testing scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to chaos-testing — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.gemini/skills/chaos-testing/SKILL.md · 89 lines

How it starts

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

Chaos Testing Principles

Controlled failure injection to build confidence in system resilience.

When to Invoke

  • Verifying system resilience before production deployment
  • Designing game day exercises
  • Testing circuit breakers, retries, and failover
  • Validating disaster recovery plans

Methodology

1. Define Steady State

Identify measurable indicators of normal system behavior:

  • Request success rate ≥ 99.9%
  • P99 latency < 500ms
  • Error rate < 0.1%

2. Form Hypothesis

"When [failure condition], the system will [expected behavior] because [mechanism]."

Example: "When database primary fails, the system will failover to replica within 30s because of automatic failover configuration."

3. Design Experiment

Element Description
Target Which component to perturb
Failure mode What kind of failure (latency, crash, partition)
Blast radius Scope of impact (single instance, AZ, region)
Duration How long the failure persists
Abort criteria When to immediately stop the experiment
Rollback plan How to restore normal operation

4. Execute

  • Start with smallest blast radius
  • Monitor continuously during experiment
  • Have rollback ready at all times
  • Stop immediately if abort criteria met

5. Analyze & Learn

  • Did system behave as hypothesized?
  • What broke unexpectedly?
  • What recovery mechanisms worked/failed?
  • Document findings and action items

Failure Injection Types

Type Examples
Process Kill process, OOM, CPU spike
Network Latency injection, packet loss, partition
Infrastructure Instance termination, AZ failure, disk full
Application Exception injection, slow dependency, config error
Data Corrupt cache, stale data, schema mismatch

Safety Mechanisms (Non-Negotiable)

  1. Abort button — immediate experiment termination capability
  2. Blast radius limits — never affect >5% of production traffic initially
  3. Time-boxed — experiments have maximum duration
  4. Monitoring — real-time dashboards during experiments
  5. Business hours only — no chaos experiments during peak or off-hours
  6. Stakeholder communication — relevant teams informed before experiments

Read the full file on GitHub · 89 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. 10d ago First seen · 89 lines · 26 tokens per session scan A 09d16523f6e1

Subscribe to this mod's changes

chaos-testing is a skill published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 4mo ago), licensed MIT. It adds 26 tokens to every session and 670 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to chaos-testing, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens