---
name: smithersai/smithers-worktree
source: https://app.decimal.ai/s/smithersai-smithers-worktree@1/SKILL.md
source_sha256: a99dac38bf2e
---

# smithers worktree list

List every worktree Smithers created in this repository and the run that owns it.

---

# smithers worktree prune

Remove the worktrees of runs that are over (finished, failed, or cancelled).

## Options

| Flag | Type | Default | Description |
|------|------|---------|-------------|
| `--run` | `string` |  | Only prune worktrees owned by this run id |
| `--olderThan` | `string` |  | Only prune worktrees untouched for at least this long, e.g. 24h |
| `--dryRun` | `boolean` | `false` | Report what would be removed without removing anything |
| `--force` | `boolean` | `false` | Also remove worktrees holding uncommitted or unpushed work |