dsh-chaos-test

dsh-chaos-test is a skill for Codex from cyanseek/dsh-tool-chaos. It costs 91 tokens per session (1,745 once invoked), scanned B, original, MIT.

A tool for testing how a DeepSeek Harness agent handles tool failures in controlled, repeatable experiments.

In plain words
What is it for?
It helps create and run isolated resilience tests and produce evidence for CI, including tests of nested tool calls. It requires Node.js 22.19 or newer and the dsh command-line tool.
Why use it?
It shows whether retries, fallbacks, timeouts, cancellation, policy denials, and blocked results work as intended, instead of relying on assumptions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It helps create and run isolated resilience tests and produce evidence for CI, including tests of nested tool calls. It requires Node.js 22.19 or newer and the dsh command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanseek/dsh-tool-chaos/dsh-chaos-test
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.

Any agent
npx skills add cyanseek/dsh-tool-chaos --skill dsh-chaos-test
Clone the repo
git clone --depth 1 https://github.com/cyanseek/dsh-tool-chaos

Made for: Codex.

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 dsh-chaos-test

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyanseek/dsh-tool-chaos/dsh-chaos-test"><img src="https://agentmods.dev/badge/skills/cyanseek/dsh-tool-chaos/dsh-chaos-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,745 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00091 $0.01745
Opus 5 $0.00046 $0.00873
Sonnet 5 $0.00018 $0.00349
Haiku 4.5 $0.00009 $0.00175

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

Security

Grade B, and why

dsh-chaos-test scanned grade B with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dsh-chaos.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

DSH row patches replace the complete `config`; do not write partial overrides. Keep the reporter row enabled in all three overlays. Never broaden to exact `tool: '*'` as a shortcut.
.agents/skills/dsh-chaos-test/SKILL.md · 199 lines

How it starts

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

DSH Chaos Test

Turn a resilience requirement into a real, isolated experiment. Do not stop at a plan when the local environment permits execution.

Requires Node.js 22.19+ and a usable dsh CLI. The wrapper can install the published dsh-tool-chaos npm package when it is not already present.

Recognize these requests

  • “验证第一次工具失败后 Agent 会不会自动重试。”
  • “Prove the fallback works when GitHub/web/database fails once.”
  • “测试 timeout 是否真正取消了工作,不能留下孤儿进程。”
  • “Verify a blocked tool result is not trusted.”
  • “Test a nested Code Mode tool call.”
  • “Generate reproducible DSH resilience evidence for CI.”

Do not use this skill for production infrastructure chaos, load testing, penetration testing, or generic security scanning.

Default operating mode

Act autonomously. Resolve repository paths, project instructions, tool names, current Git state, local versions, and existing tests by inspection. Ask at most one concise question only when a fact is both undiscoverable and safety-critical.

Use these defaults unless repository evidence requires a narrower choice:

  • current repository as the workspace;
  • a disposable profile derived from the workspace path;
  • one exact or narrowly globbed tool rule;
  • probability: 1, afterMatches: 0, every: 1, maxInjections: 1;
  • baseline first, then dryRun: true, then dryRun: false only after the dry-run proves the intended match;
  • all artifacts under .dsh-chaos/runs/<run-id>/;
  • no push, publish, credential change, permission escalation, production target, or out-of-workspace mutation.

Missing evidence is INCONCLUSIVE, never PASS.

Use the bundled command wrapper

Set <skill-root> to this skill directory. Run:

node <skill-root>/scripts/dsh-chaos.mjs doctor --json

The wrapper prefers an already installed dsh-tool-chaos binary and otherwise uses npx -y dsh-tool-chaos.

Workflow

1. Diagnose and choose the smallest experiment

Read applicable AGENTS.md/contribution rules, inspect the protected behavior and its tests, and run the doctor. Select one primary fault:

Read the full file on GitHub · 199 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 199 lines · 91 tokens per session scan B abfcf6e0427e

Subscribe to this mod's changes

dsh-chaos-test is a skill published in the GitHub repository cyanseek/dsh-tool-chaos (4 stars, last pushed 16d ago), licensed MIT. It adds 91 tokens to every session and 1,745 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-resilience-testing

Orchestrates end-to-end resilience testing for LLM agents with AgentBreak, including LLM infrastructure failures, prompt injection, agent skill supply-chain risk, guardrail verification, and MCP server/tool failures. Use when the user asks to "test my agent for resilience", "chaos test this agent", "find failure modes…

mnvsk97/agentbreak · 97 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

test-gen

Generate and verify tests — happy path, edge cases, error paths — using the project's own framework and patterns.

SethGammon/Citadel · 24 tokens

verify

Self-test the Citadel hook pipeline from within a live session. Exercises real tool calls (Write, Edit, Bash, Read) and checks that hooks fired, telemetry accumulated, and no errors occurred. Reports HOOK HEALTH: PASS or HOOK HEALTH: FAIL with a per-hook breakdown.

SethGammon/Citadel · 60 tokens

Autonomous Agent Testing

Testing patterns for autonomous AI coding agents like Devin and SWE-Agent including task verification, output validation, sandboxed execution, regression testing for agent behavior, and safety guardrails for autonomous code generation.

PramodDutta/qaskills · 43 tokens