{"id":"8f252924-6880-49c2-9e99-6a672519326a","shortId":"HW5Xfd","kind":"skill","title":"Simulate network failures in integration tests with Toxiproxy","tagline":"Use Toxiproxy when an agent needs to inject latency, disconnects, bandwidth limits, or packet-like failure modes into real service calls during development, CI, or incident reproduction. The agent routes app traffic through controlled TCP proxies, applies toxics at the right mome","description":"# Simulate network failures in integration tests with Toxiproxy\n\nUse Toxiproxy when an agent needs to inject latency, disconnects, bandwidth limits, or packet-like failure modes into real service calls during development, CI, or incident reproduction. The agent routes app traffic through controlled TCP proxies, applies toxics at the right moment, and reports which dependency paths fail gracefully versus which ones crack under stress.\n\n## Prerequisites\n\nToxiproxy server plus a client library or HTTP API access from the test harness\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- $ brew tap shopify/shopify\n- $ brew install toxiproxy\n- $ docker pull ghcr.io/shopify/toxiproxy\n- $ docker run --rm -it ghcr.io/shopify/toxiproxy\n\nRequirements and caveats from upstream:\n- cross-platform and require root, which makes them problematic in test,\n- [toxiproxy-python](https://github.com/douglas/toxiproxy-python)\n- [toxiproxy-node-client](https://github.com/ihsw/toxiproxy-node-client)\n\nBasic usage or getting-started notes:\n- Toxiproxy usage consists of two parts. A TCP proxy written in Go (what this\n- and can then manipulate their health via HTTP. See [Usage](#usage)\n- For example, to add 1000ms of latency to the response of MySQL from the [Ruby\n\n- Source: https://github.com/Shopify/toxiproxy\n- Extracted from upstream docs: https://raw.githubusercontent.com/Shopify/toxiproxy/HEAD/README.md\n\n## Documentation\n\n- https://github.com/Shopify/toxiproxy\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/simulate-network-failures-in-integration-tests-with-toxiproxy/)","tags":["simulate","network","failures","integration","tests","with","toxiproxy","skills","agentskillexchange","agent-skills","ai-agents","ai-tools"],"capabilities":["skill","source-agentskillexchange","skill-simulate-network-failures-in-integration-tests-with-toxiproxy","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/simulate-network-failures-in-integration-tests-with-toxiproxy","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,635 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:12:30.150Z","embedding":null,"createdAt":"2026-05-18T13:19:26.705Z","updatedAt":"2026-05-18T19:12:30.150Z","lastSeenAt":"2026-05-18T19:12:30.150Z","tsv":"'/douglas/toxiproxy-python)':183 '/ihsw/toxiproxy-node-client)':190 '/shopify/toxiproxy':153,160,241,252 '/shopify/toxiproxy/head/readme.md':248 '/skills/simulate-network-failures-in-integration-tests-with-toxiproxy/)':259 '1000ms':227 'access':126 'add':226 'agent':13,38,64,89,254 'agentskillexchange.com':258 'agentskillexchange.com/skills/simulate-network-failures-in-integration-tests-with-toxiproxy/)':257 'api':125 'app':40,91 'appli':46,97 'bandwidth':19,70 'basic':191 'brew':143,146 'call':30,81 'caveat':163 'ci':33,84 'client':121,187 'consist':200 'control':43,94 'crack':113 'cross':167 'cross-platform':166 'depend':106 'develop':32,83 'disconnect':18,69 'doc':245 'docker':149,154 'document':249 'environ':142 'exampl':224 'exchang':256 'extract':242 'fail':108 'failur':3,25,54,76 'get':195 'getting-start':194 'ghcr.io':152,159 'ghcr.io/shopify/toxiproxy':151,158 'github.com':182,189,240,251 'github.com/douglas/toxiproxy-python)':181 'github.com/ihsw/toxiproxy-node-client)':188 'github.com/shopify/toxiproxy':239,250 'go':209 'grace':109 'har':130 'health':217 'http':124,219 'incid':35,86 'inject':16,67 'instal':131,135,147 'integr':5,56 'latenc':17,68,229 'librari':122 'like':24,75 'limit':20,71 'make':173 'manipul':215 'match':140 'mode':26,77 'mome':51 'moment':102 'mysql':234 'need':14,65 'network':2,53 'node':186 'note':197 'one':112 'packet':23,74 'packet-lik':22,73 'part':203 'path':107,138 'platform':168 'plus':119 'prerequisit':116 'problemat':175 'proxi':45,96,206 'pull':150 'python':180 'raw.githubusercontent.com':247 'raw.githubusercontent.com/shopify/toxiproxy/head/readme.md':246 'real':28,79 'report':104 'reproduct':36,87 'requir':161,170 'respons':232 'right':50,101 'rm':156 'root':171 'rout':39,90 'rubi':237 'run':155 'see':220 'server':118 'servic':29,80 'setup':137 'shopify/shopify':145 'simul':1,52 'skill':255 'skill-simulate-network-failures-in-integration-tests-with-toxiproxy' 'sourc':238,253 'source-agentskillexchange' 'start':196 'stress':115 'tap':144 'tcp':44,95,205 'test':6,57,129,177 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'toxic':47,98 'toxiproxi':8,10,59,61,117,148,179,185,198 'toxiproxy-node-cli':184 'toxiproxy-python':178 'traffic':41,92 'two':202 'upstream':134,165,244 'usag':192,199,221,222 'use':9,60,132 'versus':110 'via':218 'written':207","prices":[{"id":"122121c9-d3a5-42b6-a5d5-09b041322b3b","listingId":"8f252924-6880-49c2-9e99-6a672519326a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:19:26.705Z"}],"sources":[{"listingId":"8f252924-6880-49c2-9e99-6a672519326a","source":"github","sourceId":"agentskillexchange/skills/simulate-network-failures-in-integration-tests-with-toxiproxy","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/simulate-network-failures-in-integration-tests-with-toxiproxy","isPrimary":false,"firstSeenAt":"2026-05-18T13:19:26.705Z","lastSeenAt":"2026-05-18T19:12:30.150Z"}],"details":{"listingId":"8f252924-6880-49c2-9e99-6a672519326a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"simulate-network-failures-in-integration-tests-with-toxiproxy","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"dd2a6235598ff69a6b7fa685df1d2f55d344e95f","skill_md_path":"skills/simulate-network-failures-in-integration-tests-with-toxiproxy/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/simulate-network-failures-in-integration-tests-with-toxiproxy"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Simulate network failures in integration tests with Toxiproxy","description":"Use Toxiproxy when an agent needs to inject latency, disconnects, bandwidth limits, or packet-like failure modes into real service calls during development, CI, or incident reproduction. The agent routes app traffic through controlled TCP proxies, applies toxics at the right moment, and reports which dependency paths fail gracefully versus which ones crack under stress."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/simulate-network-failures-in-integration-tests-with-toxiproxy"},"updatedAt":"2026-05-18T19:12:30.150Z"}}