Skip to content
Agentmart
Submit a tool

slack

Slack skill: per-agent Slack skill + Socket Mode listener server.

Skill by camplight

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/camplight-slack

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Slack skill: per-agent Slack skill + Socket Mode listener server. Run the server on lifecycle start.

Use cases: backend, productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 2

  • codeload.github.com · found in install command
  • slack.com · found in code

Files it touches

  • ~/.claude/skills/slack

What's inside

Skill name
slack
Description
Slack skill: per-agent Slack skill + Socket Mode listener server. Run the server on lifecycle start.
License
Apache-2.0
Instructions
156 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • _shared.ts · assets/
  • socket-listen.ts · assets/
  • event-shapes.ts

SKILL.md (first lines)

# Slack skill

This skill lets OrgOps agents act as **Slack apps** using **per-agent tokens** stored in OrgOps **secrets**.

It provides:

- A **Socket Mode** listener (one process per agent) that converts Slack events into OrgOps `channel.event.created` events.
- Outbound Slack delivery by consuming OrgOps events in bridged channels.
- Typed event-shape validators (`event-shapes.ts`) consumed by runner/API validation.

## Secrets

Store secrets under the `slack` package using the `secrets` skill.

Per-agent keys (recommended):

- `SLACK_BOT_TOKEN__<AGENT_NAME>` (xoxb-...)
- `SLACK_APP_TOKEN__<AGENT_NAME>` (xapp-...; required for Socket Mode)

Example:

```bash
node --import tsx skills/secrets/assets/set.ts -- slack SLACK_BOT_TOKEN__worker1 xoxb-...
node --import tsx skills/secrets/assets/set.ts -- slack SLACK_APP_TOKEN__worker1 xapp-...
```

## Slack app setup (minimum)

1. Create a Slack App
2. Enable **Socket Mode**
3. Create an **App-Level Token** with scope: `connections:write` (this is the `xapp-...` token)
4. Add **Bot Token Scopes** (typical v1 set):
   - `chat:write`
   - `channels:read`, `groups:read`, `im:read`, `mpim:read`
   - `channels:history`, `groups:history`, `im:history`, `mpim:history`
   - `im:write`
   - `users:read`
   - `search:read`
   - `files:read` (required for file download helpers)
5. Install the app to the workspace to obtain the `xoxb-...` bot token
6. Subscribe to events (Event Subscriptions):
   - `message.channels`, `message.groups`, `message.im`, `message.mpim`
   - `app_mention`

## Scripts

All scripts accept `--agent <agentName>` and use:

- `SLACK_BOT_TOKEN__<agentName>`
- (listener only) `SLACK_APP_TOKEN__<agentName>`

Agent operating rule:

- Use `events_*` tools only. Do not use Slack CLI helpers for runtime interaction.
- Use `events_emit` for outbound Slack-bound events during execution, then return a final validated event object for the runner.

## Outbound via Events API (bridged channel only)

For agent-to-Slack delivery through a bridged OrgOps channel, emit:

- `message.created` for common text replies
- `channel.command.requested` for explicit Slack Web API commands

Preferred tool call from agents:

```json
{
  "tool": "events_emit",
  "args": {
    "type": "message.created",
    "channelId": "<orgops-bridge-channel-id>",
    "payload": {
      "text": "hello from OrgOps"
    }
  }
}
```

Reply in a Slack thread (tool call example):

```json
{
  "tool": "events_emit",
  "args": {
    "type": "message.created",
    "channelId": "<orgops-bridge-channel-id>",
    "payload": {
      "text": "Thanks — here are examples.",
      "threadTs": "1710000000.000100"
    }
  }
}
```

Explicit command example (`channel.command.requested`):

```json
{
  "tool": "events_emit",
  "args": {
    "type": "channel.command.requested",
    "channelId": "<orgops-bridge-channel-id>",
    "payload": {
      "channel": {
        "provider": "slack",
        "connection": "worker1",
        "workspaceId": "T123",
        "spaceId": "C456"
      },
      "command": {
        "action": "chat.postMessage",
        "payload": {
          "text": "hello via command envelope"
        }
      }
    }
  }
}
```

From camplight/orgops, Apache-2.0.

Signals

Stars
6
Forks
1
Open issues
0
Last commit (this folder)
Mar 30, 2026 (7 months ago)
Last release
Oct 22, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from camplight

Cite this page

slack skill. Agent Mart. https://agentmart.dev/skills/camplight-slack (last updated 2026-10-24)