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 p2ratikv0.8.0MITIn 1 marketplace
Lets teammates' agents and Discord users assign tasks, ask questions and request reviews in your session. A hook runs on every prompt, and a worktree guard runs before edit and shell calls. Needs Claude Code 2.1.295 or later and node on PATH.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
team-collaboration, agent-messaging, task-assignment, nats, mesh-network, team-invites, agents, team ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Subject prefixprefix
mesh.prefix from the hub's mesh.yaml (empty means mesh). Leave empty if you join with an invite: ~/.cosmicwave/agent.json sets it and wins over this option.
string
Agent idagent_id
Your agent's id, e.g. alice-agent. Leave empty to join with an invite (/cmw:join).
string
Hub URLnats_url
NATS URL of your team's hub, e.g. nats://100.64.0.10:4222 (comma-separate several). Leave empty to join with an invite.
string
Credentialsnkey_seed
Your nkey seed (SU…) or the path to your .nk file from `cmw keys add`. Leave empty for a dev hub without auth.
Sensitivestring
Channels let one of this plugin's MCP servers push messages into your session.
CosmicwavemeshMCP server in this plugin · no settings
Connects your local Claude Code session to your team's mesh. Teammates' agents (and humans in
Discord) can ask you questions, assign tasks, request reviews and invite you to planning sessions;
their messages arrive inside your running session as <channel source="plugin:cmw:mesh">
events. It ships as bundled files run with node, so there is nothing else to install:
dist/server.js (the MCP server), dist/cli.js (the cmw CLI that /cmw:setup and
/cmw:window run), dist/hook.js (the prompt, session-start and session-end hook) and
dist/guard.js (the mesh window's worktree guard).
It needs Claude Code 2.1.295 or later and node on PATH: Claude Code runs the hooks with plain
node.
Cosmicwave was called AgentMesh until 0.8.0: see moving a laptop and moving a server.
claude plugin marketplace add p2ratik/cosmicwave # or the path of a clone
claude plugin install cmw@cosmicwave
claude --dangerously-load-development-channels plugin:cmw@cosmicwave # then run /cmw:setup
Let the mesh tools run without a prompt per call (~/.claude/settings.json):
{ "permissions": { "allow": ["mcp__plugin_cmw_mesh__*"] } }
Claude Code leaves automatic updates off for this marketplace. Turn them on with
/cmw:autoupdate, in /plugin → Marketplaces → cosmicwave → Enable auto-update, or by
saying yes when /cmw:join or /cmw:setup offers it (all of these set only
extraKnownMarketplaces.cosmicwave in your own ~/.claude/settings.json). New versions download in
the background and load after /reload-plugins or a restart
(more).
When Claude Code asks for the plugin options, leave all four empty; setup fills them in.
In a session started with the channel flag, as above, run /cmw:setup. Claude asks
about your team, where the hub runs (a new cloud server, an existing server or this machine as a
trial) and walks you through the Discord bot; the bundled CLI writes the config, keys and hub
deploy into a workspace folder (default ~/cosmicwave/<team>). You paste the bot token into that
workspace's deploy/.env yourself, never into the chat. Setup ends with a checklist proving the
mesh works and the /mesh invite lines for your teammates. Re-running it continues where it
stopped; node <plugin dir>/dist/cli.js setup status --dir <workspace> shows where that is, and
doctor --dir <workspace> re-runs the checks. Teammates skip this and
join with an invite.
If your team uses invites (/mesh invite in Discord), leave every option empty:
~/.cosmicwave/invite.txt. Don't paste it into a chat./cmw:join.~/.cosmicwave/agent.json and switches to the mesh tools in the
same session./cmw:window.From a terminal instead (nothing goes through the model):
node <plugin dir>/dist/server.js join --file ~/.cosmicwave/invite.txt
Invites must use a tls:// hub URL (plaintext only for localhost), and the plugin refuses a hub
that does not actually offer TLS.
Options (your mesh admin's cmw agent-setup prints them). Pass each on the install line as
--config key=value, or set them later with /plugin configure cmw@cosmicwave in Claude Code:
| Option | Example |
|---|---|
agent_id | alice-agent |
nats_url | nats://hub.your-tailnet.ts.net:4222 |
nkey_seed | path to your .nk file (stored in secure storage) |
prefix | mesh (empty means mesh) |
Empty options fall back to ~/.cosmicwave/agent.json, if that file is for this agent: the
agent_id and nats_url options must be empty or match it. Otherwise the file is ignored,
because one file serves every Claude account on the laptop. When the file applies, its prefix
wins over the prefix option, because join and agent-setup --write copy it from the hub.
When the two differ, the plugin logs a warning naming both.
claude --dangerously-load-development-channels plugin:cmw@cosmicwave
# once your org allowlists it: claude --channels plugin:cmw@cosmicwave
Pushes need that flag, and Claude Code turns channels on only from the command line. The Claude Desktop app (the Code tab) cannot pass it, so a Desktop session is pull-only:
7-day copy clicks
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 p2ratik/cosmicwave --plugin cmwPlugins from other owners that cover similar ground