multi-session-collab

multi-session-collab is a skill for Claude Code, Codex from ForceInjection/forceinjection.github.io. It costs 145 tokens per session (1,297 once invoked), scanned A, a copy of multi-session-collab, Apache-2.0.

A workflow for coordinating several Claude Code sessions with separate roles such as reviewer, modifier, tester, and judge. It describes message rules, task cards, reports, and a final decision process.

In plain words
What is it for?
Use it to organize code review, changes, testing, and approval across multiple sessions or agent teams.
Why use it?
It gives multi-session work a repeatable structure instead of relying on ad hoc messages between terminal windows. It also distinguishes this from using parallel agents inside one session.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Use it to organize code review, changes, testing, and approval across multiple sessions or agent teams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forceinjection/forceinjection.github.io/multi-session-collab
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 ForceInjection/forceinjection.github.io --skill multi-session-collab
Clone the repo
git clone --depth 1 https://github.com/ForceInjection/forceinjection.github.io

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 multi-session-collab

README.md
[![agentmods](https://agentmods.dev/badge/skills/forceinjection/forceinjection.github.io/multi-session-collab/github.svg)](https://agentmods.dev/skills/forceinjection/forceinjection.github.io/multi-session-collab)
Your own site
<a href="https://agentmods.dev/skills/forceinjection/forceinjection.github.io/multi-session-collab"><img src="https://agentmods.dev/badge/skills/forceinjection/forceinjection.github.io/multi-session-collab/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 multi-session-collab

Your own site · 80×15
<a href="https://agentmods.dev/skills/forceinjection/forceinjection.github.io/multi-session-collab"><img src="https://agentmods.dev/badge/skills/forceinjection/forceinjection.github.io/multi-session-collab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 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 97% copy Near-identical to another mod 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.00145 $0.01297
Opus 5.5 $0.00058 $0.00519
Sonnet 5.5 $0.00029 $0.00259
Haiku 4.5 $0.00015 $0.00130

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

Security

Grade A, and why

multi-session-collab 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 23d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/print-setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

97% identical to multi-session-collab — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

08_agentic_system/agent_skills/multi-session-collab/SKILL.md · 71 lines

How it starts

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

多会话协作(评审 / 修改 / 测试 / 裁决)

一句话:把「几个人肉传话的 Claude 窗口」组织成有角色、有协议、有裁决的多会话流程。

何时用 / 不用

用:

  • 用户要开多个 CLI 窗口分工(评审、修改、测试),并要一个裁决者
  • 需要跨会话消息协议、judge rubric、质量门禁
  • 要把「评审 → 修改 → 测试 → 裁决」固化成可重复流程

不用:

  • 单会话内的并行子任务 → 用后台 subagent(Agent 工具)
  • 一次性短任务 → 多开会话只会把协调成本翻倍
  • 只是远程盯屏 → Remote Control / Desktop

先问三个问题(选路线)

  1. 要保留多个窗口?→ 跨会话消息(原生,零配置)
  2. 接受合并到一个窗口?→ Agent Teams(实验,需 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1)
  3. 同一流程反复跑?→ Dynamic Workflow(脚本化,对抗式核验)

产品化给别人用,再看 Agent SDK。MCP 不是会话通信方案(工具协议,无 agent-to-agent 能力);除非需要跨重启持久化任务板或非 Claude 客户端接入,不要自建 MCP 总线。

操作流程

A. 跨会话消息(多窗口)

  1. 命名四个会话:claude --name reviewer / modifier / tester / judge(或会话内 /rename);也可以 claude --bg 起后台会话当 worker(见 setup.md)
  2. 定入站策略:按 references/setup.md 的权限矩阵设置 crossSessionInbound;无人值守的 -p worker 必须设 accept,否则消息进不来
  3. 下发任务卡、收回回报:模板与 findings schema 见 references/protocol.md
  4. judge 按 rubric 出三档裁决:通过 / 打回(附整改单)/ 升级人工
  5. 排错查 setup.md 的故障表;启动命令与设置清单:bash scripts/print-setup.sh
  6. 纪律:不轮询(用 notify_when_idle);消息是纯文本,文件要写路径;@ 引用在接收侧只是字面文本

B. Agent Teams(单窗口编队,实验)

  1. 设 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1;副作用:带 name 启动的 subagent 会自动变成 teammate
  2. 按角色卡组队:reviewer 只读 / modifier 可写 / tester 执行 / lead 即 judge(禁止 judge 改代码)
  3. 共享任务列表 + mailbox;teammate 完成自动把最终答案发给 lead
  4. 门禁:TeammateIdle / TaskCompleted hooks(退出码 2 阻断)
  5. 限制:仅交互模式、无 worktree 隔离(按文件/目录分区)、无 resume、官方建议 3–5 人

C. Dynamic Workflow(可重复流水线)

  1. 用 agent() / parallel() / pipeline() 编排,agent() 带 schema 输出 JSON
  2. 评审 → 逐条对抗核验 → judge 合并,只保留经得起反驳的 findings
  3. 限制:运行中无人工介入、脚本无文件系统/shell、默认 16 并发;可保存为 / 命令复用

铁律(安全边界)

  • 跨会话消息不能代批权限、不能改配置或 CLAUDE.md、斜杠命令不执行
  • judge 不改代码(独立性);reviewer 只读;角色按文件分区防覆盖
  • 每个 agent 独立计费;teams / workflows 在 CLI 里没有默认硬性预算上限,人数与阶段数要克制
  • 裁决必须可检查:打回附「文件行 + 验收标准」,否则下一轮修改没有终点

快速参考

Read the full file on GitHub · 71 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago Changed 9b4618c2b0cd
  2. 28d ago First seen · 71 lines · 145 tokens per session scan A c739099c193d

Subscribe to this mod's changes

multi-session-collab is a skill published in the GitHub repository ForceInjection/forceinjection.github.io (112 stars, last pushed today), licensed Apache-2.0. It adds 145 tokens to every session and 1,297 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to multi-session-collab, differing in 0 lines, and is treated as a copy.

Related

multi-session-collab compared with skills from other repositories

multi-session-collab next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multi-session-collabForceInjection/forceinjection.github.ioSkill112todayApache-2.0A145Claude Code, Codex
openmemoryCaviraOSS/OpenMemorySkill4.6k2d agoApache-2.0A96Claude Code, Codex
pr-video-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A61Claude Code, Codex
dependency-rollup-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A67Claude Code, Codex
sre-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A55Claude Code, Codex
pr-review-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A57Claude Code, Codex
reddit-signal-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A54Claude Code, Codex