Cockpit · Claude AI inside VS Code
Full-screen Claude workspace, running on your subscription — no API tokens.
What it is
Cockpit is a VS Code extension that turns the editor into a full-screen AI workspace powered by Claude. Instead of a sidebar panel — a dedicated editor tab: chat, session history, code edits with inline-diff, themes, MCP servers.
The key thing: it runs through your claude.ai subscription (Pro/Max/Team) — consumption goes from Agent SDK credits, not paid API tokens.
What's inside
- Claude chat — token streaming, themed markdown highlighting, clickable file refs, code copy
- Code edits with approval and inline-diff in native VS Code diff-editor
- 3 working modes: 🛡 Manual · ✏️ Accept edits · 🤖 Auto-agent
- Session history in sidebar — search, rename, fork
- 6 themes + custom, synced with full editor color themes
- Real-time usage of your subscription: 5h / weekly limit progress bars
- Inline completions (Tab) with LRU cache — Haiku model
- Slash commands:
/loop,/tests,/find,/replace,/sharevia GitHub Gist - Multimodal: drag&drop / paste images
- MCP servers: visual editor + env vars
- CodeLens, Code Actions "Fix with Cockpit", inline selection explainer
- Workspace CLAUDE.md, audit log, path-allowlist, cost budgets, git stash snapshot before each edit
- 📱 Cockpit Mobile — companion phone app. Pairs with VS Code via OTP (Settings → Cockpit Mobile), streams the agent's responses and lets you send prompts from your phone.
- 🔑 Auto-import token — the "🦈 Pull from Claude CLI" button in Settings reads the OAuth token directly from the OS keychain (macOS / libsecret / Windows Credential Manager). No manual paste.
Install
1. Get OAuth subscription token
npm i -g @anthropic-ai/claude-code
claude setup-tokenThe command outputs a sk-ant-oat01-… token.
2. Install the extension
Open in VS Code or via Cmd+Shift+P → Extensions: Install Extensions → find Cockpit by unyly.
3. Connect token — one click
Cmd+Shift+K opens Cockpit. Settings ⚙ → Connect Claude → hit "🦈 Pull from Claude CLI". macOS will ask for keychain access once, silent thereafter. Or paste the token manually.
4. Optional: pair your phone
Settings → Cockpit Mobile → generate an OTP → enter it in the companion app on your phone. Stream the agent's answers and send prompts from the paired device.
Shortcuts
Cmd+Shift+K— open CockpitCmd+Shift+J— quick ask from paletteCmd+Shift+E— explain selection inline@— workspace file autocomplete/— slash commands
Open-source
Cockpit is MIT, source on GitHub. Part of the Unyly ecosystem.
Marketplace: https://marketplace.visualstudio.com/items?itemName=unyly.unyly-cockpit
Extension ID: unyly.unyly-cockpit · GitHub: https://github.com/FasadSalatov/cockpit