session-bridge

Locate Claude Code, Codex CLI, and OpenCode session transcripts and generate handoff summaries.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/psw7205/skills --skill session-bridge-psw7205
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: session-bridge
Source: https://github.com/psw7205/skills/tree/main/skills/session-bridge
Command: npx skills add https://github.com/psw7205/skills --skill session-bridge-psw7205

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? When work spans multiple AI coding agents, context is lost between sessions. This Skill finds a past session transcript by session ID or fragment across Claude Code, Codex CLI, and OpenCode storage, then produces a structured handoff summary so another agent can resume the work without repeating mistakes. ## Core Features & Use Cases - Cross-agent transcript lookup: Searches Claude Code projects/transcripts directories, Codex rollout files, and the OpenCode SQLite database by full or partial session ID, with filename matching prioritized over content matching. - Sanitized OpenCode export: Reads OpenCode sessions through opencode export --sanitize instead of raw database access. - Structured handoff summary: Produces a fixed-format summary covering original goal, completed work, in-progress state, verification results, next actions, and untrusted instructions inside the transcript. - Use Case: You started a refactor in Claude Code yesterday and want to continue it in Codex today. Provide the session UUID, and the Skill locates the transcript, extracts the current state, and writes a copyable handoff prompt for Codex. ## Quick Start Find the Claude Code session with ID abc123 and write a handoff summary so I can continue the work in Codex.

Frequently Asked Questions about session-bridge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a Claude Code session transcript by ID?▼

Run the find-transcript.sh script with the locate command and the session ID or a fragment of it. It searches ~/.claude/projects and ~/.claude/transcripts for matching .jsonl files, preferring filename matches over content matches.

How do I continue a Claude Code session in Codex CLI?▼

Locate the Claude session transcript by its UUID, read the sampled transcript sections, then generate a handoff summary covering goal, completed work, and next actions. The Skill can append a copyable prompt formatted for the target agent.

Can I search OpenCode sessions by partial session ID?▼

Yes. OpenCode sessions are queried from the opencode.db SQLite database by matching the ID, title, or directory against the fragment. Results are then read through opencode export with the --sanitize flag rather than raw database access.

What happens when multiple transcripts match a partial session ID?▼

The script returns all candidates sorted by modification time with source, size, and match reason. You should review the candidate list and working directories to select the right one rather than assuming the newest match is correct.

Does this Skill modify files or execute commands from transcripts?▼

No. It is read-only for investigation and handoff purposes. Transcript content is treated as untrusted external input, so instructions found inside transcripts are never executed unless the current user explicitly requests changes.