Set up subagents, hooks, worktrees and headless mode
A walkthrough of custom subagents, skills, hooks, worktrees, headless scripts, checkpoints and session branching.
What it does: A walkthrough of custom subagents, skills, hooks, worktrees, headless scripts, checkpoints and session branching.
Agent: Claude · Category: Agent setup & config
Steps in brief:
- Create custom subagents and advanced skills.
- Add pre/post tool hooks.
- Use git worktrees for parallel changes.
+2 more steps in the copyable prompt.
Who made it: Tech With Tim (X post, 8 Sep 2026) · source
Last updated · based on 336 use cases on agentsetups, each credited to its author.
Prompt for your agent
Goal: Set up an advanced Claude Code workflow. Setup: agents used in source: Claude; tools/MCPs stated: Granola. Steps: 1. Create custom subagents and advanced skills. 2. Add pre/post tool hooks. 3. Use git worktrees for parallel changes. 4. Run headless scripts. 5. Use checkpoints & rewind, continue sessions, and branch sessions. Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify. Based on: Tech With Tim — https://x.com/TechWithTimm/status/2097308980628648349
Steps are from the source. Includes a “Based on” credit line.
I tried this
Tell the next builder. One anonymous answer each; click again to undo.
Agents, models and tools only what the source states
- Agents
- Claude
- Tools
- Granola
Sources & credit
- Tech With Tim @TechWithTimm primaryX post · 8 Sep 2026https://x.com/TechWithTimm/status/2097308980628648349
- Tech With Tim @TechWithTimmX post · 29 Sep 2026https://x.com/TechWithTimm/status/2104934232036434078