cotal-mesh

cotal-mesh is a skill for Claude Code, Codex from Cotal-AI/Cotal. It costs 89 tokens per session (951 once invoked), scanned C, original, Apache-2.0.

A coordination system for two or more AI agents running on different tools or machines. It lets them discover one another, exchange work, share state, and keep a durable record of their messages.

In plain words
What is it for?
Use it to form an agent team, hand tasks to other agents, keep replayable activity records, or connect agents across local, cloud, and on-premises machines.
Why use it?
It provides shared coordination when several agents need to divide work or pass results between computers, rather than working as isolated processes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Good fit Use it to form an agent team, hand tasks to other agents, keep replayable activity records, or connect agents across local, cloud, and on-premises machines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cotal-ai/cotal/cotal-mesh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cotal-AI/Cotal --skill cotal-mesh
Clone the repo
git clone --depth 1 https://github.com/Cotal-AI/Cotal

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cotal-mesh

README.md
[![agentmods](https://agentmods.dev/badge/skills/cotal-ai/cotal/cotal-mesh/github.svg)](https://agentmods.dev/skills/cotal-ai/cotal/cotal-mesh)
Your own site
<a href="https://agentmods.dev/skills/cotal-ai/cotal/cotal-mesh"><img src="https://agentmods.dev/badge/skills/cotal-ai/cotal/cotal-mesh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cotal-mesh

Your own site · 80×15
<a href="https://agentmods.dev/skills/cotal-ai/cotal/cotal-mesh"><img src="https://agentmods.dev/badge/skills/cotal-ai/cotal/cotal-mesh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00951
Opus 5.5 $0.00036 $0.00380
Sonnet 5.5 $0.00018 $0.00190
Haiku 4.5 $0.00009 $0.00095

Measured 1mo ago against content hash ea745a08744d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

cotal-mesh scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

1. Install and start a local mesh: `npx cotal-ai setup --yes && npx cotal-ai up --detach` (or `curl -fsSL https://get.cotal.ai | sh` then `cotal up --detach`).

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Install and start a local mesh: `npx cotal-ai setup --yes && npx cotal-ai up --detach` (or `curl -fsSL https://get.cotal.ai | sh` then `cotal up --detach`).
skills/cotal-mesh/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

When to use this skill

  • You run two or more AI agents — from the same vendor or different ones (Claude Code, OpenCode, Hermes, Codex, custom frameworks) — that need to hand work to each other, share state, or wake each other up.
  • You need one durable, replayable record of who did what across a fleet, on infrastructure you control (self-hosted, Apache-2.0).
  • You want agents to discover each other by name, channel or role and to spawn their own teammates, without a central orchestrator.
  • Your agents run on different machines (laptops, CI runners, cloud VMs, on-prem) and should behave as one team.

Not for a single agent that only needs tools (plain MCP covers that).

Put yourself on a local mesh

The authoritative runbook is https://docs.cotal.ai/prompt.md. Fetch it and run its steps; the summary:

  1. Install and start a local mesh: npx cotal-ai setup --yes && npx cotal-ai up --detach (or curl -fsSL https://get.cotal.ai | sh then cotal up --detach).
  2. Put an agent on it: npx cotal-ai spawn --detach (or cotal spawn). Connectors exist for Claude Code, OpenCode, Hermes; each exposes the same cotal_* tools inside the session.
  3. Verify: npx cotal-ai status.
  4. Declare a whole team in one cotal.yaml and launch with cotal up -f cotal.yaml (see https://docs.cotal.ai/define-a-team).

Coordinate from inside a session

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 48 lines · 89 tokens per session scan C ea745a08744d

Subscribe to this mod's changes

cotal-mesh is a skill published in the GitHub repository Cotal-AI/Cotal (328 stars, last pushed today), licensed Apache-2.0. It adds 89 tokens to every session and 951 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-08.

Related

Other skills, from other repositories

quiz-generation

Educational assessment expert that generates high-quality multiple-choice quizzes from any provided text. Creates exactly 10 MCQs with 4 options each, correct answer identification, and concise explanations.

GetBindu/Bindu · 2 tokens

question-answering

General-purpose question answering capability powered by OpenRouter. Access 300+ LLM models (GPT-4o, Claude, Llama, Gemini, Mistral, etc.) through a single unified API. Handles conversational queries, explanations, code generation, analysis, and creative writing.

GetBindu/Bindu · 3 tokens

research

Research and information retrieval capability powered by LangChain.js. Uses GPT-4o to answer questions, summarize information, provide detailed analysis, and generate structured research outputs.

GetBindu/Bindu · 1 tokens

agentmail-v2

AgentMail — Email for AI Agents workflow skill. Use this skill when the user needs Email infrastructure for AI agents. Create accounts, send/receive emails, manage webhooks, and check karma balance via the AgentMail API and the operator should preserve the upstream workflow, copied support files, and provenance before…

diegosouzapw/awesome-omni-skills · 70 tokens

agent-orchestrator

Use when building an agent system — an orchestrator, an LLM tool, a tool-using chatbot, an AI pipeline — or metering and billing the LLM access it burns. Covers tool-calling loops, human-checkpoint pipelines, provider routing, fallback/retry, memory architecture, retrieval and decay, context budgets, sub-agent…

ssheleg/agent-stack · 242 tokens

mcp-protocol

An open communication standard for connecting AI agents to external tools and data. MCP servers can provide callable tools, readable resources, or reusable instruction templates through a common interface.

LiHongwei-cn/lihongwei-cn · 25 tokens