tannerbruhn

Opencode Aside — Communication skill for Claude Code

Communication community

Claude Code's /btw side chat for opencode: ask a one-shot question in an overlay, with no tools and nothing added to the transcript.

How to install Opencode Aside

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tannerbruhn/opencode-aside and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Opencode Aside does

Claude Code's /btw side chat for opencode: ask a one-shot question in an overlay, with no tools and nothing added to the transcript.

Alternatives in Communication

  • Video — Ask the user to paste a YouTube video URL of a trading strategy or indicator tutorial 150 ★
  • Dsh Chat Import — Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCo 114 ★
  • Codechart — Agent skill + CLI: maps and flowcharts of code changes in terminal, chat and HTML 41 ★

README

opencode-aside

A port of Claude Code's `/btw` for opencode: ask a question about the session you are in, get the answer in an overlay, and have none of it enter the transcript.

The command is `/btw`, with `/aside` as an alias. The package is named `opencode-aside` because `opencode-btw` is taken by an unrelated package.

How this differs from the alternatives

Several plugins cover nearby ground. The distinction that matters is whether your side question **forks a session** and whether anything **persists**:

Forks? Persists? Tools?
opencode-aside (this) no no — the child session is deleted no
opencode-bytheway yes, forks and switches you into it until you /btw-end or /btw-merge yes
opencode-sidechat no yes — a panel with history yes

Claude Code's own `/btw` is a side chain: no tools, nothing persisted, gone when you close it, main transcript untouched. This plugin matches that. Pick `bytheway` if you actually want to *branch* and merge text back; pick `sidechat` if you want a persistent panel.

Install

// ~/.config/opencode/tui.json
{ "plugin": ["opencode-aside"] }

Restart opencode afterwards.

What it does

`/btw` opens a dialog, then:

  1. snapshots recent text and tool activity from the current session
  2. opens a hidden child session (parentID = current) with tools denied
  3. asks once and renders the answer in an overlay
  4. deletes the child session

The parent transcript is never written to.

**It deliberately does not fork.** Forking is the heavyweight case — use a real fork when you want to *branch*, use `/btw` when you just want to ask.

Options

{ "plugin": [["opencode-aside", { "context_chars": 12000 }]] }
Option Default Meaning
context_chars 6000 How much recent transcript text to include. Trimmed from the front, so the tail always survives.
tool_chars 600 Per-tool-call cap on command + output