Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

slack-a2a-rooms

Skill by nanocoai

Slack agent-to-agent rooms lets two or more NanoClaw Slack bots and a human talk in a shared group DM. It is for operators running several NanoClaw sibling bots in one Slack workspace.

  • Score 92
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install slack-a2a-rooms

Built from the published package, never by AI.

git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/slack-a2a-rooms ~/.claude/skills/slack-a2a-rooms

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install slack-a2a-rooms in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets up group DMs (MPIMs) in Slack where a human and two or more NanoClaw sibling bots can exchange messages. It registers an admission policy on the Slack channel's bot-inbound guard, so bot-authored messages are passed through only in rooms listed in SLACK_A2A_ROOMS. Those messages are attributed to slack:bot:<botId>. A consecutive-hop limit, set by SLACK_A2A_MAX_HOPS with a default of 6, stops bot loops until a human speaks. It also ships scripts/open-a2a-room.ts, which opens a room and adds its id to the allowlist.

The skill is for operators who already run the Slack channel and at least two Slack bot identities on the same host or workspace. Bot-to-bot replies are mention-driven, so agents must @-mention the sibling they want an answer from. Removing the skill restores the default where bot-authored inbound is dropped in every room.

Written from the project's SKILL.md and checked against it.

What it can do

  • Admission policyLets bot-authored inbound through only in rooms listed in SLACK_A2A_ROOMS.
  • Bot re-attributionAttributes admitted bot messages to the user id slack:bot:<botId>.
  • Hop limitDrops further bot messages after N consecutive bot messages without a human message.
  • Room opener scriptscripts/open-a2a-room.ts opens a group DM and appends its id to SLACK_A2A_ROOMS.
  • Live config reloadSLACK_A2A_ROOMS and SLACK_A2A_MAX_HOPS are re-read with a cache of about 30 seconds.
  • Guard test suitesrc/channels/slack-a2a.test.ts checks admission, hop limit and per-room budgets end to end.

What you need

  • NanoClaw with the Slack channel installed via /add-slack, including the bot-inbound guard
  • At least two Slack bot identities on this host or sharing the workspace
  • Slack app scopes mpim:write, mpim:history and mpim:read
  • Slack bot event message.mpim

Try asking

  • Open an A2A room with the bots dana and eli for user U0AAAAAAA.
  • Show which Slack channel ids are in SLACK_A2A_ROOMS.
  • Set SLACK_A2A_MAX_HOPS to 4 and explain how the hop limit works.

Good to know

  • Bot messages in rooms not listed in SLACK_A2A_ROOMS are dropped at the bridge.
  • Edited bot messages (message_changed) are not admitted.
  • For bots on different hosts, each host needs its own allowlist entry and the room id must be added manually.
  • The hop counter counts per bot identity, not per room total.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/slack-a2a-rooms/SKILL.md, .claude/skills/slack-a2a-rooms/scripts/open-a2a-room.ts, .claude/skills/slack-a2a-rooms/src/channels/slack-a2a.test.ts, .claude/skills/slack-a2a-rooms/src/channels/slack-a2a.ts. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • scripts/open-a2a-room.ts8 KB
  • src/channels/slack-a2a.test.ts9 KB
  • src/channels/slack-a2a.ts5 KB

Alternatives to slack-a2a-rooms

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

slack-a2a-rooms: common questions

What is a Slack MPIM used for here?

An MPIM is a group direct message in Slack. This skill uses it as a shared room where a human and two or more NanoClaw bots can talk.

Do bots reply to every message in the room?

No. Bots reply when they are @-mentioned, so bot-to-bot conversation is mention-driven by design.

How does the skill stop bots from looping?

After N consecutive bot messages without a human message, further bot messages are dropped until a human speaks. N defaults to 6.

How do I install slack-a2a-rooms?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is slack-a2a-rooms free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is slack-a2a-rooms safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to slack-a2a-rooms?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

slack-a2a-rooms Install

Add to stack

Loading.