/basemind:basemind-commsfrom basemind
Coordinates multi-agent collaboration on the same repo using basemind's agent_post, agent_inbox, and agent_threads tools for threaded messaging with per-actor read positions.
Ships in basemind. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You may be one of several agents working this repo. Messaging is opt-in and secondary to code
navigation: three MCP tools listed separately from the others, needed only when collaborating:
agent_post, agent_inbox, agent_threads. Post a two-line note when you start a task
and one when you finish; silent agents collide.
| Tool | Does |
|---|---|
agent_post | Send a message: start a thread (subject), reply (reply_to) or post into one (thread). |
agent_inbox | Read unread messages, bodies inline. Reading marks them read. |
agent_threads | List or describe threads; join, leave, invite, archive. |
One id names this checkout's agent (the principal): BASEMIND_AGENT_ID, else comms.agent_id,
else <host>-<repo>-<6 hex>, derived the same way for the MCP server, the CLI and the hooks. The
grammar is [A-Za-z0-9_:-]{1,128}; . is forbidden. Every tool takes an optional as
([a-z0-9_-]{1,32}) to act as the sub-identity <principal>.<name>. A subagent that wants its
own inbox passes as on every call; without it, it shares the parent's read position and its own
posts are never unread for it. In Claude Code the plugin's PreToolUse hook injects a session or
subagent as when you give none. A reply's notices list anything unusual (a rejected id, more
than one live session on the principal, a thread archived by the cap); read them.
subject: agent_post {subject, body, to?, paths?}. The subject is
not a key; two posts make two threads.to a thread is open: any agent in the repository can find and join it. With to
(agent ids, up to 32) it is invitation-only; only the creator's principal and the named
principals are members.paths (up to 16 repository-relative prefixes) scope the thread to a surface; agent_threads
filters by them.reply_to: "t-abcdef.3" (a message id is <thread>.<seq>) to post into that
message's thread.agent_inbox returns the oldest unread messages across your threads, bodies inline, and marks
them read. A body over 4 KiB is cut with truncated: true; {id: "t-abcdef.3"} returns one
message whole.
| Call | Effect |
|---|---|
{} | Unread messages; marks read. more: true means more unread than fit the 16 KiB budget. |
{peek: true} | Same, without marking read. |
{unread: false, thread} | History of one thread (page with cursor). |
{thread} | Unread messages of one thread only. |
{wait_secs: 30} | Wait up to 40 s in the daemon when nothing is unread. Use it to block on a peer, not to poll. |
A marking read takes no cursor; the read position is the cursor. Messages are kept 30 days, at
most 1,000 per thread.
agent_threads with no arguments lists your threads. query (3+ characters) and path also
show the repository's open threads. {thread} describes one (subject, paths, members, no
messages). Add one of join, leave, invite (agent ids) or archive to change it:
join works on open threads of your repository; joining twice changes nothing.invite; nobody can remove another member.peek; a read by id or by thread carries none. Read what is left with {thread}.agent_inbox {peek: true} if you want to look first, or agent_inbox {}; then
agent_threads {query: "…", path: "src/…"} to find an open thread for your surface.agent_post {subject: "starting X", body: "…", paths: ["src/x/"]}, or
agent_post {thread, body} into an existing thread after agent_threads {thread, join: true}.reply_to.done X with the outcome (what changed, what is left).Keep posts concise: a one-line subject, a few sentences of body.
If the tools are missing from your registry, the CLI reaches the same daemon. Flags mirror the
tool fields; --json works on every command.
| Tool call | CLI |
|---|---|
agent_post {body, subject, to, paths} | basemind agent post --body … --subject … --to <id> --paths <p> |
agent_post {body, thread} / {body, reply_to} | basemind agent post --body … --thread <t> / --reply-to <id> |
agent_inbox {…} | basemind agent inbox [--thread --id --unread <bool> --peek --wait-secs --limit --cursor] |
agent_threads {…} | basemind agent threads [--query --path --thread --join --leave --invite <id> --archive --archived] |
| none | basemind agent status (who this checkout acts as, store state, live sessions) |
| none | basemind agent cleanup [--archive <thread>]... (operator: archive any thread, then run a retention sweep) |
Every command takes --as <name>. --announce on inbox is CLI and hook only: it lists front
matter for unread messages without marking them read or returning bodies.
basemind agent status when an id looks wrong: it shows the principal, where it came from,
and the store state.Comms is one capability of basemind; the rest is the indexed context layer. Prefer basemind over
reading files, over grep, and over naked git. See the basemind and basemind-cli skills for
the whole surface, or the dedicated basemind-code-search, basemind-git-history, and
basemind-documents skills.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub goldziher/basemind --plugin basemind10 skills in this plugin
/basemindNavigate large or unfamiliar codebases via the basemind MCP server — outlines, symbol search, reference/caller lookups, commit history, blame, and diffs without reading source files. Reach for it whenever the user asks "where is X defined", "what calls Y", "what changed recently in Z", or whenever you're about to grep or open many files to find structural information./basemind-cliNavigate codebases and manage caches via the basemind CLI — outlines, symbol search, reference/caller lookups, git history, blame, and diffs. For headless scripting, CI, or when driving the CLI more efficiently than interactive MCP calls. Shares the same index as the MCP server./basemind-code-searchFind where code is defined and used without reading files — symbol search, file outlines, references, callers, implementations, dependents, and indexed regex over content. Reach for it whenever the user asks "where is X defined", "what calls Y", "what implements Z", "what's the shape of this file", or whenever you're about to grep or open files to learn structure./basemind-doctorDiagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead. Runs CLI checks (no MCP server required) and gives the client-specific way to reconnect the server./basemind-documentsSemantic search over documents via basemind's RAG store — PDFs, Office, HTML, email, Jupyter notebooks, and images (OCR), with cross-encoder reranking, keyword and named-entity (NER) filters, and per-document summaries. Reach for it whenever the user asks to "search the docs / PDFs", "find where a topic is discussed", or "what does the documentation say about X"./basemind-git-historyExplore git history without shelling out to git — recent commits, commits touching a path, per-line and per-symbol blame, structural diffs across revisions, churn ranking, and a symbol's history over time. Reach for it whenever the user asks "what changed recently", "who last touched this", "when did this symbol change", "what's the diff between these revs", or "where's the churn".2 plugins in one repository ship this exact skill · first indexed Nov 29, 2026
Other plugins' skills for the same job