Set up subagents, hooks, worktrees and headless mode

A walkthrough of custom subagents, skills, hooks, worktrees, headless scripts, checkpoints and session branching.

by Tech With Tim8 Sep 2026

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