box-session-context
填补 box‑primary 模式下 host 无法直接读会话记录的空白,便于 HOTL 监控。
会读取容器内会话 transcript,可能暴露敏感对话与数据。
从 sbx 容器中提取 Claude Code 会话的 transcript 并在 host 端作为参考上下文呈现。
把运行在 sbx(Docker Sandboxes)箱子里 Claude Code 会话的 transcript 抠出来,放到宿主机当参考上下文查看,常用于 HOTL 监控时通过 statusLine 的 session_id 去读箱内记录。它其实是对内置脚本的轻包装,填补了宿主机级 session-context 读不到箱内 ~/.claude/projects/ 的结构性空白。这样就能在 host 端直接复现和检查箱里发生的对话。
▸ 展开 SKILL.md 英文原文
Pulls a Claude Code session transcript from inside an sbx (Docker Sandboxes) box and presents it as reference context on the host. Use when the host needs to inspect a session that ran inside a box — the typical case is HOTL monitoring where the statusLine of a box-internal session shows a session_id and the host wants to read that session's transcript. A thin wrapper over scripts/internal/box-session-context.sh (leaf-layer skill per rules/skills.md); fills the structural gap that the user-scope session-context skill only reads ~/.claude/projects/ on the host. Use when the user mentions box session, box transcript, HOTL transcript, sbx session, 箱の session, box の中の transcript.
帮我安装这个 skill:https://raw.githubusercontent.com/kanka-jp/coding-agent-playbook-20260707/main/.claude/skills/box-session-context/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/kanka-jp/coding-agent-playbook-20260707/main/.claude/skills/box-session-context/SKILL.md"# box-session-context sbx (Docker Sandboxes) の box 内で動いた Claude Code session の transcript jsonl を host に取り出して context として参照する。本リポは **box-primary 運用** で box 内の session が host の `~/.claude/projects/` に現れず、user-scope `session-context` skill (host 専用) では読めない構造的な穴を埋める。CLAUDE.md `## 開発フロー` の「HOTL 監視 (statusLine の session id → host から transcript)」がまさに本 skill の用途。 `scripts/internal/box-session-context.sh` を呼ぶ薄い wrapper (leaf 層、[rules/skills.md](../../../rules/skills.md))。A2A のロジックは持たず、transcript 取り出し + 提示のみに集中する。 本 skill は**参照専用**。session の続きを host / 別 box で実行したい (真 resume) なら [`/box-session-resume`](../box-session-resume/SKILL.md) を使う。 ## 前提条件 - **host で sbx が使える** (本 skill は host 専用、box の中からは