Skip to content
Back to skills

Router Session

ASecurity

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

  • 5,621 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 13, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 13, 2026

npx -y skills add weave-os/router --skill router-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Router Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Router Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/weave-os-router-session/badge)](https://www.skillsdirectory.com/skills/weave-os-router-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: router-session
description: "Print the session id that correlates this Codex session in Weave Router telemetry and logs."
---

<!-- 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.

Files in this skill

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.