Skip to content

First module is free — start with a sampler of plugins, skills & e-books.Access for free

Carousel · 9 slides

Zellij — your session survives the crash

Detach is the keystone habit of the whole studio setup — and it's one keystroke. As posted on TikTok, Instagram, and LinkedIn — the full story, one slide per card.

The Multiplexer · SCHEMA 00401/09

Quit the terminal mid-task. The work doesn't even notice.

Detach is the keystone habit of the whole studio setup — and it's one keystroke.

Alt+q02/09

Detach ends the viewing, not the work.

Alt+q disconnects your window from the session — that's all it does. The Zellij server keeps owning the panes, and every process inside keeps running at full speed with nobody watching.

Proof, part 103/09

No window attached. Still running.

zellij list-sessions shows the session alive with no window anywhere. ps -axo etime,command says the counter loop is 41 seconds in.

zellij list-sessions shows the session alive with no window anywhere. ps -axo etime,command says the counter loop is 41 seconds in.

Proof, part 204/09

Ghostty closed for ten minutes. It never blinked.

Session age 6m 51s → 17m 25s. Loop elapsed 00:41 → 11:15. Both climbed in lockstep — same process, never restarted.

Session age 6m 51s → 17m 25s. Loop elapsed 00:41 → 11:15. Both climbed in lockstep — same process, never restarted.

The honest boundary05/09

What detach does and doesn't protect.

Myth

A detached session keeps running even with the laptop lid closed.

Fact

Sleep suspends everything; the work resumes on wake. What detach removes is the fatal failure mode: no closed window or quit app can kill the work anymore.

The round-trip06/09

Five commands own the whole lifecycle.

zellij attach studio    # in, by name - Alt+q to step away
zellij list-sessions    # studio [Created ...] - still alive
zellij attach studio    # back; nothing paused or restarted

zellij kill-session studio     # end it on purpose
zellij delete-session studio   # erase the record
Why it matters for Claude07/09

A detached agent keeps working while you don't.

Detach mid-migration, do something else entirely, and Claude executes at full speed out of sight. A settings flag pings you when it finishes — that's what makes walking away relaxing instead of hopeful.

Save this08/09

The round-trip, certified.

  • Start something long, then detach with Alt+q
  • Verify from outside: zellij list-sessions
  • Watch ps -axo etime,command climb between runs
  • Quit Ghostty entirely — Cmd+Q, not Cmd+W
  • zellij attach studio — continuous, no restart
The boundary09/09

One idea from one lesson.

Track 1 (23 lessons) is free.