- Home
- Skills
- Agents & Orchestration
- Prismbox Agent-to-Agent Handoff & Delegation Protocol
Prismbox Agent-to-Agent Handoff & Delegation Protocol
by Unge
Stop losing context between agents — hand off a task and get a validated reply back, or a clean fallback, never a loop.
$19
About this skill
Delegate a task to another agent with a structured, sanitized Handoff Packet — validated reply or clean fallback, never a loop.
A working runtime, not a paper protocol: real Node.js scripts (standard library only, no install, no API key, no account) that build a token-compact JSON Handoff Packet, send it to another agent over three transports, validate the reply against your acceptance criteria, and fall back to the next agent when the first one times out or answers badly.
- Three transports. Local sub-agent CLI (packet on stdin, reply on stdout), MCP bridge (JSON-RPC 2.0 over stdio, tools/call), and HTTP/JSON-RPC behind an allowlist.
- Loop-guard. A delegation can never spin forever: visited-set (no agent twice in one chain), max hops (default 3), deadline TTL, plus an append-only JSONL ledger of every hop.
- Secret sanitizer. Private keys, API keys, tokens, seed phrases, and sensitive files (.env, *.pem, .key, id_rsa, keystores) are redacted or dropped before a packet is ever sent.
- Allowlist, fail-closed. No binary, MCP server, HTTP origin, or agent name outside your allowlist.json is ever contacted; agent names resolve through the allowlist and are never executed as commands.
Includes JSON Schemas for packet and reply, example request/reply, fake echo/slow/invalid workers plus a fake MCP server, and 18 self-tests (node --test test-handoff.mjs — all passing).
Honest limits: no central broker or cross-machine discovery; reply validation checks structure and criteria coverage, not whether a worker's claims about the world are true.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
- Software
Node.js 18+
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.