/install discord-cross-gateway-delegation
Discord Cross-Gateway Delegation
Run a full Discord-based delegation loop between two OpenClaw bots on different PCs/gateways.
Core rule
Treat the second bot as an external worker, not as an internal session.
Do not use same-gateway assumptions like sessions_send, local subagents, or same-process routing.
Supported operating model
A complete delegation flow should include all of these stages:
- private delegation lane setup
- structured task envelope protocol
- optional DM natural-language trigger on the controller side
- worker-side intake in the delegation lane
- worker started/final replies in the lane
- relay-back of the final worker result into the original DM
If only steps 1-2 are working, the setup is incomplete.
Protocol rule
Use a protocol namespace that matches the worker lane.
Examples:
- MACJINI lane:
[MAC_TASK],[MAC_STATUS],[MAC_DONE] - KAIJINI lane:
[KAI_TASK],[KAI_STATUS],[KAI_DONE]
Do not mix worker identity and protocol prefix unless you are intentionally keeping a legacy compatibility layer.
What to read first
references/setup-checklist.mdreferences/operating-modes.mdreferences/full-process.md- If the worker is a secondary execution bot,
references/macjini-rollout.md - If anything fails,
references/diagnosis.md
Operating guidance
- Prefer a private server delegation lane over public channels.
- Support both quick handoff and orchestrated handoff.
- For real work, prefer orchestrated handoff: the controller bot should understand the task first, generate the worker-facing envelope itself, then delegate.
- Keep quick handoff as a shortcut for simple tests and short tasks.
- Test DM trigger, lane intake, and DM relay-back as separate checkpoints.
- Consider the setup successful only when the final worker result appears back in the original DM.
- A lane message alone is not success.
- A worker reply in the lane alone is not success.
If channel messages fail
Read references/diagnosis.md.
If the worker bot responds in DM but not in server channels, first assume a guild-channel inbound policy issue.
For groupPolicy: allowlist, explicitly add the target guild/channel under guilds, then re-test channel-based worker intake before falling back.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install discord-cross-gateway-delegation - After installation, invoke the skill by name or use
/discord-cross-gateway-delegation - Provide required inputs per the skill's parameter spec and get structured output
What is Discord Cross-Gateway Delegation?
Set up and operate full cross-gateway task delegation between two OpenClaw Discord bots across different PCs/gateways. Use when: another OpenClaw bot lives o... It is an AI Agent Skill for Claude Code / OpenClaw, with 213 downloads so far.
How do I install Discord Cross-Gateway Delegation?
Run "/install discord-cross-gateway-delegation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Discord Cross-Gateway Delegation free?
Yes, Discord Cross-Gateway Delegation is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Discord Cross-Gateway Delegation support?
Discord Cross-Gateway Delegation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Discord Cross-Gateway Delegation?
It is built and maintained by jini92 (@jini92); the current version is v2.1.1.