{"id":"03f6483e-4d66-4a42-a48f-92bb9159043c","shortId":"CLCvzF","kind":"skill","title":"chaos-experiment","tagline":"Create and manage chaos experiments using Harness Chaos Engineering via MCP. Run resilience tests like pod deletion, CPU stress, and network faults. Use when user says \"chaos experiment\", \"chaos engineering\", \"resilience test\", \"chaos test\", or wants to test system reliability.","description":"# Chaos Experiment\n\nCreate and manage chaos experiments using Harness Chaos Engineering via MCP.\n\n## Instructions\n\n### Step 1: Check Infrastructure\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"chaos_infrastructure\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\n### Step 2: Browse Templates\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"chaos_experiment_template\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\n### Step 3: List Existing Experiments\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"chaos_experiment\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\n### Step 4: Create Experiment\n\n```\nCall MCP tool: harness_create\nParameters:\n  resource_type: \"chaos_experiment\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n  body: <experiment definition>\n```\n\n### Step 5: Run Experiment\n\n```\nCall MCP tool: harness_execute\nParameters:\n  resource_type: \"chaos_experiment\"\n  action: \"run\"\n  resource_id: \"<experiment_id>\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\n### Step 6: Monitor Results\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"chaos_experiment_run\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\nGet specific run details:\n\n```\nCall MCP tool: harness_get\nParameters:\n  resource_type: \"chaos_experiment_run\"\n  resource_id: \"<run_id>\"\n```\n\n### Step 7: Check Probes\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"chaos_probe\"\n  org_id: \"<organization>\"\n  project_id: \"<project>\"\n```\n\n## Common Experiment Types\n\n- **Pod Delete** - Kill pods to test recovery\n- **Pod CPU Hog** - Stress CPU to test throttling\n- **Pod Memory Hog** - Consume memory to test OOM handling\n- **Pod Network Loss** - Simulate network failures\n- **Pod Network Latency** - Add artificial latency\n- **Node Drain** - Drain K8s nodes\n- **EC2 Stop** - Stop AWS EC2 instances\n- **ECS Task Stop** - Stop ECS tasks\n\n## Chaos Resource Types\n\n| Resource Type | Operations | Description |\n|--------------|-----------|-------------|\n| `chaos_experiment` | list, get, create, update, delete, run | Experiments |\n| `chaos_experiment_run` | list, get | Run history/results |\n| `chaos_experiment_template` | list, get | Pre-built templates |\n| `chaos_infrastructure` | list, get | Target infrastructure |\n| `chaos_probe` | list, get | Health probes |\n\n## Examples\n\n- \"Show me all chaos experiments\" - List chaos_experiment\n- \"Create a pod-delete experiment for checkout-service\" - Create chaos_experiment\n- \"Run the weekly resilience test\" - Execute run action\n- \"What were the results of the last chaos run?\" - Get chaos_experiment_run\n\n## Performance Notes\n\n- Review existing experiments before creating duplicates. Check for similar fault types targeting the same service.\n- Wait for experiment completion before analyzing results. Do not draw conclusions from partial runs.\n- Verify the target infrastructure and service are healthy before running chaos experiments.\n\n## Troubleshooting\n\n### Experiment Won't Run\n- Verify chaos infrastructure is connected and active\n- Check target application/namespace exists\n- Ensure RBAC permissions for chaos operations\n\n### Probes Failing\n- Check probe endpoints are accessible\n- Verify probe timeout settings\n- Review probe type matches expected behavior","tags":["chaos","experiment","harness","skills","agent-skills","agents"],"capabilities":["skill","source-harness","skill-chaos-experiment","topic-agent-skills","topic-agents"],"categories":["harness-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/harness/harness-skills/chaos-experiment","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add harness/harness-skills","source_repo":"https://github.com/harness/harness-skills","install_from":"skills.sh"}},"qualityScore":"0.457","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 15 github stars · SKILL.md body (3,309 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:06:28.690Z","embedding":null,"createdAt":"2026-05-09T01:05:27.246Z","updatedAt":"2026-05-18T19:06:28.690Z","lastSeenAt":"2026-05-18T19:06:28.690Z","tsv":"'1':59 '2':77 '3':96 '4':115 '5':134 '6':156 '7':192 'access':423 'action':147,338 'activ':406 'add':245 'analyz':374 'application/namespace':409 'artifici':246 'aw':256 'behavior':433 'bodi':132 'brows':78 'built':295 'call':62,80,100,118,137,159,178,195 'chao':2,7,11,30,32,36,44,49,53,70,88,108,126,145,167,186,203,265,272,281,288,297,303,313,316,329,346,349,393,401,415 'chaos-experi':1 'check':60,193,360,407,419 'checkout':326 'checkout-servic':325 'common':209 'complet':372 'conclus':379 'connect':404 'consum':230 'cpu':21,220,223 'creat':4,46,116,122,276,318,328,358 'delet':20,213,278,322 'descript':271 'detail':177 'drain':249,250 'draw':378 'duplic':359 'ec':259,263 'ec2':253,257 'endpoint':421 'engin':12,33,54 'ensur':411 'exampl':309 'execut':141,336 'exist':98,355,410 'expect':432 'experi':3,8,31,45,50,89,99,109,117,127,136,146,168,187,210,273,280,282,289,314,317,323,330,350,356,371,394,396 'fail':418 'failur':241 'fault':25,363 'get':174,182,275,285,292,300,306,348 'handl':235 'har':10,52,65,83,103,121,140,162,181,198 'health':307 'healthi':390 'history/results':287 'hog':221,229 'id':73,75,92,94,111,113,129,131,150,152,154,171,173,190,206,208 'infrastructur':61,71,298,302,386,402 'instanc':258 'instruct':57 'k8s':251 'kill':214 'last':345 'latenc':244,247 'like':18 'list':66,84,97,104,163,199,274,284,291,299,305,315 'loss':238 'manag':6,48 'match':431 'mcp':14,56,63,81,101,119,138,160,179,196 'memori':228,231 'monitor':157 'network':24,237,240,243 'node':248,252 'note':353 'oom':234 'oper':270,416 'org':72,91,110,128,151,170,205 'paramet':67,85,105,123,142,164,183,200 'partial':381 'perform':352 'permiss':413 'pod':19,212,215,219,227,236,242,321 'pod-delet':320 'pre':294 'pre-built':293 'probe':194,204,304,308,417,420,425,429 'project':74,93,112,130,153,172,207 'rbac':412 'recoveri':218 'reliabl':43 'resili':16,34,334 'resourc':68,86,106,124,143,149,165,184,189,201,266,268 'result':158,342,375 'review':354,428 'run':15,135,148,169,176,188,279,283,286,331,337,347,351,382,392,399 'say':29 'servic':327,368,388 'set':427 'show':310 'similar':362 'simul':239 'skill' 'skill-chaos-experiment' 'source-harness' 'specif':175 'step':58,76,95,114,133,155,191 'stop':254,255,261,262 'stress':22,222 'system':42 'target':301,365,385,408 'task':260,264 'templat':79,90,290,296 'test':17,35,37,41,217,225,233,335 'throttl':226 'timeout':426 'tool':64,82,102,120,139,161,180,197 'topic-agent-skills' 'topic-agents' 'troubleshoot':395 'type':69,87,107,125,144,166,185,202,211,267,269,364,430 'updat':277 'use':9,26,51 'user':28 'verifi':383,400,424 'via':13,55 'wait':369 'want':39 'week':333 'won':397","prices":[{"id":"f2481fc7-4fe1-4b74-a24f-b3a259b19e3e","listingId":"03f6483e-4d66-4a42-a48f-92bb9159043c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"harness","category":"harness-skills","install_from":"skills.sh"},"createdAt":"2026-05-09T01:05:27.246Z"}],"sources":[{"listingId":"03f6483e-4d66-4a42-a48f-92bb9159043c","source":"github","sourceId":"harness/harness-skills/chaos-experiment","sourceUrl":"https://github.com/harness/harness-skills/tree/main/skills/chaos-experiment","isPrimary":false,"firstSeenAt":"2026-05-09T01:05:27.246Z","lastSeenAt":"2026-05-18T19:06:28.690Z"}],"details":{"listingId":"03f6483e-4d66-4a42-a48f-92bb9159043c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"harness","slug":"chaos-experiment","github":{"repo":"harness/harness-skills","stars":15,"topics":["agent-skills","agents"],"license":"apache-2.0","html_url":"https://github.com/harness/harness-skills","pushed_at":"2026-05-13T01:28:28Z","description":"A collection of structured AI agent skills that   enable Claude Code, Cursor, GitHub Copilot, and   other AI coding assistants to create, operate,   debug, and govern Harness CI/CD workflows through   natural language.","skill_md_sha":"2bb7a287f4a6eaa2f5df8a8a07ca22fe61012d86","skill_md_path":"skills/chaos-experiment/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/harness/harness-skills/tree/main/skills/chaos-experiment"},"layout":"multi","source":"github","category":"harness-skills","frontmatter":{"name":"chaos-experiment","license":"Apache-2.0","description":"Create and manage chaos experiments using Harness Chaos Engineering via MCP. Run resilience tests like pod deletion, CPU stress, and network faults. Use when user says \"chaos experiment\", \"chaos engineering\", \"resilience test\", \"chaos test\", or wants to test system reliability.","compatibility":"Requires Harness MCP v2 server (harness-mcp-v2)"},"skills_sh_url":"https://skills.sh/harness/harness-skills/chaos-experiment"},"updatedAt":"2026-05-18T19:06:28.690Z"}}