Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By akramdotshv1.3.1MITIn 1 marketplace
Lets parallel Claude Code sessions DM each other so context moves between terminals without copy-paste. Requires a claude.ai login rather than an API key, Bun and macOS; it claims all data stays on your machine.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Peer-to-peer direct messaging between Claude Code sessions.
Running multiple Claude Code sessions in parallel — a planner, a backend worker, a test runner — means context constantly needs to move between terminals. The default workflow is copy-paste: pull text from one session, switch windows, paste into another, lose formatting, lose thread.
cc-dm lets any session DM any other session on the same machine. Messages are delivered as native <channel> events within 500ms via the Claude Code Channels protocol, landing directly in the receiving session's context window.
Session A (planner) ──┐
Session B (backend) ──┼──→ ~/.cc-dm/bus.db (SQLite WAL)
Session C (tests) ──┘ ↑
500ms poll per session
→ <channel> event pushed into context
Each session spawns a cc-dm channel server via stdio. The server connects to a shared SQLite database at ~/.cc-dm/bus.db. When a session sends a message, it writes a row to the bus. Every other session's server polls the bus every 500ms, picks up messages addressed to it, and pushes them as <channel> events into its parent session. No daemon, no ports, no network. Just a shared file and a poll loop.
Start a new Claude Code session and enter the following commands:
/plugin marketplace add cc-dm-marketplace
/plugin install cc-dm
Restart Claude Code. The cc-dm tools and skills will be available in all sessions.
Via npm (requires Bun):
npm install cc-dm
The npm package contains the full plugin source. After installing, follow the Quick Start above to register the plugin with Claude Code.
Note: cc-dm is a Claude Code channel plugin, not a standalone library. The npm package exists for discoverability and as a distribution mirror — the primary install method is the plugin marketplace above.
Via curl:
curl -fsSL https://raw.githubusercontent.com/Akram012388/cc-dm/main/install.sh | bash
Add this to your ~/.zshrc or ~/.bashrc:
alias cc-dm='claude --dangerously-skip-permissions --dangerously-load-development-channels plugin:cc-dm@cc-dm-marketplace'
Then launch sessions with:
CC_DM_SESSION_NAME=planner CC_DM_SESSION_ROLE=orchestrator CC_DM_SESSION_PROJECT=myapp cc-dm
Or just cc-dm and register interactively via /cc-dm:register.
Note:
--dangerously-skip-permissionsbypasses all tool permission prompts for the session, not just cc-dm's. Use with awareness.
Start a session without the alias:
CC_DM_SESSION_NAME=planner CC_DM_SESSION_ROLE=orchestrator CC_DM_SESSION_PROJECT=myapp \
claude --dangerously-load-development-channels plugin:cc-dm@cc-dm-marketplace
Once inside, use natural language:
"Register this session as planner"
"DM the backend session: auth spec is ready"
"Who is active in cc-dm?"
"Broadcast to all sessions: wrapping up in 10"
Open two or more terminals and launch Claude Code with different session identities:
Terminal 1 — Planner:
CC_DM_SESSION_NAME=planner CC_DM_SESSION_ROLE=orchestrator CC_DM_SESSION_PROJECT=myapp claude --dangerously-load-development-channels plugin:cc-dm@cc-dm-marketplace
Terminal 2 — Backend:
CC_DM_SESSION_NAME=backend CC_DM_SESSION_ROLE=worker CC_DM_SESSION_PROJECT=myapp claude --dangerously-load-development-channels plugin:cc-dm@cc-dm-marketplace
Or skip the env vars and register interactively using /cc-dm:register after launch.
Sessions can now message each other directly, broadcast to all, and coordinate work across terminals.
Set these environment variables before launching:
CC_DM_SESSION_NAME — your display name (e.g. planner, backend, tests)CC_DM_SESSION_ROLE — your role (e.g. orchestrator, worker, reviewer)CC_DM_SESSION_PROJECT — optional project tag (e.g. myapp, api-server)See also: Message metadata, Permission relay, Access control for optional env vars that enable advanced features.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub akramdotsh/cc-dm --plugin cc-dmPlugins from other owners that cover similar ground