relay

Featured

Read another live agent session's output with `ccmux last`, or relay one session's last response into another with `ccmux handoff`. Use when asked to read, check, or act on another agent session's output, whichever agent it is ("what did codex just say", "read cursor's review", "check what opencode found"), to move output between existing sessions ("give claude's answer to codex", "hand off to pi"), for any request naming `ccmux last` or `ccmux handoff`, or when YOU receive a message beginning `[ccmux handoff]`. For launching NEW worker agents and collecting their results, use the dispatch skill instead.

AI & Automation 166 stars 28 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Reading and relaying between agent sessions The ccmux daemon tracks live agent sessions in tmux panes and reads their transcripts. The two commands here move output between sessions that **already exist**; launching _new_ workers is the dispatch skill's job. The choice is one question: **does the content need to be in your context?** | Motion | Command | Payload goes | | ------------------- | ------------------------------ | -------------------------------------- | | **Read-and-reason** | `ccmux last <ref> [--turns N]` | to your stdout, i.e. into your context | | **Relay** | `ccmux handoff <from> <to>` | daemon-side, straight into the target | Relay with `handoff` whenever you are only a router: a peer's 8 KB answer costs one command line instead of passing through your context twice. Read with `last` only when you actually have to reason about the content (judge it, merge answers, decide what happens next). ```bash # Read: pull a peer's last response into your context (stdout is pure payload, so it pipes) ccmux last codex ccmux last codex --turns 3 # widen: N assistant turns + the prompts between them ccmux last <id> --json # the structured response, incl. how the ref resolved # Relay: move it without ever holding it ccmux handoff codex claude --note "failing test + repro, take it from here" ccmux handoff self codex --note "..." # hand off YOUR OWN conclusion ccm...

Details

Author
epilande
Repository
epilande/ccmux
Created
2 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

dispatch

Orchestrate other AI coding agents (Claude Code, Codex, Cursor, OpenCode, Pi, Gemini, or any custom agent) by driving them through `ccmux invoke`. ccmux is the cross-harness substrate; YOU are the router. Use this skill when a prompt asks you to coordinate, delegate, fan out, or pipeline work across multiple agents, e.g. "plan with claude, implement with codex, search with gemini", "run these three agents in parallel and combine the results", "delegate this long implementation to codex while I keep working", "have another agent do X and summarize it back", or any request to use `ccmux invoke` to launch and watch worker agents. The user supplies the agent-per-task policy in their prompt; this skill teaches the mechanics of firing, polling, joining, cancelling, and reading worker output, plus when to hand a job off to `ccmux spawn` (a live, human-driven pane) instead of invoking it.

166 Updated today
epilande
AI & Automation Listed

agent-messaging-session-relay

Use when sending a message to another Codex/Claude session or telling an agent in another tmux pane a status, finding, instruction, or schema change.

2 Updated 6 days ago
tony
AI & Automation Listed

agent-relay

薪尽火传 / Agent Relay:让 Codex、TRAE CLI、Claude Code、Cursor 等不同 AI Agent 在同一项目上可靠接棒,携带经过验证的状态、决定、产物、阻塞、验收标准和下一步继续工作。用户提到切换 Agent、继续另一个 Agent 的工作、跨 Agent 接力、交棒/接棒、检查其他 Agent 新进展、限额或中断恢复、并行协作、共享项目上下文、handoff、relay、接力棒时使用。

0 Updated 2 weeks ago
TongyiDai