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

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

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-flow

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

Step-by-step: install slack-agent-flow in Claude Code

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

A

No 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 →

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.

slack-agent-flow Install

Add to stack

Loading.