← ClaudeAtlas

watching-another-claude-session-livelisted

Find and watch another Claude Code session's transcript (a session running in a different repo or terminal): resolve its uuid from the repo dir, catch up on what it already did, then stream its prompts, replies, tool calls and tool errors live via the Monitor tool. Triggers on: find the session uuid and watch it, watch that session, tail the other claude session, what is my other session doing, follow the clone session, monitor the trial session, watch the transcript, which session is running in ~/clone/X, catch up on the other session.
sblattj/agent-chandlery · ★ 0 · AI & Automation · score 72
Install: claude install-skill sblattj/agent-chandlery
## More triggers watch-claude-session (old name) # watching-another-claude-session-live Read-only window into another session's `~/.claude/projects/<dir>/<uuid>.jsonl`. ## Do this ```bash W=${SKILL_DIR:-~/.claude/skills/watching-another-claude-session-live}/watch.sh $W find ~/clone/acme-api # newest transcript for that repo dir (or pass a uuid) $W catchup ~/clone/acme-api 40 # last 40 USER/TOOL/TOOL_ERR lines (history before the watch) ``` Then arm a Monitor (not a background Bash) on the live stream: ``` Monitor command: ${SKILL_DIR:-~/.claude/skills/watching-another-claude-session-live}/watch.sh live ~/clone/acme-api description: "<repo> session <uuid8>: prompts, replies, tool calls, errors" ``` Re-arm it when it expires (about every 30 minutes). Check `catchup` again after a re-arm, since the gap is not replayed. ## Why it's built this way (friction mined) - **Project dir naming:** the repo's absolute path with every `/` and `.` turned into `-`, so `~/clone/acme-api` on macOS becomes `-Users-<you>-clone-acme-api`. Several uuids live there; the newest by mtime is the live one. - **`tail -n 0 -F` starts at the end**, so the first monitor missed everything the session had already done. Always run `catchup` first. - **One jq filter, four line kinds:** `USER:` (string content), `TOOL_ERR:` (tool_result with is_error), `CLAUDE:` (text), `TOOL <name>:` (command, description, file_path, or the raw input). Long content is squashed to one line and cut