Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Import and continue a session

Import keeps the source session unchanged. Context Bridge reads the documented OpenCode export for a supported profile, creates a local bridge session, and uses that canonical copy to derive each subsequent handoff.

Import the safe default

Start with OpenCode's sanitized export. It is the normal way to create a bridge session without requesting the original raw local text.
cb doctor --verbose cb import opencode --session <opencode-session-id> cb show <bridge-session-id>
The import command prints the new bridge_session_id. Keep identifiers out of screenshots and public issue reports if they could reveal local work relationships or repository history.

Preview before launching

A preview is the handoff you are about to give the target agent. Use it to confirm the current objective, repository state, redaction, and recent conversation before an interactive agent starts.
cb continue \ --session <bridge-session-id> \ --from opencode \ --to claude \ --budget 100000 \ --preview
--budget is an approximate token budget. Context Bridge reserves room for the structured task state, then fills the remaining window from the newest supported conversation backward. A larger value does not discard older local history; it only changes the generated handoff.

Continue in the target agent

Launch only after the preview is correct. The same command without --preview starts the target through its documented interface.
cb continue \ --session <bridge-session-id> \ --from opencode \ --to claude \ --budget 100000
For a bridge-managed session, use --last when the desired source is the most recent session in the current project:
cb continue --last --from opencode --to codex --preview
Claude receives large handoffs through its documented prompt-file option, not one oversized shell argument. Exit an already-open linked Claude session before asking Context Bridge to resume that same session.

Inspect and export locally

Use the event timeline for local review and redacted export for sharing. The normal timeline omits sensitive events unless you explicitly request them.
cb timeline <bridge-session-id> cb diff <bridge-session-id> cb export <bridge-session-id> --format json --redacted > handoff.json
Read Privacy and data before sharing handoff.json or using --include-sensitive during inspection.
--full is an explicit local-only exception. It imports OpenCode's raw documented export, which can contain sensitive text. Review the resulting local data before making any export or handoff available outside your machine.