Command Palette

Search for a command to run...

Claude inside VS Code. Via your subscription.

A full-screen cockpit: edits with native inline-diff, session history, themes, MCP, Tab autocompletions, /loop until green, share via Gist.

unyly.unyly-cockpit

editor-native

Inline diff in VS Code

Every Claude edit opens a native VS Code diff editor beside the panel. Accept and it is applied. Reject and it is gone.

  • subscription-powered

    Pro/Max tokens

    OAuth subscription token: consumption from Agent SDK credits. No API keys, no pay-as-you-go billing.

  • history

    Session history

    Sidebar with session search, rename and fork from any point in the conversation.

  • slash commands

    /loop, /tests, /find, /share

    "Run pnpm test until green", "find semantically", "publish session as a Gist": one command each.

  • mcp

    Picks up your MCPs

    Visual MCP server editor (stdio/http and env). The same servers as in Unyly Vault work here too.

  • usage

    Subscription limits in the UI

    5-hour and weekly limit progress bars like claude.ai, plus per-session input/output/cache tokens.

  • mobile

    Companion on your phone

    Cockpit Mobile pairs via an OTP code. Watch the agent stream and send prompts from your phone.

Setup takes 30 seconds. Instructions: /cockpit

What it is and who it is for

Cockpit is a VS Code extension that turns the editor into a Claude workspace: a dedicated editor tab with chat, session history, code edits with inline-diff, themes and MCP servers. It runs through your claude.ai subscription (Pro, Max or Team), not paid API tokens.

  • Developers with a claude.ai subscription who feel cramped in a sidebar.
  • People who want to approve every edit and see it in the regular VS Code diff editor.
  • People who want to watch the agent and prompt it from a phone (Cockpit Mobile).

What it can do

Claude chat
Streaming, themed markdown, clickable file refs, code copy.
Edits with approval
Inline-diff in the native VS Code diff editor.
3 modes
Manual, accept edits, auto-agent.
Session history
Search, rename, fork.
Themes
6 themes plus a custom one, synced with the editor.
Subscription limits
Progress bars for the 5-hour and weekly limits.
Completions
Inline completions on Tab, Haiku model.
Slash commands
/loop, /tests, /find, /replace, /share via Gist.
Images
Drag and drop or paste images.
MCP servers
A visual editor with env vars.
Safety
Audit log, path allowlist, budgets, a git stash snapshot before each edit, workspace CLAUDE.md.
Cockpit Mobile
A phone app: pair via an OTP code, stream the agent’s answers and send prompts.

How to start

  1. 01

    Get the subscription OAuth token

    npm i -g @anthropic-ai/claude-code && claude setup-token
  2. 02

    Install the extension

    Cmd+Shift+P, then Extensions: Install Extensions, find Cockpit by unyly.
    Open in VS Code
  3. 03

    Connect the token

    Cmd+Shift+K opens Cockpit; gear, Connect Claude, “Pull from Claude CLI”. macOS asks for keychain access once.
  4. 04

    Optional: your phone

    Settings, Cockpit Mobile, generate an OTP and enter it in the app.

What it costs

Cockpit is MIT with open source. Usage comes out of the Agent SDK credits of your claude.ai subscription.
Source on GitHub

Common questions

Do I need an API key?
No. The extension runs through your claude.ai subscription (Pro, Max or Team).
What are the shortcuts?
Cmd+Shift+K opens Cockpit, Cmd+Shift+J quick ask, Cmd+Shift+E explain selection; @ inserts workspace files, / opens slash commands.
Where is the token stored?
The “Pull from Claude CLI” button reads it from the OS keychain (macOS, libsecret, Windows Credential Manager), no manual paste.
Where do I get it?
In the VS Code Marketplace, extension ID unyly.unyly-cockpit.

Install Cockpit in VS Code