本文へ移動
cccskills
無料GitHub で公開

router-session

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

インストール方法を見る

含まれるファイル(2)

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

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Investigate a specific Claude Code session by session ID — correlate the local transcript (`~/.claude/projects/...jsonl`) with the router's production logs to understand what the client rendered vs. what the upstream served. Use when given a session ID and asked "why did X render?" for a Claude Code conversation routed through the router.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

Investigate a specific Codex CLI session by session ID — correlate the local rollout transcript (`~/.codex/sessions/YYYY/MM/DD/rollout-*-<SESSION_ID>.jsonl`) with the router's production logs to understand what Codex rendered vs. what the upstream served on the /v1/responses path. Use when given a session ID and asked "why did X render?" (missing thinking, missing routing marker, wrong model, tool-call weirdness) for a Codex conversation routed through the router.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

Switch Codex back to its normal provider for future sessions.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

fm

無料

Alias for force-model — pin this Codex session to a specific model through the Weave Router.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

Pin this Codex session to a specific model through the Weave Router.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

Install language servers (gopls, typescript-language-server, pyright, rust-analyzer) and their prerequisite toolchains (Go, Node/npm, rustup) so the lsp tool works. Use when the user asks to enable or install LSP / language-server support, when lsp_enable reports a missing toolchain, or when the lsp tool reports no language server is installed.

日本語の概要は準備中です。原文の説明を表示しています。

weave-os/router5,5872026年10月11日 更新

weave-os のスキルをすべて見る

このスキルの問題を報告する