An open API service indexing awesome lists of open source software.

https://github.com/codika-io/clave

A macOS desktop app for managing multiple Claude Code sessions
https://github.com/codika-io/clave

claude claude-code developer-tools electron macos terminal

Last synced: 3 months ago
JSON representation

A macOS desktop app for managing multiple Claude Code sessions

Awesome Lists containing this project

README

          

Clave

**Clave is a macOS desktop app for managing multiple Claude Code sessions.**

Open as many sessions as you need, arrange them side-by-side, and switch between them instantly.

[Features](#features) ยท [Download](#download) ยท [Build from Source](#build-from-source) ยท [Contributing](#contributing)


Clave demo

---

## Download

[**Download the latest version**](https://github.com/codika-io/clave/releases/latest) (macOS Universal โ€” Apple Silicon & Intel) ยท [All releases](https://github.com/codika-io/clave/releases)

Download the `.dmg`, drag to Applications, done.

Auto-updates are built in โ€” once installed, new versions download silently in the background.

## Agent plugin

Clave ships a companion agent plugin ([`codika-io/clave-plugin`](https://github.com/codika-io/clave-plugin)) that lets any Claude Code, Cursor, or other [Open-Plugin-compatible](https://github.com/vercel-labs/open-plugin-spec) coding agent generate `.clave` workspace files for you.

**Install (any Open-Plugin-compatible host โ€” auto-detects Claude Code, Cursor, โ€ฆ):**

```bash
npx plugins add codika-io/clave-plugin
```

**Claude Code native alternative:**

```
/plugin marketplace add codika-io/clave-plugin
/plugin install clave@clave-plugin
```

Both paths produce the same `/clave:create-workspace` skill.

**Usage:** ask your agent something like *"create a clave workspace for this repo with 3 sessions"*. It writes a valid `.clave` file to your chosen path; open it in Clave.

**Updating:**

```bash
npx plugins add codika-io/clave-plugin # re-run to pull latest
```

(Or `/plugin update clave@clave-plugin` in Claude Code native.)

**Uninstalling:** `/plugin uninstall clave@clave-plugin` in Claude Code, or the equivalent in your host.

## Features

- **Multi-session management** โ€” Open unlimited Claude Code sessions, each in its own PTY
- **Session types** โ€” Claude Code (Cmd+N), plain terminal (Cmd+T), or Dangerous Mode (Cmd+D, runs with `--dangerously-skip-permissions`)
- **Session groups** โ€” Organize sessions into color-coded groups with pinned configs and `.clave` files
- **Flexible layouts** โ€” Single, split (2-panel), or grid (4-panel) view modes
- **Searchable sidebar** โ€” Filter sessions by name, folder, or path
- **Task Queue** โ€” Queue up prompts and launch them as new Claude sessions with one click
- **Git panel** โ€” Status, diff viewer, commit history, stage/unstage, commit, push, pull, plus **MagicSync** (pull โ†’ stage โ†’ AI commit message โ†’ commit โ†’ push in one click) and **Git Journey** (visual commit history grouped by push batch)
- **File browser** โ€” Local and remote file trees with syntax-highlighted preview, markdown rendering, and Cmd+P search palette
- **History** โ€” Browse and search past Claude Code conversations, restart any session from history
- **Daily Log** โ€” AI-generated daily summaries of your work, grouped by project, with a week heatmap strip and timeline view
- **Work Tracker** โ€” Daily time tracking with streaks, weekly charts, and break reminders
- **Usage analytics** โ€” Token usage, per-day cost tracking (day/week/month), GitHub-style year-long activity heatmap
- **SSH / Remote sessions** โ€” Connect to remote hosts via SSH for terminal sessions and SFTP file browsing
- **Agent chat panel** โ€” Integrated agent chat via WebSocket connection to OpenClaw
- **Session templates** โ€” Launch pre-configured sessions with saved directories and modes
- **Internationalization** โ€” English and Simplified Chinese UI
- **Keyboard shortcuts** โ€” Cmd+P (file palette), Cmd+E (file tree), Cmd+T (new terminal), Cmd+N (new Claude session), Cmd+D (dangerous mode), Cmd+W (close tab)
- **Dark / Light / Coffee themes** โ€” Full theming for both terminal and UI
- **URL detection** โ€” Detects localhost URLs in terminal output and makes them clickable
- **Native macOS feel** โ€” Hidden inset titlebar with traffic light controls, native notifications
- **Auto-updates** โ€” New versions install automatically on quit via `electron-updater`
- **Signed & notarized** โ€” Passes macOS Gatekeeper without warnings

## Requirements

- macOS (Apple Silicon or Intel)
- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) installed and authenticated

## Build from source

```bash
git clone https://github.com/codika-io/clave.git
cd clave
npm install
npm run dev # development with hot reload
npm run build:mac # build macOS .dmg (requires signing credentials)
```

## Tech stack

[Electron](https://www.electronjs.org/) ยท [React 19](https://react.dev/) ยท [TypeScript](https://www.typescriptlang.org/) ยท [xterm.js](https://xtermjs.org/) ยท [node-pty](https://github.com/microsoft/node-pty) ยท [Zustand](https://zustand.docs.pmnd.rs/) ยท [Tailwind CSS v4](https://tailwindcss.com/) ยท [Framer Motion](https://motion.dev/) ยท [shiki](https://shiki.style/) ยท [simple-git](https://github.com/steveukx/git-js) ยท [ssh2](https://github.com/mscdex/ssh2)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on reporting bugs, suggesting features, and submitting pull requests.

## License

[MIT](LICENSE)