dry-run

Simulate command side effects and log state changes without executing write operations.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Marcus-Mok-GH/Claude-code-conductor --skill dry-run-marcus-mok-gh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dry-run
Source: https://github.com/Marcus-Mok-GH/Claude-code-conductor/tree/main/.claude/skills/dry-run
Command: npx skills add https://github.com/Marcus-Mok-GH/Claude-code-conductor --skill dry-run-marcus-mok-gh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The dry-run skill addresses the issue of unintended changes made by commands that perform real operations. It allows users to simulate the effects of commands without executing them, ensuring safe command testing and debugging.

Core Features & Use Cases

  • Preview Command Effects: Simulates file writes, git operations, agent spawns, and state changes.
  • Safe Command Testing: Enables users to test commands without affecting the actual system or data.
  • Use Case: Before pushing code to a branch, use the dry-run flag to see what changes would be made without actually committing them.

Quick Start

Run a command with the --dry-run flag to preview its effects without making any changes.

Frequently Asked Questions about dry-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preview command effects without executing write operations?

You can preview command effects by running the command with the --dry-run flag, which simulates file writes, git operations, and state changes while skipping actual execution and logging agent spawns.

What is command dry-run simulation used for?

Command dry-run simulation is used for safe testing and debugging, allowing you to detect the --dry-run flag in arguments and output a standardized summary of simulated side effects without altering the actual system.

How do I test git operations safely before committing changes?

To test git operations safely, use the --dry-run flag to simulate commits and state changes, ensuring you can preview the exact modifications before pushing code to a branch.

Can I track agent spawns during a safe testing simulation?

Yes, you can track agent spawns during safe testing by running your command with the --dry-run flag, which logs agent spawns and monitors state changes without triggering actual write operations.

Does the dry-run flag work for debugging unintended file modifications?

Yes, the --dry-run flag works for debugging unintended file modifications by detecting the flag in command arguments, skipping real execution, and generating a summary of simulated file writes for review.

What are the limitations of simulating side effects for safe testing?

The limitation of simulating side effects for safe testing is that it only previews and logs state changes without executing write operations, meaning actual system dependencies or runtime errors may remain undetected until real execution.