Slack Web API Skill for Openclaw

A comprehensive skill for executing Slack Web API operations through the uxc framework using a curated OpenAPI schema.

jolestar
v1.0.0
Mar 15, 2026
0
814
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install slack-openapi-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install slack-openapi-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Slack Web API Skill?

The Slack Web API skill provides a robust interface for AI agents to interact with Slack workspaces. By utilizing Openclaw Skills, developers can empower their agents to handle messaging, channel inspection, and conversation history retrieval through a structured OpenAPI-driven workflow. This skill simplifies complex Slack integrations by focusing on a messaging core that balances power with safety, utilizing the uxc utility for streamlined execution and authentication.

Whether you are building automated notification systems or sophisticated support agents, this skill ensures that interactions are handled according to Slack best practices. Openclaw Skills like this one provide the necessary abstractions for bearer-token authentication and standard messaging patterns, allowing for seamless integration into any AI coding environment.

Slack Web API Skill Use Cases

  • Automating team notifications and status updates within public or private channels.
  • Retrieving and summarizing Slack conversation history for context-aware AI tasks.
  • Managing threaded discussions by reading replies and posting targeted responses.
  • Monitoring channel activity and responding with automated emoji reactions.
  • Validating bot permissions and workspace access through authentication tests.

How Slack Web API Skill Works

  1. The skill initializes by linking a specialized CLI tool to the Slack Web API via a curated OpenAPI schema.
  2. Developers configure secure authentication using Slack Bot or User tokens managed by the uxc credential system.
  3. The AI agent utilizes the generated CLI to inspect the schema for specific methods like chat.postMessage or conversations.history.
  4. Before executing writes, the agent typically performs read-only lookups to verify channel IDs and bot membership.
  5. Requests are sent to the Slack API using standard JSON payloads or key-value pairs for streamlined communication.
  6. For real-time interactivity, the skill supports Socket Mode to ingest inbound events and trigger automated responses.

Slack Web API Skill Setup

# Link the Slack OpenAPI CLI tool
uxc link slack-openapi-cli https://slack.com/api --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/slack-openapi-skill/references/slack-web.openapi.json

# Configure the Bot User OAuth Token
uxc auth credential set slack-bot \
  --auth-type bearer \
  --secret-env SLACK_BOT_TOKEN

# Establish the authentication binding for the Slack API
uxc auth binding add \
  --id slack-bot \
  --host slack.com \
  --path-prefix /api \
  --scheme https \
  --credential slack-bot \
  --priority 100

Slack Web API Skill Data Schema & Taxonomy

The Slack Web API skill utilizes a structured JSON envelope for all request and response cycles. Data is categorized into clear messaging and metadata taxonomy:

Data Group Key Fields Description
Response Envelope ok, kind, protocol, data, error The top-level wrapper for every API response.
Messaging text, ts, thread_ts, channel Fields required for posting and identifying messages.
Conversations id, name, is_private, members Metadata regarding channels, IMs, and groups.
Auth Metadata user_id, team_id, bot_id Contextual information returned from auth validation.

Slack Web API Skill Advanced Features

  • Support for multiple token types (xoxb, xoxp, xapp) to handle various authorization scopes.
  • Built-in Slack Socket Mode transport for reliable event ingestion and real-time processing.
  • Messaging core guardrails that prioritize JSON output and stable field parsing for AI consumption.
  • Threaded communication support via thread_ts for organized conversation management.
  • Advanced rate limit awareness for high-volume historical data retrieval.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*