testy-claw plan
Preview what the agent would do for a task without executing any steps. Useful for reviewing complex or destructive tasks before running them.
Usage
terminal
testy-claw plan <task> [options]Example
terminal
testy-claw plan "migrate all require() calls to import statements"
Plan (6 steps):
1. shell.exec("find src -name '*.js'")
2. fs.read("src/index.js")
3. fs.write("src/index.js", <transformed>)
4. fs.read("src/routes/users.js")
5. fs.write("src/routes/users.js", <transformed>)
6. shell.exec("node --check src/index.js")
Estimated steps: 6 / 20 limit
Run with: testy-claw run "migrate all require() calls to import statements"Tip
plan is equivalent to run --dry-run. Use it any time you want to sanity-check the agent before it touches your files.Options
| Flag | Description |
|---|---|
| --context <file> | Include extra file(s) in context when planning |
| --model <id> | Override the model used for planning |
| --json | Output the plan as JSON instead of formatted text |