/hotline:hotline-wiretapfrom hotline
Locates the JSONL conversation transcript file for the current Claude Code session. Responds to queries like 'where is my transcript' or 'open the transcript'.
Ships in hotline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Locate the JSONL transcript file for the current Claude Code session. On current Claude Code (>= 2.1.132) this resolves natively in a single call; older clients fall back to the legacy fingerprint discovery.
Resolve plugin paths first:
# Codex: this path resolves under Claude Code; substitute the directory containing this plugin.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
eval "$(bash "$PLUGIN_ROOT/scripts/paths.sh")"
This sets HOTLINE_SCRIPTS (and others). Use $HOTLINE_SCRIPTS in all script references below.
One Bash call resolves it on current Claude Code:
# Codex: this path resolves under Claude Code; substitute the directory containing this plugin.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
eval "$(bash "$PLUGIN_ROOT/scripts/paths.sh")" && \
bash "$HOTLINE_SCRIPTS/session-init.sh" --expanded
On current Claude Code the script reads the native CLAUDE_CODE_SESSION_ID and derives the transcript path from the project-directory convention — no fingerprinting involved.
Parse the JSON output:
{"status": "cached", "session_id": "...", "transcript_path": "...", ...} — done. This is the normal outcome on current Claude Code. Skip to Report.{"status": "cached", "caller_kind": "codex" | "override", ...} with no transcript_path — identity resolved, but this rung carries no Claude transcript path (Codex threads don't have one; overrides are harness-agnostic). Report the session ID and tell the user a transcript path isn't derivable here.{"status": "planted", "fingerprint": "..."} — legacy client fallback (pre-2.1.132 Claude, or a stripped environment). Save the fingerprint and proceed to Legacy Step 2 in a separate tool call.{"status": "error", "message": "..."} — report the error to the user. Discovery failed.Only needed when the previous call returned planted. This MUST be a separate Bash tool call — the fingerprint is written into the transcript when the first tool call returns, so it won't exist yet if both steps run in one shell.
# Codex: this path resolves under Claude Code; substitute the directory containing this plugin.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
eval "$(bash "$PLUGIN_ROOT/scripts/paths.sh")" && \
bash "$HOTLINE_SCRIPTS/session-init.sh" --expanded discover "<fingerprint>"
Replace <fingerprint> with the planted value.
Parse the JSON output:
{"status": "discovered", "session_id": "...", "transcript_path": "...", ...} — got it. Proceed to Report.{"status": "error", "message": "..."} — report the error. Discovery failed.The transcript_path field from the JSON response is the full path to the JSONL file. Tell the user:
Your session transcript is at:
<transcript_path>
If the file doesn't exist at that path, let the user know.
If the user passed --open (or asked to "open" the transcript), also open the file. Substitute the transcript_path value from the JSON — shell state does not survive between tool calls, so the assignment must be in this block:
TRANSCRIPT_PATH="<transcript_path>"
if [[ "$OSTYPE" == "darwin"* ]]; then
open "$TRANSCRIPT_PATH"
else
xdg-open "$TRANSCRIPT_PATH"
fi
$CLAUDE_CODE_SESSION_ID is right there in your environment. It applies Claude Code's project-directory encoding, resolves the override and legacy rungs, and validates the value — a hand-built path skips all of that and lands on a file that doesn't exist.planted and discover go in two separate Bash tool calls. The fingerprint only reaches the transcript when the first call returns, so a single combined invocation searches for something that isn't written yet.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/hotline-add-contactRegister this workspace in dirmap so hotline-dial can reach it./hotline-caller-idReturn the current Claude Code session ID — 'what is your/this session ID?'/hotline-call-statusRead the hotline call registry — which caller session dialed which callee session, on what transport and host handle. 'who called whom', 'list hotline calls', 'what callees are registered'./hotline-dialCall another Claude Code or Codex workspace — quick calls, work orders, conference calls, follow-ups, and Codex thread adoption. 'Call/dial/message/delegate to <workspace or project>'. Also dials a workspace on ANOTHER machine over SSH (--remote <ssh-target>, herdr on that box)./hotline-pickupGenerate and cache this workspace's identity for hotline-dial resolution./hotline-ringingPrime this agent to handle an incoming hotline call — protocol, isolation rules, response format.npx claudepluginhub jtsternberg/claude-plugins --plugin hotline