send reaches people as well as agents, and people answer agents from Slack.
setup asks for one thing: an app configuration token, which Slack lets only you make. At https://api.slack.com/apps (setup opens it), choose Generate Token under Your App Configuration Tokens, pick your workspace, and paste the access token (xoxe.xoxp-…). The server uses it once to create the app, keeps the app’s secrets sealed, and never keeps the token. Setup then opens Slack to install the app and waits until you approve. The app is your workspace’s own: it has the name you chose (--name, default “context-drop”), and you give it a picture at the settings link setup prints (Display Information → App icon; Slack takes pictures only by hand). Because it is your own app, Slack does not apply the limits it puts on apps distributed to other workspaces outside its Marketplace, which allow reading only 15 messages a minute.
Then:
reply is send for people only, so harnesses can let agents run it without asking; context-drop setup allows it.
How messages flow
Anyone in the connected workspace can reach agents: nobody has to link themselves first. To limit it to chosen people, run
context-drop slack restrict; then only people linked with slack allow @person (or who ran slack connect) reach agents, and anyone else who DMs the app is told they are not linked. slack unrestrict opens it again. Each pushed message names the person and ends with the context-drop reply command to answer with, and the app reacts with 👀 once it is delivered. If the agent is offline, the person is told in the thread.
An agent decides on its own when it needs a person. The send tool’s description (one of context-drop’s tools, which setup agents offers) tells it when: a decision or approval only a person can give, access or information no agent has, being stuck after trying, or reporting back on something it was asked. It does not need to poll: the reply arrives as its next prompt.
Targets
#channel: a public or private channel the app can see. The app joins public channels on its first post.@person: a DM with the app. The person is a Slack handle, display name, email, or user ID.slack:CHANNEL/TS: a thread.sendprints this for every message it posts, and pushed messages include it.
claude cc-1b09be6d) when the session has none. Its picture is its harness’s icon (Claude Code, Codex, Pi, or OpenCode), which Slack fetches from the server, so a server not reachable over HTTPS posts with the app’s picture. So when several agents DM the same person, their messages are told apart, and a reply in a message’s thread reaches the agent that sent it. A plain DM reply goes to whichever agent messaged the person last. Posting under a name needs the app’s chat:write.customize scope, which every app setup makes has. A shared app made before it posts every message as the app, with the agent’s ID in the footer, until the app has the scope and the org runs slack install again.
Agent-to-person messages carry anything; there is no filter on what an agent may post. send --file is not supported for Slack; use context-drop upload and send the link.
Commands
setup, install, and uninstall wait for an owner’s approval in the browser; an owner can also disconnect the workspace in the console (Connections).
send --wait to a Slack target prints the first replies from people. Agents do not need it; their replies are pushed.
Mods
A mod with"slack" in its can list can use the workspace with the org’s bot token:
cd.send("#channel" | "@person" | "slack:C/TS", text)posts as the mod.cd.slack.read(target, { limit, oldest })reads messages, oldest first.cd.slack.api(method, args)calls a Web API method:chat.*,conversations.*,reactions.*,pins.*,bookmarks.*,users.info,users.list,users.lookupByEmail,users.profile.get,team.info,files.info, andfiles.list. Methods that administer the workspace or the app, andchat.delete,conversations.kick,conversations.archive, andconversations.rename, are refused.
The server’s side
A server needs nothing for Slack beyond being reachable over HTTPS atCONTEXT_DROP_BASE_URL: each org’s app sends its events to <base>/v1/slack/events/<org>, and installs and sign-ins return to <base>/v1/slack/oauth. Each org’s app secrets and bot token are sealed with the server’s token key; a single server makes one on first start (see the server guide).
A server on a tailnet with Funnel on opens only what Slack’s own servers call to the internet: the events routes and the agents’ pictures (<base>/v1/slack/icons/…). Installs and slack connect sign-ins return to /v1/slack/oauth in the person’s browser, so finish them on a device on the tailnet.
A shared app
A server operator can instead offer one app to every org, which orgs without their own install withslack install. Slack limits such an app in workspaces other than the one it was made in, unless it is listed in Slack’s Marketplace, so prefer slack setup. To make one:
- Print its manifest:
context-drop slack manifest --server https://ctx.example.com > manifest.json. - At https://api.slack.com/apps, choose Create New App → From a manifest, pick a workspace, and paste it. To let other workspaces install it, turn on Manage Distribution.
- From Basic Information, give the server the client ID, client secret, and signing secret as
CONTEXT_DROP_SLACK_CLIENT_ID,CONTEXT_DROP_SLACK_CLIENT_SECRET, andCONTEXT_DROP_SLACK_SIGNING_SECRET, and restart it. Slack sends the shared app’s events to<base>/v1/slack/events.
slack setup moves to its own app; the shared app no longer delivers its messages, and its admin can remove the shared app from the workspace.
Linking yourself
slack connect asks the server for a link tied to your machine, opens it, and waits until you have signed in (up to 10 minutes). The page first says which org and machine started it, so a forwarded link is easy to spot. It uses Sign in with Slack (OpenID Connect, scopes openid profile), which asks only for your identity; the server reads who you are, checks you’re in the org’s workspace, links you, and keeps no token. A link expires after 10 minutes. Use --no-open to print it without opening a browser.
Agents reach Slack through context-drop’s tools (context-drop setup agents adds them) or context-drop send.
Limits
- One workspace per org, and a workspace belongs to one org.
- Routes from threads and DMs to agents last 30 days after their last use.
- Bot tokens do not rotate (
token_rotation_enabled: false). slack setup --newmakes another app and moves the org to it; delete the old one at https://api.slack.com/apps.