slack-agent-flow
Skill by nanocoai
Lets an existing Slack agent create new agents that arrive in Slack as their own bots. Each new agent gets a provisioned Slack app, an operator DM, and a shared three-way room, with no host restart needed.
Install slack-agent-flow
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-agent-flow ~/.claude/skills/slack-agent-flowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nanoclaw/.claude/skills/slack-agent-flow ~/.gemini/antigravity-cli/skills/slack-agent-flowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
slack-agent-flow is a skill for NanoClaw, a setup where agents run behind Slack. When a user tells a Slack-wired agent to create a new agent, the host provisions a Slack app for it, registers it as its own bot, and hot-starts the adapter in the running host. The operator gets a DM with the new bot.
The flow also opens a three-way room for the operator, the originating bot, and the new bot, and registers it as an agent-to-agent room. It adds the room actions create_room and add_to_room and extends the base create_agent tool. Sessions on other channels keep upstream create_agent behavior. It is for NanoClaw users who want agents to appear in Slack as separate bots and who already have the add-slack and slack-a2a-rooms skills installed.
Written from the project's SKILL.md and checked against it.
What it can do
- create_agent (Slack flow)Creates a new agent that arrives in Slack as its own bot, with a provisioned app and registered slack-<name> instance.
- Operator DMOpens a direct message between the new bot and the operator.
- Three-way roomOpens a shared MPIM with the operator, the originating bot, and the new bot, registered as an agent-to-agent room.
- create_roomCreates one shared room with N agents at once.
- add_to_roomAdds one agent to an existing room.
- Canvas tool and canvas-work skillLets agents make section-scoped canvas edits and reads using their own bot identity.
What you need
- Slack channel install from the add-slack skill
- slack-a2a-rooms skill for bot-sender room policy
- NANOCLAW_INSTALL_TOKEN or SLACK_MANAGER_TOKEN in .env
- A Slack owner or admin listed in user_roles
Try asking
- Create an agent called Research in this Slack workspace.
- Add the Research agent to our project room.
- Create a shared room with the Research and Support agents.
Good to know
- Without a provisioning credential, agent creation works but the Slack step reports no-credentials.
- Requires a recent NanoClaw trunk; the setup checks fail on older versions.
- Depends on the add-slack and slack-a2a-rooms skills being installed first.
- Non-Slack sessions are unchanged and keep upstream create_agent behavior.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/slack-agent-flow/SKILL.md, .claude/skills/slack-agent-flow/container/agent-runner/src/mcp-tools/rooms.test.ts, .claude/skills/slack-agent-flow/container/agent-runner/src/mcp-tools/rooms.ts, .claude/skills/slack-agent-flow/scripts/slack-agent-flow-finish.ts, .claude/skills/slack-agent-flow/src/modules/slack-agent-flow/create-agent-resume.test.ts, .claude/skills/slack-agent-flow/src/modules/slack-agent-flow/env-file.test.ts, .claude/skills/slack-agent-flow/src/modules/slack-agent-flow/env-file.ts, .claude/skills/slack-agent-flow/src/modules/slack-agent-flow/guard.ts, .claude/skills/slack-agent-flow/src/modules/slack-agent-flow/index.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
REMOVE.md2 KB -
SKILL.md17 KB -
apply-fixtures.json355 B -
container/agent-runner/src/mcp-tools/create-agent-slack.instructions.md2 KB -
container/agent-runner/src/mcp-tools/rooms.instructions.md2 KB
Show all 27 files
-
container/agent-runner/src/mcp-tools/rooms.test.ts5 KB -
container/agent-runner/src/mcp-tools/rooms.ts7 KB -
container/skills/slack-construct-agents/SKILL.md1 KB -
container/skills/slack-construct-agents/instructions.md2 KB -
container/skills/welcome/addenda/teams-tour.md625 B -
scripts/slack-agent-flow-finish.ts6 KB -
src/modules/slack-agent-flow/create-agent-resume.test.ts7 KB -
src/modules/slack-agent-flow/env-file.test.ts5 KB -
src/modules/slack-agent-flow/env-file.ts3 KB -
src/modules/slack-agent-flow/guard.ts3 KB -
src/modules/slack-agent-flow/index.ts13 KB -
src/modules/slack-agent-flow/orchestrate.test.ts43 KB -
src/modules/slack-agent-flow/orchestrate.ts31 KB -
src/modules/slack-agent-flow/provision.congruence.test.ts14 KB -
src/modules/slack-agent-flow/provision.prefetch.test.ts3 KB -
src/modules/slack-agent-flow/provision.ts31 KB -
src/modules/slack-agent-flow/room-actions.test.ts21 KB -
src/modules/slack-agent-flow/room-actions.ts20 KB -
src/modules/slack-agent-flow/room-canvas.test.ts9 KB -
src/modules/slack-agent-flow/room-canvas.ts10 KB -
src/modules/slack-agent-flow/slack-deps.ts3 KB -
src/modules/slack-agent-flow/types.ts4 KB
Alternatives to slack-agent-flow
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
slack-agent-flow: common questions
Does a new agent need a host restart to appear in Slack?
No. The flow hot-starts the Slack adapter in the running host, so no host restart is needed for the new agent.
Which credential does the agent creation need?
It needs either NANOCLAW_INSTALL_TOKEN for the managed broker or SLACK_MANAGER_TOKEN for direct workspace-level app creation.
Who is the operator for the new agent?
The flow picks the operator from the approver chain: scoped admins, then global admins, then owners. That person needs a slack:U identity in user_roles.
How do I install slack-agent-flow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is slack-agent-flow free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is slack-agent-flow 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-agent-flow?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
