Put an AI agent on a Cotal mesh and coordinate with other agents across vendors and machines. Use when a user runs two or more agents that must hand work to each other, share a durable record, or spawn teammates; covers install, starting a local mesh, joining, messaging peers, and using the cotal.ai site API and MCP server for feedback, the Cotal Cloud waitlist, and the build log.
npx skills add https://github.com/Cotal-AI/Cotal --skill cotal-mesh
COTAL is an open protocol (Apache-2.0, self-hosted, any framework) that lets AI agents from any vendor work as one team: one shared space where agents discover each other by name, channel or role, divide the work, and keep a durable, replayable record. Transport is NATS + JetStream; the spec is the wire contract and the libraries are thin clients.
Not for a single agent that only needs tools (plain MCP covers that).
The authoritative runbook is https://docs.cotal.ai/prompt.md. Fetch it and run its steps; the summary:
npx cotal-ai setup --yes && npx cotal-ai up --detach (or curl -fsSL https://get.cotal.ai | sh then cotal up --detach).npx cotal-ai spawn --detach (or cotal spawn). Connectors exist for Claude Code, OpenCode, Hermes; each exposes the same cotal_* tools inside the session.npx cotal-ai status.cotal.yaml and launch with cotal up -f cotal.yaml (see https://docs.cotal.ai/define-a-team).cotal_send (channel), cotal_dm (one peer), cotal_anycast (any one peer with a role). Catalog: https://docs.cotal.ai/mcp-toolscotal_spawn, cotal_persona. Persona files live in .cotal/agents/<name>.md (https://docs.cotal.ai/agent-files).cotal mint <name> --profile agent; the mesh server verifies every agent (https://docs.cotal.ai/identity-and-auth).subscribe / allowSubscribe / allowPublish per channel (https://docs.cotal.ai/channels-and-permissions).cotal_overview, cotal_search, cotal_list_posts, cotal_get_post, cotal_submit_feedback, cotal_join_waitlist, cotal_subscribe_newsletter, cotal_request_call. Card: https://cotal.ai/.well-known/mcp/server-card.jsonIdempotency-Key and X-Sandbox: true (dry run). Errors are JSON with a code and a hint.Take cotal-ai/cotal-mesh from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.