Agent skill

Chaos Dr Test

by harness in harness/harness-skills

A skill your agent uses when working with Chaos Engineering steps inside a Harness pipeline.

Apache-2.0Auto-check passedDevOps & Cloud

Install Chaos Dr Test

skills CLI
$ npx skills add harness/harness-skills --skill chaos-dr-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install harness/harness-skills chaos-dr-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/harness/harness-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chaos-dr-test .claude/skills/chaos-dr-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chaos-dr-test
GitHub stars
115
Token cost
~2.6k tokens
SKILL.md length
1,112 words
Files
4 (incl. references)
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when working with Chaos Engineering steps inside a Harness pipeline.

  • Works in 2 steps: Check pipeline tags — DR Test pipelines… → List via MCP — Call…
  • Working with Chaos Engineering steps inside a Harness pipeline
  • SKILL.md covers Scope Rules, Instructions, Examples and Performance Notes, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Chaos Dr Test is an agent skill from harness/harness-skills. Use when working with Chaos Engineering steps inside a Harness pipeline. Covers ChaosFault, ChaosProbe, ChaosAction steps (DRTest stages), the Chaos step (DRTest stages), and DRTest stage/pipeline structure. Use when the user asks to add, modify, or create chaos steps, fault injection, probes, or disaster recovery test pipelines. Do not use for standalone Chaos Experiment create or edit; use chaos-experiment for those. Trigger phrases: DR test, DRTest pipeline, disaster recovery test, chaos step, ChaosFault step…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/components.md`, `references/create.md` and `references/edit.md`). Compatibility notes: Requires Harness MCP v2 server (harness-mcp-v2)

It sits in DevOps & Cloud, covering Chaos engineering and Backup and disaster recovery. The repository describes itself as: 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… The licence is Apache-2.0.

When your agent uses it

  • Working with Chaos Engineering steps inside a Harness pipeline
  • The user asks to add
  • Create chaos steps
  • Fault injection

Example prompts

  • “/chaos-dr-test”

Requirements

  • Compatibility (from SKILL.md): Requires Harness MCP v2 server (harness-mcp-v2)

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Check pipeline tags — DR Test pipelines have module: drtest in their top-level tags. Additionally, stages within the pipeline have type…
  2. List via MCP — Call harness_list(resource_type="chaos_dr_test", org_id="", project_id="") to get all DR Test pipelines in the project. If…

What it can do on your machine

Read from SKILL.md and the folder at commit c25faee. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Harness MCP v2 server (harness-mcp-v2)

    From compatibility in the SKILL.md frontmatter.

Context cost

Chaos Dr Test loads about 2.6k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 142 tokens; SKILL.md has 1,112 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~142
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from harness/harness-skills at commit c25faee, republished under its Apache-2.0 licence (© harness). 1,112 words, ~2,593 tokens.

Download SKILL.mdSave it as .claude/skills/chaos-dr-test/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
chaos-dr-test
description
Use when working with Chaos Engineering steps inside a Harness pipeline. Covers ChaosFault, ChaosProbe, ChaosAction steps (DRTest stages), the Chaos step (DRTest stages), and DRTest stage/pipeline structure. Use when the user asks to add, modify, or create chaos steps, fault injection, probes, or disaster recovery test pipelines. Do not use for standalone Chaos Experiment create or edit; use chaos-experiment for those. Trigger phrases: DR test, DRTest pipeline, disaster recovery test, chaos step, ChaosFault step, ChaosProbe step, ChaosAction step.
compatibility
Requires Harness MCP v2 server (harness-mcp-v2)
metadata.author
Harness
metadata.version
1.0.0
metadata.mcp-server
harness-mcp-v2
metadata.module
CHAOS
license
Apache-2.0

Chaos DR Test

Create and edit Harness DR Test pipelines — pipelines with a DRTest stage containing ChaosFault, ChaosProbe, ChaosAction, and Chaos steps — via MCP.

MANDATORY — Tool Result Verification:

  • NEVER claim a tool call succeeded without an explicit success response from the tool.
  • NEVER fabricate, assume, or pre-empt tool results. If you called a tool and did not receive a confirmed result, say so and retry.
  • When a tool returns a review/elicitation prompt (e.g., "Waiting for user to review before update..."), the user's approval does NOT mean the operation completed. You MUST wait for the follow-up tool response confirming execution before reporting success.
  • If the tool response is ambiguous or missing, tell the user honestly and offer to retry.

Scope Rules

Follow references/scope-establishment.md for establishing org/project scope before calling harness_list, harness_get, harness_create, harness_update, or harness_execute in this skill:

  • Parse org / project from the user's message or a pasted Harness UI URL first.
  • Ask only for what is missing — do not re-ask for values already known.
  • Restate the active scope before the first mutating call.
  • Never invent a default org/project. If either is missing, ask the user to select it before calling a project-scoped resource; do not fall back to account scope silently.

Instructions

YAML Output Conventions

Output style — always emit block-style YAML for pipeline manifests (each key on its own line, list items on their own line with -, children indented). The YAML examples shown in references/components.md (Series + Parallel Steps, Full DRTest Pipeline, Chaos step) appear as minified JSON purely for token efficiency — JSON parses identically to YAML, so the examples remain authoritative for field names and structure, but the pipeline YAML you produce MUST be block-style matching the canonical scaffold below. Never put JSON in the request body for harness_create or harness_update pipeline YAML.

DR Test Pipeline Rules
Identifying a DR Test Pipeline

Two ways to verify a pipeline is a DR Test:

  1. Check pipeline tags — DR Test pipelines have module: drtest in their top-level tags. Additionally, stages within the pipeline have type: DRTest.
  2. List via MCP — Call harness_list(resource_type="chaos_dr_test", org_id="<org_id>", project_id="<project_id>") to get all DR Test pipelines in the project. If the pipeline appears in this list, it is a DR Test. Pass org_id/project_id using the active scope (see Scope Rules above).
DRTest Stage and Steps

Chaos-related steps (ChaosFault, ChaosProbe, ChaosAction, Chaos) can ONLY be added to a stage with type: DRTest. They are not valid in any other stage type.

DRTest Pipeline — Created via MCP with Empty Steps

When a user creates a DR Test via harness_create(resource_type="chaos_dr_test", org_id="<org_id>", project_id="<project_id>", body={"name": "...", "identifier": "..."}), the pipeline is generated with steps: []. The create response returns metadata only — fetch the full YAML with harness_get(resource_type="pipeline", resource_id="<identifier>_pipeline", org_id="<org_id>", project_id="<project_id>") (pass org_id/project_id using the active scope on both calls):

yaml
pipeline:
  description: ""                          # optional, user can update later
  identifier: test_new_dr_test_pipeline    # auto: <identifier>_pipeline, does NOT change
  name: test new dr test pipeline          # auto: <name> Pipeline, user can update
  orgIdentifier: default                   # from account context, does NOT change
  projectIdentifier: ChaosDev1             # from account context, does NOT change
  stages:
    - stage:
        description: Optional Description  # optional, user can set at create or update later
        identifier: test_new_dr_test       # auto-derived from name, does NOT change
        name: test new dr test             # user-provided name, user can update
        objective: Optional Objective      # optional, user can set at create or update later
        spec:
          execution:
            steps: []                      # EMPTY — agent must populate with chaos steps
        tags:
          someTag: value                   # optional, user can add at create or update later
        type: DRTest                       # fixed, set at stage creation — do NOT remove
  tags:
    module: drtest                         # fixed, auto-set by MCP — do NOT remove

Note: The example above shows the minimal structure. A real pipeline may contain additional fields (e.g., allowStageExecutions, notificationRules, flowControl, timeout, etc.) — preserve any extra fields present in the fetched YAML as-is. Do not remove or overwrite them.

The stage-level environment block is NOT used by DRTest pipelines. It may appear in fetched YAML but is ignored by the backend:

environment:
  environmentRef: demo
  deployToAll: false
  infrastructureDefinitions:
    - identifier: qaauto1

Do not ask the user to provide stage-level environment or infrastructure — each chaos step has its own infraReference field instead (see references/components.md Step 1). If this block already exists in fetched YAML, preserve it as-is — do not remove it.

The agent's job is to populate steps: [] with chaos steps (ChaosFault, ChaosProbe, ChaosAction, Chaos) using the workflow described in references/components.md. Only these chaos step types are valid inside a DRTest stage.

Naming convention: if user creates a DR Test with name test new dr test (identifier auto-derived as test_new_dr_test):

  • Pipeline identifier = test_new_dr_test_pipeline (auto: <identifier>_pipeline)
  • Pipeline name = test new dr test pipeline (auto: <name> Pipeline)
  • Stage identifier = test_new_dr_test (auto-derived from name)
  • Stage name = test new dr test (= the name provided by the user)

Optional stage fields: description, objective, tags, runMode, variables, delegateSelectors, failureStrategies, when, timeout.

Intent Routing
Show full SKILL.md (457 more words)Show less
Step 0: Detect intent — Create or Edit

Parse the user's ORIGINAL message (the one that triggered this skill) to determine their intent. Do NOT ask them "create or edit?" again — their original message already tells you.

Intent signals:

IntentKeywords in the user's original message
Createcreate, build, set up, set-up, new, make, add (a new DR Test / new step), launch
Editedit, update, modify, change, fix, adjust, rename, tweak, remove, delete, add to an existing
Ambiguous"DR Test" or "chaos step" alone with no verb

Routing:

  • Create intent detected -> read references/create.md — creates a brand-new DR Test pipeline, then proceeds to the Choose Action hub.
  • Edit intent detected -> read references/edit.md — looks up an existing pipeline by name/identifier, confirms, then proceeds to the Choose Action hub.
  • Ambiguous -> ask the user:

    Would you like to create a new DR Test (or add new chaos steps) or edit an existing DR Test pipeline?

Once the path is determined, do NOT ask again.

Step-building mechanics (naming, environment/infra selection, fault/probe/action/experiment selection, runtime variables, saving) live in references/components.md and are shared by both the create and edit flows.

For standalone Chaos Experiment YAML (not a pipeline step), stop and use chaos-experiment instead.

Examples

  • "Create a new DR Test pipeline called payment-db-failover with a pod-delete fault" -> route to references/create.md
  • "Add a probe step to my existing test_new_dr_test DR Test" -> route to references/edit.md
  • "Remove the ChaosAction_1 step from the DR test pipeline" -> route to references/edit.md
  • "What steps can go inside a DRTest stage?" -> answered directly from this file (DRTest Stage and Steps)

Performance Notes

  • Step 1 (environment/infrastructure selection) MUST be re-run for every new ChaosProbe / ChaosFault / ChaosAction step, even when adding steps in parallel — never reuse a prior step's infraReference.
  • Do not guess probe/fault/action identities or infrastructure IDs. Always call the matching harness_list and use the returned values.
  • The pipeline update call (harness_update) is a full-replace PUT — always fetch the current YAML first and apply only the requested changes, preserving every existing field.
  • Wait for the tool's confirmed response before reporting success; a review/elicitation prompt is not a completed save.

Troubleshooting

  • Pipeline update erased existing steps/fields — the update endpoint is a full-replace PUT; always harness_get the current YAML immediately before modifying and re-sending it, per references/components.md Step 4.
  • Chaos step rejected outside a DRTest stage — ChaosFault / ChaosProbe / ChaosAction / Chaos steps are only valid inside a stage with type: DRTest; verify the target stage type before adding steps.
  • Duplicate step name/identifier error — every step name and identifier must be unique within the stage; check existing steps before naming a new one.
  • Ambiguous create vs. edit intent — if Step 0's keyword signals do not clearly resolve, ask explicitly per Step 0 rather than guessing; creating a duplicate pipeline is harder to undo than asking one clarifying question.

© harness, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/chaos-dr-test of harness/harness-skills.

  • SKILL.md
  • references/components.md
  • references/create.md
  • references/edit.md

Open the folder on GitHubat commit c25faee

Compare with similar skills

Chaos Dr Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chaos Dr Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chaos Dr Test this skillharness/harness-skills115—~2.6kAutomated safety check: PassApache-2.0
OmniRoute Backup and Sync CLIdiegosouzapw/OmniRoute75k—~948Automated safety check: PassMIT
Pymobiledevice3 Device Operatordoronz88/pymobiledevice32.9k—~1.8kAutomated safety check: NotesGPL-3.0
Myclaw BackupLeoYeAI/openclaw-backup659—~1.8kAutomated safety check: PassMIT
OmniRoute Database Backupsdiegosouzapw/OmniRoute75k—~395Automated safety check: PassMIT
Tempsgotempsh/temps831—~2kAutomated safety check: PassApache-2.0

Similar skills

  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    75k GitHub stars~948 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Pymobiledevice3 Device Operator

    doronz88/pymobiledevice3

    Operate iOS and iPadOS devices with pymobiledevice3, from a local checkout or straight from PyPI via uvx on a fresh workstation.

    2.9k GitHub stars~1.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Myclaw Backup

    LeoYeAI/openclaw-backup

    Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data.

    659 GitHub stars~1.8k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    75k GitHub stars~395 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Temps

    gotempsh/temps

    Manage, deploy, operate, and instrument applications with Temps.

    831 GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Hermes Offsite Backup

    OnlyTerp/hermes-optimization-guide

    Set up encrypted off-machine Hermes backups. An agent skill from OnlyTerp/hermes-optimization-guide.

    688 GitHub stars~772 tokensUpdated 16 days ago
    DevOps & CloudAuto-check passed

More from harness/harness-skills

All 24 skills in this repo
  • Audit Report

    harness/harness-skills

    Generate audit reports and compliance trails using Harness audit trail data via MCP v2 tools.

    115 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Chaos Experiment

    harness/harness-skills

    A skill your agent uses when the user asks to create, edit, update, design, or configure a Harness Chaos Experiment — including faults, probes, actions, experiment YAML, fault injection, pod-delete…

    115 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Cleanup Feature Flags

    harness/harness-skills

    Remove a launched Harness FME feature flag from application code, keeping the treatment FME serves today, and open a pull request.

    115 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Configure Repo Scan

    harness/harness-skills

    Configure code scanning in Harness pipelines using STO security scanners.

    115 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check passed
  • Create Agent Template

    harness/harness-skills

    Generate Harness Agent Template files for AI-powered automation agents.

    115 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check passed
  • Create Metric

    harness/harness-skills

    Create a Harness FME metric: helps decide what to measure, suggests candidate metrics from application code, resolves traffic type and event type IDs, drafts the payload, then creates.

    115 GitHub stars~3.4k tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Chaos Dr Test

What does Chaos Dr Test do?

A skill your agent uses when working with Chaos Engineering steps inside a Harness pipeline. Chaos Dr Test is an agent skill from harness/harness-skills. Use when working with Chaos Engineering steps inside a Harness pipeline.

When should I use Chaos Dr Test?

Chaos Dr Test fits situations like: working with Chaos Engineering steps inside a Harness pipeline; the user asks to add; create chaos steps; fault injection.

How do I install Chaos Dr Test in Claude Code?

Run `npx skills add harness/harness-skills --skill chaos-dr-test -a claude-code`. Or copy the skill folder (skills/chaos-dr-test in harness/harness-skills) into .claude/skills/chaos-dr-test in your project. Claude Code loads it when a task matches its description.

How do I install Chaos Dr Test in Codex?

Run `npx skills add harness/harness-skills --skill chaos-dr-test -a codex`. Or copy the skill folder (skills/chaos-dr-test in harness/harness-skills) into .agents/skills/chaos-dr-test in your project. Codex loads it when a task matches its description.

Can I use Chaos Dr Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add harness/harness-skills --skill chaos-dr-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chaos-dr-test, .gemini/skills/chaos-dr-test, .github/skills/chaos-dr-test and .opencode/skills/chaos-dr-test in your project.

What does Chaos Dr Test need to run?

SKILL.md names no scripts, command-line tools or credentials: Chaos Dr Test is instructions for the agent only. Compatibility (from SKILL.md): Requires Harness MCP v2 server (harness-mcp-v2).

Does Chaos Dr Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Chaos Dr Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Chaos Dr Test use?

Chaos Dr Test is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chaos Dr Test use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Chaos Dr Test?

Skills that share tags, products or a category with Chaos Dr Test: OmniRoute Backup and Sync CLI (diegosouzapw/OmniRoute, 75k stars), Pymobiledevice3 Device Operator (doronz88/pymobiledevice3, 2.9k stars), Myclaw Backup (LeoYeAI/openclaw-backup, 659 stars) and OmniRoute Database Backups (diegosouzapw/OmniRoute, 75k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chaos Dr Test?

harness (a GitHub organization) maintains it in harness/harness-skills, which has 115 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: harness/harness-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.