dry-run

dry-run is a skill for Claude Code from WaterplanAI/agentic-config. It costs 58 tokens per session (833 once invoked), scanned A, original, MIT.

A command simulation mode that runs a command without changing project files.

In plain words
What is it for?
Use it to test commands, implementation workflows, or questions in read-only mode.
Why use it?
It lets you preview a workflow and catch problems without risking edits to your files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the ac-tools plugin — 17 skills shipped together

Good fit Use it to test commands, implementation workflows, or questions in read-only mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waterplanai/agentic-config/dry-run
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 WaterplanAI/agentic-config --skill dry-run
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Made for: Claude Code.

Or install ac-tools, the plugin that ships this one along with the rest of its 17 skills.

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 dry-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/dry-run/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/dry-run)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/dry-run"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/dry-run/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 dry-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/dry-run"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/dry-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00058 $0.00833
Opus 5.5 $0.00023 $0.00333
Sonnet 5.5 $0.00012 $0.00167
Haiku 4.5 $0.00006 $0.00083

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

Security

Grade A, and why

dry-run scanned grade A 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 19d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
plugins/ac-tools/skills/ac-tools/dry-run/SKILL.md · 125 lines

How it starts

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

Dry Run Skill

Executes any command or skill in simulation mode, preventing all file modifications except session state.

Usage

/dry-run <any command or prompt>

Examples:

  • /dry-run /mux-ospec path/to/spec.md - Preview full spec workflow
  • /dry-run /spec IMPLEMENT path/to/spec.md - Test implementation without changes
  • /dry-run why did you implement X this way? - Normal chat (no files affected)

Workflow

Step 1: Initialize Session Status

Resolve the Claude Code PID using process-tree tracing (same logic as the dry-run hook), then create the session directory:

CLAUDE_PID=$(python3 - <<'PY'
import os
import subprocess

pid = os.getpid()
for _ in range(10):
    result = subprocess.run(
        ["ps", "-o", "pid=,ppid=,comm=", "-p", str(pid)],
        capture_output=True,
        text=True,
    )
    line = result.stdout.strip()
    if not line:
        break

    parts = line.split()
    if len(parts) >= 3:
        current_pid, ppid, comm = int(parts[0]), int(parts[1]), parts[2]
        if "claude" in comm.lower():
            print(current_pid)
            break
        pid = ppid
    else:
        break
else:
    print("shared")
PY
)

[ -n "$CLAUDE_PID" ] || CLAUDE_PID="shared"
mkdir -p "outputs/session/${CLAUDE_PID}"

Check if outputs/session/<CLAUDE_PID>/status.yml exists. If not, create with initial schema:

dry_run: false

Step 2: Set Dry-Run Mode

Update outputs/session/<CLAUDE_PID>/status.yml:

dry_run: true

This signals to THIS session's file operations that writes are prohibited. Other Claude sessions (different PIDs) are not affected.

Step 3: Execute Delegated Command

Execute the provided command/prompt EXACTLY as given. All behavior remains normal EXCEPT:

CRITICAL CONSTRAINTS:

  • NO file modifications allowed (Read, Grep, Glob, LSP, Bash read-only commands OK)
  • ONLY exception: outputs/session/<CLAUDE_PID>/status.yml can be modified
  • If command requires file writes, DESCRIBE what WOULD be changed instead
  • For chat-only prompts (no file operations needed), respond normally

Read the full file on GitHub · 125 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. 19d ago First seen · 125 lines · 58 tokens per session scan A 7ba34d523ffd

Subscribe to this mod's changes

dry-run is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 58 tokens to every session and 833 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.

Related

dry-run compared with skills from other repositories

dry-run next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dry-runWaterplanAI/agentic-configSkill3120d agoMITA58Claude Code
ai-native-workflowidavidov13/agentic-playwrightSkill31313d agoMITA71Claude Code, Codex
api-testingidavidov13/agentic-playwrightSkill31313d agoMITA69Claude Code, Codex
test-standardsidavidov13/agentic-playwrightSkill31313d agoMITA63Claude Code, Codex
helpersidavidov13/agentic-playwrightSkill31313d agoMITA67Claude Code, Codex
page-objectsidavidov13/agentic-playwrightSkill31313d agoMITA56Claude Code, Codex
type-safetyidavidov13/agentic-playwrightSkill31313d agoMITA80Claude Code, Codex