pleach_branch
Create a new tracked session branch from an existing session by copying its transcript under a new id. Returns the session id and claude --resume command to resume work.
Instructions
Fork a session into a new tracked branch (copies the transcript under a new id, exactly like pleach branch). Returns the new session id and the claude --resume command to start working on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory to scope to. Omit to use the current project. | |
| name | No | Label for the new branch. | |
| session | Yes | Session id, or any unambiguous prefix (like git). |