agent-fleet: Skill for Claude Code

.agents/skills/mesh-chat-sop/SKILL.md

mesh-chat-sop is a skill for Claude Code, Codex from metahub-tech/agent-fleet. It costs 0 tokens per session (1,245 once invoked), scanned A, original, Apache-2.0.

A procedure for sending messages between agents through StarFlow. It explains the available endpoints, how to choose a foreground or background session, and how to handle busy or offline recipients.

In plain words
What is it for?
It is for contacting another agent, choosing its primary or background endpoint, replying to a specific message, linking communication to a task, and handling delivery failures.
Why use it?
It reduces delivery mistakes when another agent has more than one session or cannot accept a message immediately.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: installed under .agents/ (shared by several agents); built for openclaw.

This is metahub-tech/agent-fleet's own configuration. It tells Claude Code and Codex how to work on agent-fleet itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-fleet configures →

Reuse

Borrowing it

Nothing to install: this file belongs to metahub-tech/agent-fleet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/metahub-tech/agent-fleet/main/.agents/skills/mesh-chat-sop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/metahub-tech/agent-fleet

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 mesh-chat-sop

README.md
[![agentmods](https://agentmods.dev/badge/skills/metahub-tech/agent-fleet/mesh-chat-sop/github.svg)](https://agentmods.dev/skills/metahub-tech/agent-fleet/mesh-chat-sop)
Your own site
<a href="https://agentmods.dev/skills/metahub-tech/agent-fleet/mesh-chat-sop"><img src="https://agentmods.dev/badge/skills/metahub-tech/agent-fleet/mesh-chat-sop/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 mesh-chat-sop

Your own site · 80×15
<a href="https://agentmods.dev/skills/metahub-tech/agent-fleet/mesh-chat-sop"><img src="https://agentmods.dev/badge/skills/metahub-tech/agent-fleet/mesh-chat-sop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,245 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.01245
Opus 5.5 $0.00000 $0.00498
Sonnet 5.5 $0.00000 $0.00249
Haiku 4.5 $0.00000 $0.00125

Measured 7d ago against content hash 47b024437a54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mesh-chat-sop scanned grade A with 0 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/mesh-chat-sop/SKILL.md · 88 lines

How it starts

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

Skill · mesh-chat-sop(StarFlow 跨智能体协同)

2026-11-01 模型改造:connect(电话模式)已取消。端点由发起方用 --channel 选择。

一、 端点模型(三层,勿混用)

层 含义 取值
runtime 引擎 dsh / claude-code / openclaw
endpoint 联系方式 primary(唯一常驻)+ shadow(0..N,无头并发)
capability 能否开分身 supports_shadow: true/false
  • primary:物理 tmux 前台窗格或 headless 常驻会话,一次一个 turn,turn_timeout 默认 30 分钟
  • shadow:后台无头,可并发(上限 max_concurrent,默认 5),零打扰对端前台

二、 怎么发

starflow chat send --to agent:<x> "内容"                    # 默认 auto(有 shadow 走 shadow)
starflow chat send --to agent:<x> --channel primary "内容"  # 显式投前台
starflow chat send --to agent:<x> --channel headless "内容" # 显式投 shadow
starflow chat send --to agent:<x> --reply-to <msgId> "内容" # 显式回复某条
starflow chat send --to agent:<x> --relate-task <taskId> "内容"  # 关联工单(结论必须回流)

三、 三种失败码与应对

code 含义 exit 应对
busy 对方 primary 忙 3 看 has_shadow:有就改发 shadow;没有就等 retry_after 秒
shadow_unsupported 对方不支持分身 2 消息已落其 inbox,不会注入其唯一 session(保护其上下文);改用 task comment
endpoint_offline 对方离线 0 消息已入持久化信箱,等它上线

busy 的 payload 有八字段:

{"reason":"primary_occupied","busy_since":"...","expected_free_at":"...",
 "occupied_by":{"agent":"X","topic":"..."},"has_shadow":true,"shadow_ready":true,
 "retry_after":120,"alternatives":["send_to_shadow","wait","force_if_human"]}

⇒ 别自己猜"等多久",读 retry_after。

四、 Origin-Sticky(回复回哪)

  • 在 tmux 发起 ⇒ 对端回帖强制回传原始发起窗格
  • origin_pane 取自该 agent 自己 profile 的 primary_endpoint.address.pane,不是 $TMUX
  • 服务端做归属校验:origin_pane 不属于发起方 ⇒ 降级 shadow + 落 origin_pane_mismatch 告警,绝不投错窗格

五、 DND(免打扰)

starflow dnd on --reason "深度开发 Task 5~11"   # 只阻断前台注入,headless 照常
starflow dnd off
starflow dnd status
  • 只锁前台,不断通信:DND 生效时 headless 通道照常工作
  • agent 永远无权打断 agent(force_override 只给人类)

六、 会话归档

starflow chat exit --topic <id> --memo "100~200字结构化备忘"
  • 必须带 --memo(服务端 schema 要求 summaryMemo)
  • 归档不动 epoch;下次建新会话才用 epoch = MAX+1(两代共存)
  • 归档后不要再往旧 topic 发

Read the full file on GitHub · 88 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. 7d ago First seen · 88 lines · 0 tokens per session scan A 47b024437a54

Subscribe to this mod's changes

mesh-chat-sop is a skill published in the GitHub repository metahub-tech/agent-fleet (4 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,245 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

mesh-chat-sop compared with skills from other repositories

mesh-chat-sop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mesh-chat-sopmetahub-tech/agent-fleetSkill4todayApache-2.0A0Claude Code, Codex
agent-devicecallstack/agent-deviceSkill5.6kyesterdayMITA132Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.6kyesterdayMITA55Claude Code
ios-simulatorcallstack/agent-deviceSkill5.6kyesterdayMITA69Claude Code, Codex
mitiq-error-mitigationxi-zhao/OpenQuantumSkill755d agoMITA48Claude Code, Codex
quantum-ground-statexi-zhao/OpenQuantumSkill755d agoMITA103Codex
qmclaw-workbenchxi-zhao/OpenQuantumSkill755d agoMITA124Codex