Bot2bot post

From sonichi/sutando · View interactive version

Bot2bot post is an AI agent skill from the GitHub repository sonichi/sutando. Post a coordination message from this bot to the shared bot2bot channel — @-mentioning a specific peer via --to, auto-mentioning only in single-peer fleets, never guessing.

How to use this skill

Skill file

Bot-to-Bot Post

Post a coordination message from this Sutando node to the shared #bot2bot Discord channel. The receiving bot's bridge processes @-mention messages from other bots as tasks (see src/discord-bridge.py:244), so prefixing with <@peer-id> routes the post to that peer's loop.

Usage

python3 skills/bot2bot-post/post.py [--to <peer|id>] <kind> <text>
python3 skills/bot2bot-post/post.py [--to <peer|id>] <kind> --body-file <path>

Use --body-file for any prose containing backticks or apostrophes. An

apostrophe closes a single-quoted shell argument and re-arms the backticks, so

the shell eats the remainder — the message arrives truncated and the send still

reports success. Write the body to a file and pass the path; nothing crosses a

quoting boundary.

--body-file reads whatever path it is given and posts the contents, and neither

form redacts. That is not new capability — the positional form already accepts

"$(cat <path>)" — but the content is no longer visible in the caller's command,

so write the file yourself; never point it at a path you have not read.

Kinds:

Examples:

python3 skills/bot2bot-post/post.py --to mini claim "refactor task-bridge task-file schema ETA 20m"
python3 skills/bot2bot-post/post.py done "shipped PR #472 — kickstart web-client after merge"
python3 skills/bot2bot-post/post.py --to air opinion "is Discord-as-state better than files for coord?"

Recipient targeting (multi-peer fleets)

Configuration

Why

Before this skill: bot A could reply in a task-triggered channel (existing pending_replies path) and DM the owner (poll_proactive), but had no way to initiate a channel post. That made cross-bot coord invisible to Chi and impossible without going through him. Now bots can claim/block/done in the open.

The no-guess contract (2026-07-29): with three bots in the channel, the old "pick the other bot from allowFrom" heuristic was undefined — both Pro and Mini shipped pings to the wrong peer the same day, each triggering the mis-targeted bot's sandboxed auto-refusal. Explicit --to, single-peer auto-mention, and unaddressed broadcast are the full contract now.

See also

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.