# Bot2bot Post

> Bot2bot Post is an Agent Skill for productivity published in the sonichi/sutando repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Post a coordination message from this bot to the shared bot2bot channel, @-mentioning the other Sutando node.

- Skill name: `bot2bot-post`
- Category: [Productivity](https://www.openparable.com/skill/productivity/1)
- Source: https://github.com/sonichi/sutando/blob/HEAD/skills/bot2bot-post/SKILL.md
- Repository: sonichi/sutando (353 GitHub stars when collected)

## SKILL.md

# Bot-to-Bot Post

Post a coordination message from this Sutando node to the other in 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 `<@other-bot>` routes the post to the other bot's loop.

## Usage

```bash
python3 skills/bot2bot-post/post.py <kind> <text>
```

Kinds:
- `claim` — "I'm taking this work, ETA X"
- `blocked` — "I'm stuck on X, need eyes"
- `done` — "shipped X, FYI"
- `ping` — "you there?"
- `opinion` — "what do you think about X?"

Examples:
```bash
python3 skills/bot2bot-post/post.py 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 opinion "is Discord-as-state better than files for coord?"
```

## Configuration

- **Channel**: resolved from `$CLAUDE_CONFIG_DIR/channels/discord/access.json` — pick the `groups` entry tagged `{"role": "bot2bot", ...}`, fallback to any entry with value `true`.
- **Token**: `DISCORD_BOT_TOKEN` read from `$CLAUDE_CONFIG_DIR/channels/discord/.env`.
- **Other bot ID**: picked from the `allowFrom` list, excluding this bot's own ID (fetched via Discord `/users/@me`).

## 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.

## See also

- `src/discord-bridge.py:244` — the exception that routes bot-to-bot @-mentions as tasks
- `feedback_cross_bot_mention.md` — memory note on @-mention conventions
- `notes/team-proposal-coord-loop-2026-04-20.md` — the joint proposal that motivated this skill

---

Source: https://www.openparable.com/skill/productivity/bot2bot-post (OpenParable). Cite the canonical URL above.
