Skip to content
cccskills
FreePublished on GitHub

router-session

Retrieve the current Codex session ID so you can find its records in Weave Router logs and dashboards. The ID is returned in a copyable format for investigation or support.

OriginalShow the original description

Print the session id that correlates this Codex session in Weave Router telemetry and logs.

See how to install

Good for

  • Find the current session in router logs
  • Look up a session in the router dashboard
  • Copy a session ID for a support request

Files included (2)

  • SKILL.md1.2 KB
  • scripts/emit.sh669 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

<!-- weave-router managed router-session skill -->

When the user invokes $router-session, run this skill's scripts/emit.sh using the absolute path shown in this skill's <path> (its directory + /scripts/emit.sh). It takes no arguments.

The script prints the session id on its own line. Report that id back in one line, formatted as inline code so the user can copy it. Do not send a user message and do not type a Codex slash command.

The router carries this id as Session-Id on every request and stores it for analytics joins, so it is also the lookup key in the router dashboard.

This skill needs CODEX_SESSION_ID in the environment. If it is unset the script exits non-zero rather than reporting an id: the alternative is reading the newest rollout transcript, which names a different session whenever two run at once, and a wrong id sends someone else's session to support. Report the error as-is instead of guessing.

Codex also prints the same id in its own session banner, which is the quickest answer when this skill cannot produce one.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Investigate unexpected Claude Code output by matching a session’s local transcript with production router logs. Identify the serving model and trace response conversion code to explain empty blocks, tool output, or other rendering symptoms.

  • Investigate unexpected output in a specific session
  • Examine an empty thinking block
  • Match displayed content to the serving model and provider
weave-os/router5.6KUpdated Oct 19, 2026

Investigate a Codex CLI session by matching its local conversation record with production router logs. Use the session ID to examine missing reasoning summaries, routing markers, unexpected models, or unusual tool calls and trace relevant code paths.

  • Investigate missing reasoning summaries
  • Confirm which model actually served a turn
  • Trace missing or unexpected routing markers
weave-os/router5.6KUpdated Oct 19, 2026

disable-routing

FreeSummary

Switch Codex from Weave Router back to its normal provider for future sessions. Keep the existing login and router configuration, receive the command result, and retain the option to turn routing on again later.

  • Return Codex to its normal provider
  • Disable routing while keeping router configuration
  • Switch providers without logging out
weave-os/router5.6KUpdated Oct 19, 2026

fm

FreeSummary

Pin the current Codex session to a chosen model through Weave Router. This short alias accepts a model ID, runs the included script, and reports the router’s response while allowing the current turn to continue.

  • Pinning a Codex session to a chosen model
  • Using a short alias for force-model
  • Checking the router’s response after pinning a model
weave-os/router5.6KUpdated Oct 19, 2026

force-model

FreeSummary

Pin the current Codex session to a specific model through Weave Router by providing its model ID. The skill applies the pin, continues the same turn, and reports the router's response.

  • Pinning the current Codex session to a model
  • Specifying a model by its ID
  • Applying a model pin while continuing the same turn
weave-os/router5.6KUpdated Oct 19, 2026

install-lsps

FreeSummary

Set up language servers, programs that help tools understand source code, for Go, TypeScript, Python, and Rust. Check missing prerequisites, install them with approval, and verify the lsp tool against a real source file.

  • Enable language support for the lsp tool
  • Install a missing language server
  • Set up prerequisite development tools
weave-os/router5.6KUpdated Oct 19, 2026

See all skills by weave-os

Report a problem with this skill