Skip to content
Development
Command

/router-session

Print the session id that correlates this session in router telemetry and logs.

From plugin
router
94410 skills10 commands
Install
$ npx -y skills add workweave/router --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/router-session

Context preview

What this command does when you run it.

Print the session id that correlates this session in router telemetry and logs.

Command definition

router-session.md
description: Print the session id that correlates this session in router telemetry and logs.
allowed-tools: Bash(echo:*)

Print the session id used by the Weave Router to correlate this session's telemetry, logs, and feedback submissions. Also works as a transcript filename key for manual lookups in the router dashboard.

The router carries this id as `X-Claude-Code-Session-Id` on every request and stores it in `model_router_users.SessionID` for analytics joins.

Run `echo "$CLAUDE_CODE_SESSION_ID"`.

Then tell me the session id in one line, formatted as inline code so I can copy it.

Ships withrouter

Model router for agentic systems. Routes every prompt to the right model in <50ms. Cut costs 40-70% with just an endpoint change.

Get the whole plugin