{"id":49763250,"url":"https://github.com/surething-io/cockpit","last_synced_at":"2026-05-11T10:01:43.568Z","repository":{"id":346842386,"uuid":"1151435651","full_name":"Surething-io/cockpit","owner":"Surething-io","description":"Claude Code GUI for parallel AI coding — multi-project sessions, terminal, browser \u0026 DB bubbles, code review, slash modes. Built on the official Claude Agent SDK. Local-first, MIT.","archived":false,"fork":false,"pushed_at":"2026-05-06T16:36:26.000Z","size":4412,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T16:44:16.119Z","etag":null,"topics":["agent-sdk","ai-code-review","ai-coding","ai-coding-agent","ai-ide","ai-pair-programming","aider-alternative","anthropic","claude-agent-sdk","claude-code","claude-code-desktop","claude-code-gui","cockpit","coding-agent","cursor-alternative","developer-tools","multi-project","nextjs","parallel-ai","typescript"],"latest_commit_sha":null,"homepage":"https://cocking.cc","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Surething-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-06T13:15:02.000Z","updated_at":"2026-05-06T16:36:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Surething-io/cockpit","commit_stats":null,"previous_names":["surething-io/cockpit"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/Surething-io/cockpit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surething-io%2Fcockpit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surething-io%2Fcockpit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surething-io%2Fcockpit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surething-io%2Fcockpit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Surething-io","download_url":"https://codeload.github.com/Surething-io/cockpit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surething-io%2Fcockpit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32889972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-sdk","ai-code-review","ai-coding","ai-coding-agent","ai-ide","ai-pair-programming","aider-alternative","anthropic","claude-agent-sdk","claude-code","claude-code-desktop","claude-code-gui","cockpit","coding-agent","cursor-alternative","developer-tools","multi-project","nextjs","parallel-ai","typescript"],"created_at":"2026-05-11T10:01:40.174Z","updated_at":"2026-05-11T10:01:43.558Z","avatar_url":"https://github.com/Surething-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cocking.cc\"\u003e\n    \u003cimg src=\"public/icons/icon-128x128.png\" width=\"80\" alt=\"Cockpit logo\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eCockpit — A Claude Code GUI for parallel AI coding\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eOne seat. One AI. Everything under control.\u003c/strong\u003e\u003cbr/\u003e\n  \u003csub\u003e\u003ccode\u003e/ˈkɒkpɪt/\u003c/code\u003e — like an aircraft cockpit\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@surething/cockpit\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@surething/cockpit?color=12a594\u0026label=npm\u0026style=flat-square\" alt=\"npm version\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@surething/cockpit\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@surething/cockpit?color=12a594\u0026label=downloads\u0026style=flat-square\" alt=\"npm downloads\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Surething-io/cockpit/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/Surething-io/cockpit?color=12a594\u0026style=flat-square\" alt=\"GitHub stars\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Surething-io/cockpit/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-12a594?style=flat-square\" alt=\"MIT license\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://cocking.cc\"\u003e\u003cimg src=\"https://img.shields.io/badge/website-cocking.cc-12a594?style=flat-square\" alt=\"website\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/anthropics/anthropic-sdk-typescript\"\u003e\u003cimg src=\"https://img.shields.io/badge/built_on-Claude%20Agent%20SDK-12a594?style=flat-square\" alt=\"Built on Claude Agent SDK\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"README.md\"\u003eEnglish\u003c/a\u003e · \u003ca href=\"README.zh.md\"\u003e中文\u003c/a\u003e · \u003ca href=\"https://cocking.cc\"\u003eWebsite\u003c/a\u003e · \u003ca href=\"https://cocking.cc/en/blog/\"\u003eBlog\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003e **Cockpit is an open-source Claude Code GUI.** Run multiple Claude Code Agent SDK sessions in parallel across projects, with a built-in terminal, Chrome control, PostgreSQL / MySQL / Redis bubbles, code review, and slash modes — all local, zero config.\n\nhttps://github.com/user-attachments/assets/18f1a5dc-64f3-4ff6-b9fc-9cd08181fbb8\n\n```bash\nnpm i -g @surething/cockpit \u0026\u0026 cockpit\n```\n\n## Why Cockpit?\n\nAnthropic ships **Claude Code as a CLI**. That's the right call for power users — but the moment you have more than one project in flight, your terminal turns into mission control with no instruments.\n\nCockpit is the instrument panel. It does **not** replace Claude Code; it stands on top of the official Agent SDK and gives you the things a CLI can't:\n\n| Pain with raw Claude Code | What Cockpit adds |\n|---|---|\n| One session at a time, terminal chaos at 3+ projects | **Multi-project tabs**, parallel agent sessions, red-dot inbox, desktop notifications |\n| Image attachments are awkward | Drop / paste images straight into chat |\n| \"What was I debugging yesterday?\" | Cmd+K cross-project session browser, pinning, forking |\n| Agent can't reach your browser / DB | **Smart Bubbles**: Chrome, PostgreSQL, MySQL, Redis — drivable by the agent |\n| Reading an unfamiliar repo means a 90-min file-tree scavenger hunt | **Code Map** chip view — caller / callee pins, click to walk the call graph |\n| Reviewing AI output is friction | **LAN-shared review pages**, line-level comments, send any comment back as AI context |\n| Same \"do X but don't change code\" prompt every day | **Slash modes** `/qa /fx /review /commit` + custom `~/.claude/commands/*.md` |\n| No automation hooks | One-time / interval / cron-based **scheduled tasks** |\n| \"Cloud relay\" trust concerns | **Fully local**. No telemetry. No API key beyond what `claude` already has. |\n\n## Features\n\n### Agent — AI chat that scales\n\n- Powered by the **official Claude Agent SDK** — zero extra API key setup\n- **Multi-project concurrent sessions** with desktop notifications and red-dot badges\n- Session **pinning, forking**, cross-project session browser (Cmd+K)\n- `!command` prefix to run shell from chat — output piped back as context\n- Image attachments, code references, token usage tracking\n\n### Explorer — Code \u0026 files\n\n- **4-tab file browser**: Directory · Recent · Git Changes · Git History\n- Syntax highlighting (Shiki) with **Vi mode** editing\n- Git **blame**, diff view, branch switching, **worktree** management\n- **LSP integration** — go to definition, find references, hover info\n- **Code Map** — every function as a chip with caller / callee pins; click to walk the call graph. Multi-language: TS/JS, Python, Go, Rust. No LSP, no project setup, works offline.\n- Fuzzy file search (Cmd+F), JSON viewer, Markdown preview\n\n### Console — Terminal \u0026 smart Bubbles\n\n- Full **xterm.js** terminal with shell integration\n- 🌐 **Browser Bubble** — control Chrome via accessibility tree (click, type, navigate, screenshot, network)\n- 🐘 **PostgreSQL Bubble** — browse schema, run queries, export\n- 🐬 **MySQL Bubble** — browse databases \u0026 tables, run queries\n- 🔴 **Redis Bubble** — browse keys, inspect values, execute commands\n- Drag-to-reorder, grid / maximized layout, per-tab env vars \u0026 shell aliases\n\n### Code Review — LAN-shared, no SaaS\n\n- LAN-shareable review pages — **teammates need zero install**\n- Line-level comments with reply threads\n- **Send any comment back to AI** as context for an automated fix\n- Red-dot badges keep unread feedback visible across projects\n\n### Slash modes — change the agent's posture\n\n- `/qa` — **Clarify-only**: restate, ask back, never code\n- `/fx` — **Diagnose-only**: bug evidence chain, never edit\n- `/review` — read the diff, write notes, no rewrites\n- `/commit` — stage + draft a message in your repo's style + commit\n- **Custom**: drop any `*.md` into `~/.claude/commands/` or `./.claude/commands/` → instant slash command\n\n### Scheduled tasks — Cron for AI\n\n- One-time, interval, or **cron** scheduling\n- Pause / resume, reorder, track results across projects\n\n### Skills — extensibility\n\n- Drop in any `SKILL.md` to teach the agent a new trick\n- Invoke with `/skill-name` from chat\n- All managed from a single Skills sidebar\n\n## Use cases\n\n- **Solo dev, multi-repo:** \"I have a refactor running in API, tests writing in Web, and a bug investigation in Pipeline — all at once, all visible.\"\n- **Day one in an unfamiliar repo:** Open it in Code Map, click through caller/callee pins, walk the auth flow in five clicks instead of a 90-minute file-tree scavenger hunt.\n- **Two-person team:** Senior reviews via LAN-shared review page, no GitHub PR round-trip needed for in-progress work.\n- **Reviewing AI-generated PRs:** Switch the changed files into Code Map — changed functions are highlighted with their callers / callees still drawn around them, so blast-radius is one click away.\n- **Full-stack chore mode:** `/fx` in one tab on a backend bug, `/review` in another on the frontend diff, `/commit` to wrap up — three slash modes, three different agent postures.\n- **AI-driven QA:** Browser Bubble + scheduled task = \"every night at 2 AM, run this UI smoke flow and post a summary\".\n- **Privacy-sensitive code:** runs on your laptop, talks only to the Claude API your `claude` CLI is already configured with. No telemetry, no relay.\n\n## Try online\n\nNo install, no AI chat (read-only sandbox, 5 min):\n\n[![Try Online](https://img.shields.io/badge/Try%20Online-cocking.cc%2Ftry-12a594?style=for-the-badge)](https://cocking.cc/try)\n\n## Prerequisites\n\n- **Node.js ≥ 20** — [nodejs.org](https://nodejs.org/)\n- **Claude Code** — [docs.anthropic.com/en/docs/claude-code](https://docs.anthropic.com/en/docs/claude-code)\n- **Git** — for git features (blame, diff, worktree, etc.)\n- **Chrome** *(optional)* — for Browser Bubble; install the bundled extension from `~/.cockpit/chrome-extension`\n\n## Install\n\n```bash\nnpm install -g @surething/cockpit\ncockpit                # start cockpit → http://localhost:3457\ncockpit .              # open current dir as a project\ncockpit ~/my-project   # open specified dir\ncockpit -h             # help\n```\n\n\u003e Both `cockpit` (full name) and `cock` (short alias) ship with the package — use whichever you prefer. Docs and examples use `cockpit`; existing muscle memory keeps working.\n\n### From source\n\n```bash\ngit clone https://github.com/Surething-io/cockpit.git\ncd cockpit\nnpm install\nnpm run setup       # build + npm link (registers `cockpit` and `cock`)\n```\n\n## CLI\n\n```bash\ncockpit browser \u003cid\u003e snapshot      # capture accessibility tree\ncockpit browser \u003cid\u003e click \u003cuid\u003e   # click element\ncockpit terminal \u003cid\u003e exec \"ls\"    # execute command\ncockpit terminal \u003cid\u003e output       # get terminal output\n```\n\n## Comparison\n\n| | Raw Claude Code CLI | IDE plugin (Cursor, Continue) | Aider TUI | **Cockpit** |\n|---|---|---|---|---|\n| Multi-project parallel | tmux required | multi-window | one at a time | **first-class** |\n| Cross-project search | grep | per-window | local | **Cmd+K** |\n| Browser / DB control | ❌ | usually ❌ | ❌ | **✅ Bubbles** |\n| Code review surface | git tools | PR provider | git | **LAN-shared** |\n| Slash modes | manual | per-plugin | yes | **`/qa /fx /review /commit` + custom** |\n| Local-only / no cloud relay | ✅ | varies | ✅ | **✅** |\n| Day-1 SDK features | ✅ | wait | varies | **✅ official SDK** |\n| Open source | ✅ | mostly ❌ | ✅ | **✅ MIT** |\n\nRead the long version: [Claude Code GUI: CLI vs Cockpit vs IDE plugins](https://cocking.cc/en/blog/claude-code-gui-comparison/)\n\n## Read more\n\n- 📖 [Read code as a map, not a tree](https://cocking.cc/en/blog/read-code-as-a-map/)\n- 📖 [How to run 5 Claude Code sessions in parallel](https://cocking.cc/en/blog/parallel-claude-code-sessions/)\n- 📖 [Slash modes in Claude Code: /qa /fx /review /commit](https://cocking.cc/en/blog/slash-modes-claude-code/)\n- 📖 [Full blog](https://cocking.cc/en/blog/)\n- 📋 [Changelog](https://cocking.cc/en/changelog/)\n\n## Development\n\n```bash\nnpm run dev         # dev server → http://localhost:3456\nnpm run build       # production build\nnpm run setup       # build + npm link\nnpm run lint        # ESLint\n```\n\n## Tech stack\n\nNext.js 16 · React 19 · TypeScript · TailwindCSS · xterm.js · Shiki · i18next · Claude Agent SDK\n\n## Contributing\n\nIssues and PRs welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) and [GUIDE.md](GUIDE.md).\n\n## License\n\n[MIT](LICENSE) © Surething\n\n---\n\n\u003csub\u003eIf Cockpit saved you 10 minutes today, a ⭐️ on GitHub is the cheapest thank-you we know.\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurething-io%2Fcockpit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurething-io%2Fcockpit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurething-io%2Fcockpit/lists"}