Skip to content
Agent Orchestration
Command

/router-session

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

BOOST
From plugin
weave-os-router-2
5.6k13 skills13 commands
Install
$ npx -y skills add weave-os/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 withweave-os-router-2

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
Stats
5,577
Stars
153
Forks
Active
Maintenance
Go
Language
Apache-2.0
License
26m ago
Last commit
5mo ago
Created
16h ago
Added

Repo: weave-os/router

Other commands on weave-os-router-2.