
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
A small pi extension that adds a /btw side conversation channel.
/btw opens a real pi sub-session with coding-tool access, and it runs immediately even while the main agent is still busy.

read / bash / edit / write tool access/btw:tangent for a contextless side thread that does not inherit the current main-session conversationAlt+/--savepi install npm:pi-btw
pi install git:github.com/dbachelder/pi-btw
Then reload pi:
/reload
pi install /absolute/path/to/pi-btw
/btw what file defines this route?
/btw how would you refactor this parser?
/btw --save summarize the last error in one sentence
/btw:new let's start a fresh thread about auth
/btw:tangent brainstorm from first principles without using the current chat context
/btw:model openai gpt-5-mini openai-responses
/btw:thinking low
/btw:inject implement the plan we just discussed
/btw:summarize turn that side thread into a short handoff
/btw:clear
/btw [--save] <question>--save, also saves that single exchange as a visible session noteAlt+/ toggles focus between BTW and the main editor without closing the overlayCtrl+Alt+W is a fallback focus toggle for terminals that do not deliver Alt+/ as a usable shortcutEsc still dismisses BTW immediately while the overlay is focused/btw:new [question]/btw:tangent [--save] <question>/btw to /btw:tangent (or back), the previous side thread is cleared so the modes do not mix--save, also saves that single exchange as a visible session note/btw:clear/btw:inject [instructions]/btw:summarize [instructions]/btw:model [<provider> <model> <api> | clear]clear removes the override and returns BTW to inheriting the main thread model/btw:thinking [<level> | clear]clear removes the override and returns BTW to inheriting the main thread thinking level/btw:model or /btw:thinking disposes the current BTW sub-session and applies the new settings on the next BTW prompt while preserving the hidden threadBTW is implemented as an actual pi sub-session with its own in-memory session state, transcript events, and tool surface.
/btw threads seed that sub-session from the current main-session branch while filtering out BTW-visible notes from the parent context/btw:tangent starts the same BTW UI in a contextless mode with no inherited main-session conversation/btw:model and /btw:thinking/btw:summarize uses the current effective BTW model but keeps thinking off/btw:inject and /btw:summarize) read from the BTW sub-session thread rather than maintaining a separate manual transcript modelInside the BTW modal composer, slash handling is split at the BTW/session boundary:
/btw:new, /btw:tangent, /btw:clear, /btw:model, /btw:thinking, /btw:inject, and /btw:summarize stay owned by BTW because they control BTW lifecycle, configuration, or handoff behaviorprompt() path/help are handled by the sub-session instead of being rejected by a modal-only fallbackThis keeps BTW-owned lifecycle commands explicit while giving the side conversation the same slash-command surface as the underlying sub-session.
BTW exchanges are persisted in the session as hidden custom entries so they:
/btw thread or a contextless /btw:tangentIf you use --save, that one BTW exchange is also written as a visible custom message in the session transcript.
Sometimes you want to:
This package also ships a small btw skill so pi can better recognize when a side-conversation workflow is appropriate.
It helps with discoverability and guidance, but it is not required for the extension itself to work.
The extension entrypoint is:
extensions/btw.tsThe included skill is:
skills/btw/SKILL.mdTo use it without installing:
pi -e /path/to/pi-btw
MIT
FAQs
A pi extension for parallel side conversations with /btw
The npm package pi-btw receives a total of 1,982 weekly downloads. As such, pi-btw popularity was classified as popular.
We found that pi-btw demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.