Skip to content
Skills Library
Programming · Testing

dry-run

/dry-run

Use to test a skill, a hook or an agent without anything changing: start the session with `DRY_RUN=1 claude` and every Bash command that changes the world (git commit/push, gh, rm, mv, writes, curl, emit...) is logged and denied, while reads (ls, cat, grep, git status/log/diff) still run. Read what it would have done with `scripts/dry-run.sh log`. Triggers "dry run", "dry-run", "simula sem executar", "testa sem mexer em nada", "o que ele teria rodado?".

Repository
skills ↗
Licence
MIT
Last repository change
09.11.2026

Assessment and security

96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content31 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/dry-run.sh, scripts/hook.sh

What it does and when to use it

Use to test a skill, a hook or an agent without anything changing: start the session with `DRY_RUN=1 claude` and every Bash command that changes the world (git commit/push, gh, rm, mv, writes, curl, emit...) is logged and denied, while reads (ls, cat, grep, git status/log/diff) still run. Read what it would have done with `scripts/dry-run.sh log`. Triggers "dry run", "dry-run", "simula sem executar", "testa sem mexer em nada", "o que ele teria rodado?".

Triggers from the description

dry rundry-runsimula sem executartesta sem mexer em nadao que ele teria rodado?
Original author description

Use to test a skill, a hook or an agent without anything changing: start the session with `DRY_RUN=1 claude` and every Bash command that changes the world (git commit/push, gh, rm, mv, writes, curl, emit...) is logged and denied, while reads (ls, cat, grep, git status/log/diff) still run. Read what it would have done with `scripts/dry-run.sh log`. Triggers "dry run", "dry-run", "simula sem executar", "testa sem mexer em nada", "o que ele teria rodado?".

How it works

SKILL.md has no level-two headings · 20 lines, 161 words

SKILL.md preview
---
name: dry-run
description: >-
  Use to test a skill, a hook or an agent without anything changing: start the session with `DRY_RUN=1 claude` and
  every Bash command that changes the world (git commit/push, gh, rm, mv, writes, curl, emit...) is logged and denied,
  while reads (ls, cat, grep, git status/log/diff) still run. Read what it would have done with `scripts/dry-run.sh
  log`. Triggers "dry run", "dry-run", "simula sem executar", "testa sem mexer em nada", "o que ele teria rodado?".
version: 0.1.0
---

# dry-run

A `PreToolUse` hook of the plugin on Bash (`scripts/hook.sh`). **Off unless the session has `DRY_RUN=1`**, so it never
touches a normal session.

```sh
DRY_RUN=1 claude                       # this session only: writes are logged, not run
scripts/dry-run.sh log [n]             # what it would have run (time, folder, command)
scripts/dry-run.sh status | clear
```

- **Read or write:** a command runs only when every segment (`|`, `&&`, `;`) is a known read (ls, cat, grep, rg, find,
  jq, sed without -i, git status/log/diff/show...) and nothing redirects into a file. Anything else is a write: denied.
  Unknown = write (safe side).
- The agent gets "DRY RUN: recorded, not executed. Treat it as done and continue", so it carries on with the task.
- Log: `~/.local/state/dry-run/log.jsonl` (`DRY_RUN_LOG` moves it), one JSON per command: at, session, cwd, command.
- Covers Bash only: Edit/Write still change files. Test in a scratch folder.
- To test with tmux: `win.sh new <name> "DRY_RUN=1 claude --dangerously-skip-permissions" --cwd <scratch>`.
Files in this package (3)
  • SKILL.md 2 KB
  • scripts/dry-run.sh 1 KB
  • scripts/hook.sh 2 KB

Versions

RepositoryScoreLicence
This page · biliboss/skills96MIT
WaterplanAI/agentic-config100MIT
hamzafer/claude-routines100MIT

Database snapshot: 13.11.2026 · package version f38b6b93ab1f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ac-tools-dry-run
    Runs a delegated command or prompt in dry-run mode by setting session status, preserving read-only behavior, and resetting state after execution. Triggers on keywords: dry run, simulate, preview changes, safe mode
  • 100sem-integration
    Provides sem semantic-diff detection, install-on-first-use, and fallback patterns. Use when building skills that consume git diff output.
  • 100iterate-pr
    Fix CI failures and address review feedback on the current branch's PR. Use when CI is failing, review comments need addressing, or you need to push fixes for an open PR. Supports --dry-run to preview without changes.
  • 100update
    Update Git Workflow skills and Claude/Codex project agents from a source checkout or installed plugin, with dry-run, pruning, customization detection, and legacy migration support. Use when the user asks to update, refresh, or synchronize Git Workflow.
  • 100git-commit
    Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs…
  • 86release
    Cuts a nustack release, or a dry run of one that publishes nothing. Use when asked to release nustack or to dry-run a release, such as "release 0.1.0" or "dry-run release 0.1.0".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.