testy-claw run

Execute a task using the agent. Pass a plain-English description and the agent handles the rest.

Usage

terminal
testy-claw run <task> [options]

Arguments

ArgumentRequiredDescription
taskYesPlain-English description of what to do

Options

FlagDefaultDescription
--context <file>Extra file(s) to include in the agent context
--model <id>configOverride the model for this run
--max-steps <n>configOverride maxSteps for this run
--dry-runfalsePlan only — do not execute any steps
--verbosefalsePrint each step as it executes
--no-logfalseSkip writing the run log to disk
--output <file>Write the final agent response to a file

Examples

terminal
# Basic task
testy-claw run "add JSDoc comments to all functions in src/"

# With extra context
testy-claw run "refactor auth module" --context src/auth.ts

# Dry run — see the plan without executing
testy-claw run "delete all .log files" --dry-run

# Override model for one run
testy-claw run "write unit tests" --model claude-3-5-sonnet

# Verbose output
testy-claw run "scaffold a REST API" --verbose
TipAlways use --dry-run first when running destructive tasks like deleting files or pushing to Git.

Exit codes

CodeMeaning
0Task completed successfully
1Task failed
2maxSteps reached
3Tool timeout