mcode
CLAUDE.md8 starsChanged 8 months agoApache-2.0View on GitHub
mcode is a desktop IDE for managing multiple autonomous Claude Code sessions simultaneously. It's MacOS first, but with plans to extend to other OS in the future. The core hypothesis is that multi-tasking is essential part of the SWE flow in the agentic coding era, and the IDE shall facilitate a SWE to work with a large number of agents efficiently and easily, while maintaining a good sense of control and be able to get into the flow. - For…
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
mcode is a desktop IDE for managing multiple autonomous Claude Code sessions simultaneously. It's MacOS first, but with plans to extend to other OS in the future.
The core hypothesis is that multi-tasking is essential part of the SWE flow in the agentic coding era, and the IDE shall facilitate a SWE to work with a large number of agents efficiently and easily, while maintaining a good sense of control and be able to get into the flow.
Principles
- For every new feature, it shall be exposed to coding agent like Claude Code such that it can be verified automatically. Use composition of existing capabilities when possible, otherwise build new capabilities which can be combined with existing capabilities to automate the feature verification.
Tech Stack
- App shell: Electron 41.x + electron-vite
- Frontend: React 19 + TypeScript 5.9+
- Terminal: node-pty (spawning) + xterm.js with WebGL addon (rendering)
- Tiling layout: react-mosaic-component
- State management: Zustand
- Database: better-sqlite3 (SQLite, WAL mode)
- Styling: Tailwind CSS v4 (CSS-based config, no tailwind.config.ts)
- Packaging: electron-builder
Conventions
- One React component per file, PascalCase filenames matching component name
- Zustand store files suffixed
-store.ts - Shared types in
src/shared/types.ts, constants insrc/shared/constants.ts - Database tables: plural snake_case (
sessions,task_queue,layout_state) - SQLite migrations in numbered SQL files (
db/migrations/001_initial.sql, etc.) - Tailwind v4: use
@themedirectives inglobal.cssfor design tokens, not a JS config file - Terminal font: JetBrains Mono 13px, ligatures disabled; UI font: Inter or system, 13px
Best practices
- Use subagents for large or parallel tasks: Offload token-heavy exploration or independent parallel subtasks to subagents to preserve the parent context window.
- Testing guidelines are in
.claude/rules/testing.md(auto-loaded by Claude Code).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

