On this page
  1. Read the session
  2. Share it as a link
  3. What an opencode session contains
  4. How this differs from opencode's own share command
  5. Privacy
  6. Questions
  7. Does the person I send it to need opencode or slink?
  8. Is my session uploaded when I run slink view?
  9. Can I open one particular opencode session?
  10. More guides

How to share an opencode session

For slink 0.9.0 · updated 2026-10-09.

Run slink view --from opencode in a project to read an opencode session in your browser, then publish the part you choose as an end-to-end encrypted link. The session is what opencode already stores: your messages, its answers, the tool calls and their results. Nothing is uploaded until you publish, and the person you send the link to needs only a browser.

Read the session

slink view --from opencode

slink reads opencode's session database, opencode.db in ~/.local/share/opencode or under XDG_DATA_HOME, and picks out the sessions started in this project. OPENCODE_DB names another database. It takes a snapshot of the session you choose and opens it in a local web reader. No account is needed.

The reader opens on your latest message and the answer to it. The tool calls, their results and any recorded reasoning sit collapsed under each answer as Agent activity, and search covers one exchange or the whole session. Read a session in the user guide describes the reader in full. Install has the three ways to get slink.

In the reader, choose Share this view. The panel starts with your message and the agent's answer and shows exactly what will be shared. Add a title and a comment if the reader will need them, then choose Publish link and who can open it: anyone with the link, or up to ten people by email address.

From the terminal, this publishes the newest opencode session for the project, whole, after showing it and asking:

slink share --from opencode

To share one passage and not the whole conversation, select the text in the reader and choose Comment and share. Share in the user guide covers each step.

What an opencode session contains

slink is checked against opencode 1.18.35, whose sessions are in the message and part tables. A second store that opencode keeps for a newer session engine is not read. The handoff design lists the evidence and the limits.

How this differs from opencode's own share command

opencode has a /share command. It creates a public URL for the session and syncs the conversation to opencode's servers, where anyone with the link can read it, and /unshare removes the link and deletes that data (opencode's documentation, read 2026-10-09). With slink the session is encrypted on your machine before upload, you can share part of it, and you can limit a share to people you name by email address. Tools compared sets it beside the other ways to share a session.

Privacy

Privacy and security has the detail.

Questions

No. They open the link in a browser.

No. slink view reads the database on your disk and serves the reader from your own machine. Uploading happens only when you choose Publish link or run slink share.

Can I open one particular opencode session?

Yes. Pass its session ID with --session. A wrong or ambiguous ID is an error, never a guess.