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.
curl -O https://raw.githubusercontent.com/metahub-tech/agent-fleet/main/.agents/skills/mesh-chat-sop/SKILL.mdgit clone --depth 1 https://github.com/metahub-tech/agent-fleetWrote 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.
[](https://agentmods.dev/skills/metahub-tech/agent-fleet/mesh-chat-sop)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 发
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.
- 7d ago First seen · 88 lines · 0 tokens per session scan A 47b024437a54
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.
mesh-chat-sop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mesh-chat-sopmetahub-tech/agent-fleet | Skill | 4 | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| agent-devicecallstack/agent-device | Skill | 5.6k | yesterday | MIT | A | 132 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.6k | yesterday | MIT | A | 55 | Claude Code |
| ios-simulatorcallstack/agent-device | Skill | 5.6k | yesterday | MIT | A | 69 | Claude Code, Codex |
| mitiq-error-mitigationxi-zhao/OpenQuantum | Skill | 75 | 5d ago | MIT | A | 48 | Claude Code, Codex |
| quantum-ground-statexi-zhao/OpenQuantum | Skill | 75 | 5d ago | MIT | A | 103 | Codex |
| qmclaw-workbenchxi-zhao/OpenQuantum | Skill | 75 | 5d ago | MIT | A | 124 | Codex |