@kibitzsh/kibitz
v0.0.6
Published
Real-time decoded feed of AI agent actions — monitor multiple Claude Code & Codex sessions, see exactly what each agent is doing, and coordinate swarms efficiently
Readme
Kibitz
Kibitz is a VS Code extension + CLI that watches Claude/Codex sessions, generates live commentary, and lets you dispatch prompts to existing or new sessions from one composer.
Install
VS Code Extension — install from the VS Code Marketplace or search Kibitz in the Extensions panel.
CLI — Homebrew (macOS / Linux)
brew install kibitzsh/tap/kibitzCLI — npm
npm install -g @kibitzsh/kibitzCompatibility Matrix (Contract)
| Platform | VS Code panel | Terminal CLI | | --- | --- | --- | | macOS | Supported | Supported | | Windows | Supported | Supported | | Linux | Best effort | Best effort |
Core Capabilities
- Live commentary feed for Claude Code and Codex sessions.
- Cross-session prompt dispatch:
- Existing active sessions.
- New session on current provider.
- Slash controls in composer:
/help,/pause,/resume,/clear,/focus,/model,/preset- session targeting like
/1,/2
- Provider-aware model handling.
- Strict dispatch status events:
queued,started,sent,failed.
Prompt Dispatching
Kibitz can send prompts to any active watched session (Claude or Codex), or start a new session on the current provider.
VS Code Panel
- Target badges always include:
/1 New session (current provider)/2..Nexisting active sessions from the watcher list
- Starting a new terminal session is one step: select
/1and send your prompt. - Select a target by:
- clicking a target badge
- typing
/N(select only) - typing
/N <prompt>orN/ <prompt>(select + send)
- Plain text (without target token) sends to the currently selected target.
- Each send emits explicit status updates:
queued,started,sent,failed.
Terminal CLI
- Use
/sessionsto list active sessions with numeric indexes. - Set target with
/target <index|agent:sessionId|new-codex|new-claude>. - Starting a new terminal session is one command:
/target new-codex(or/target new-claude), then send plain text. - After target selection, plain text sends to that target.
- Dispatch status is printed for every send:
queued,started,sent,failed.
Scope and Limits
- Targeting is limited to active sessions in the watcher window (recent activity).
- Multi-target broadcast in one send is not implemented.
Development Setup
Prerequisites
- Node.js 20+
- npm 10+
- VS Code 1.85+
- At least one provider CLI installed and authenticated:
codex/codex.cmdclaude/claude.cmd
Build
npm ci
npm run buildDeploy to Local VS Code/Cursor
npm run deploy:vscodeThis copies dist/ and package.json into your local extensions directory and replaces older Kibitz extension folders.
Run CLI
npm run build
node dist/cli/index.jsTesting
npm run typecheck
npm run check:compat
npm run test:ui
npm run test:allUseful targeted checks:
npm run test:parsers
npm run check:session-names
npm run check:model-persistenceRelease Flow
- Local smoke and package:
npm run deploy:vscode(local install to VS Code/Cursor)npm run package(builds.vsix)
- Full guarded release flow:
npm run cr
npm run crperforms checks/build, bumps version, publishes VS Code Marketplace + npm, verifies versions, updates Homebrew formula, and pushes tags.- For GitHub auto-release on tag push, add repository secrets:
VSCE_PAT(VS Marketplace publish PAT)NPM_TOKEN(npm publish token)HOMEBREW_TAP_TOKEN(GitHub token with write access tokibitzsh/homebrew-kibitz)
Distribution Channels
1) VS Code Extension Marketplace
- Create publisher in VS Marketplace (if not already created).
- Create Azure DevOps PAT with Marketplace publish scopes.
- Publish with
npm run publish:vscode(VSCE_PATrequired). - Recommended:
- publish stable versions to Marketplace,
- keep
.vsixartifacts in GitHub Releases for manual install/rollback.
2) OpenVSX (for Cursor/VSCodium ecosystems)
- Publish the same extension package to OpenVSX.
- Keep version parity with Marketplace.
3) npm (CLI distribution)
- Keep
bin.kibitzpointing todist/cli/index.js. - Publish package to npm.
- Users can install globally and run
kibitz.
4) Homebrew
Two common paths:
- Formula that installs from npm:
- wraps
npm install -g kibitz.
- wraps
- Tap formula that downloads built tarball/binary and installs launcher.
For VS Code extensions specifically, Homebrew is optional and usually secondary to Marketplace/OpenVSX.
5) GitHub Releases
- Upload
.vsixand changelog per version. - Add quick install instructions:
code --install-extension <file>.vsix
Recommended Distribution Stack
For most users, start with:
- VS Marketplace (primary VS Code install path)
- OpenVSX (secondary ecosystem coverage)
- npm (CLI users)
- GitHub Releases (
.vsixartifact + release notes)
Add Homebrew only if your CLI install demand is high and you want one-command setup for macOS/Linux.
Docs
Legal
Cross-Platform Notes
Kibitz mirrors proven room patterns:
- Login-shell PATH inheritance on macOS.
- npm global prefix PATH enrichment on Windows.
- Windows
.cmdcommand mapping (claude.cmd,codex.cmd). - Platform-parameterized compatibility tests.
