Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cross-session-context

БесплатноБез исполняемых скриптовНе проверен

Resolve another tracked live task/session or Codex Desktop thread and read task metadata, transcript fallback, zellij diagnostics, or Codex Desktop thread…

ma08от ma08★ 31 звезда на GitHub

Об этом скилле

Cross-Session Context

Use the repo-managed get-cross-session-context helper when the user wants to inspect another live tracked task/session from the current session. When running inside Codex Desktop and the target is a Codex Desktop thread, use the app thread tools as the Desktop transport.

If the purpose is to inspect or recover a Mac UI worker result, use the exact worker host and task IDs recorded by mac-ui-worker; never resolve that worker by title alone. The receipt must also match the declared iab or computer-use surface.

Invocation

$cross-session-context <task slug|tracker ref|session name>
/cross-session-context <task slug|tracker ref|session name>

Lower-level overrides:

$cross-session-context --task-dir <task-dir>
$cross-session-context --status-file <status-file>
$cross-session-context --zellij-session <session-name>

Command

get-cross-session-context --project-root "<project-root>" <target>

Useful flags:

  • --include-transcript-tail 4
  • --json
  • --tab-name <name>

Codex Desktop thread path, when codex_app tools are available:

  1. If the thread tools are not already visible, use the runtime's tool discovery to load list_threads and read_thread.
  2. Use list_threads with the tracker id, task slug, or visible title.
  3. If the result is ambiguous, stop and surface the candidates.
  4. Use read_thread with the chosen threadId and hostId.
  5. If task metadata also exists, still run get-cross-session-context for the status file, tracker metadata, transcript path, and zellij diagnostics.

Antigravity conversation path, when ANTIGRAVITY_LS_ADDRESS and ANTIGRAVITY_CSRF_TOKEN are available:

  1. Run get-cross-session-context --project-root "<project-root>" <target> --include-transcript-tail 4 first when a tracked task exists; for coding_agent: antigravity, it reads Antigravity's transcript.jsonl and inspects live ConversationService title and run state automatically.
  2. Use antigravity-conversation list --current-project or antigravity-conversation get --conversation-id <id> to inspect conversation metadata and run state directly.

Behavior

  • Target by tracker ref or task slug first. Use explicit session overrides only for lower-level or debug work.
  • Treat task/status metadata as the primary source of truth.
  • Use transcript tail only as a targeted fallback for fuller deterministic context.
  • Treat live zellij inspection as diagnostic context, not the primary contract.
  • Treat Codex Desktop read_thread output as app-thread context: useful for recent turn status and summaries, but not a substitute for task status files when a tracked task exists.
  • If no zellij session exists but a unique Codex Desktop thread is found, the Desktop thread is a valid context target.
  • Codex CLI and Claude Code do not automatically have Codex Desktop thread tools. If codex_app tools are unavailable, do not fake thread context by editing or scraping local app state; use task metadata, transcript files, and zellij diagnostics, or ask the user to run the Desktop-thread operation from a Codex Desktop thread.
  • If multiple task homes match, stop and surface the candidates instead of guessing.
  • A Mac UI worker is bound to one exact source task. Reading it for result recovery does not authorize rebinding it or sending unrelated work.

See ~/pro/botfiles/docs/cross-session-orchestration-contract.md for the shared contract.

Полный SKILL.md на GitHub

Установить cross-session-context в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл cross-session-context?

Resolve another tracked live task/session or Codex Desktop thread and read task metadata, transcript fallback, zellij diagnostics, or Codex Desktop thread context for non-Symphony orchestration.

Как установить скилл cross-session-context?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cross-session-context запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cross-session-context с