Isomux soft handoff

From nmamano/isomux · View interactive version

Isomux soft handoff is an AI agent skill from the GitHub repository nmamano/isomux. Hand off your current task to a peer agent. You write a thorough brief, message it to them directly, then stay around as a reference for follow-up questions. Optionally takes the peer's name as an argument.

How to use this skill

Skill file

Hand off your current task to a peer agent so they can carry it forward. Use this when your context is getting full but the work isn't done. After the handoff, you stay around as a reference - the peer can come back with clarifying questions, but they own the work from here.

Syntax: /isomux-soft-handoff {peer-agent-name} (or omit the name to be prompted)

1. Pick the peer

If a peer name was supplied, look up their agent ID with GET /agents?back=1 (agent reference page discovery). Match the name case-insensitively. Otherwise try to infer the peer from context - e.g., an agent the member and you have already paired or consulted with in this session. If there's a clear inference, use it (and briefly confirm who you picked). Otherwise, list candidates (prefer agents whose cwd matches yours) and ask the member to pick. You need the peer's agent ID to POST messages to them.

Flag to the member before proceeding if:

2. Write the brief

Write a brief detailed enough that the member doesn't have to re-explain anything. Long is fine. Cover:

3. Send the brief

Send the brief with POST /api/agents/<peer-id>/messages, as a text/plain body (agent reference page messaging), so the peer knows who's handing off. The body MUST also tell the peer:

4. Confirm and stand by

Tell the member which peer you handed off to and a one-line gist of what you sent. Suggest they switch to that agent's chat to continue.

Then go idle. If they POST you a question, answer concisely from the context you already have, then go idle again. The member will tell you when it's safe to /clear.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.