AGENT SKILL

configure

Configure Slack channel tokens (bot token + app-level token)

License 许可
MIT
最近更新
2026-07-13
Stars
★ 1
Forks
0

01 前言 Front Matter

name
configure
tags
[ "mcp", "configure" ]
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Configure Slack channel tokens (bot token + app-level token)
allowed-tools
Read, Write, Bash(chmod:*)
argument-hint
<bot-token> <app-token>
user-invocable
true
compatible-with
claude-code

03 SKILL.md 正文

/slack-channel:configure

Overview

Configure the Slack channel MCP plugin by providing your Slack bot token and app-level token. Writes credentials to a secure .env file with owner-only permissions.

Prerequisites

  • A Slack app created at api.slack.com/apps with Socket Mode enabled
  • A Bot User OAuth Token (xoxb-...) from OAuth & Permissions
  • An App-Level Token (xapp-...) from Socket Mode settings
  • Write access to ~/.claude/channels/slack/

Usage

/slack-channel:configure <xoxb-bot-token> <xapp-app-token>

Instructions

  1. Parse the two arguments from $ARGUMENTS:

    • First token must start with xoxb- (Bot User OAuth Token)
    • Second token must start with xapp- (App-Level Token)
  2. If either token is missing or has the wrong prefix, show this error and stop:

    Error: Two tokens required.
      - Bot token (starts with xoxb-) from OAuth & Permissions
      - App token (starts with xapp-) from Socket Mode settings
    
    Usage: /slack-channel:configure xoxb-... xapp-...
    
  3. Create the state directory if it doesn't exist:

    ~/.claude/channels/slack/
    
  4. Write the .env file at ~/.claude/channels/slack/.env:

    SLACK_BOT_TOKEN=<bot-token>
    SLACK_APP_TOKEN=<app-token>
    
  5. Set file permissions to owner-only:

    chmod 600 ~/.claude/channels/slack/.env
    
  6. Confirm success:

    Slack channel configured.
    
    Start Claude with the Slack channel:
      claude --channels plugin:slack-channel@claude-code-plugins
    
    Or for development:
      claude --dangerously-load-development-channels server:slack
    

Security

  • Never echo the tokens back in the confirmation message
  • Never log tokens to stdout or any file other than .env
  • Always set 0o600 permissions on the .env file

Output

On success, displays:

Slack channel configured.

Start Claude with the Slack channel:
  claude --channels plugin:slack-channel@claude-code-plugins

On validation failure, displays the error with correct usage syntax.

Error Handling

Error Cause Resolution
Missing token argument Fewer than 2 arguments provided Show usage with required token prefixes
Invalid bot token prefix First token does not start with xoxb- Explain where to find the Bot User OAuth Token
Invalid app token prefix Second token does not start with xapp- Explain where to find the App-Level Token in Socket Mode settings
Permission denied Cannot write to ~/.claude/channels/slack/ Check directory permissions and create parent dirs if needed

Examples

Standard configuration:

/slack-channel:configure xoxb-1234567890-abcdef xapp-1-ABCDEF-ghijkl
→ Slack channel configured.

Missing token error:

/slack-channel:configure xoxb-1234567890
→ Error: Two tokens required.
  - Bot token (starts with xoxb-) from OAuth & Permissions
  - App token (starts with xapp-) from Socket Mode settings

Resources

04 同仓库更多 Skills

jukeyman
jukeyman/jukeyman-skills

zustand-store-creator

Create zustand store creator operations. Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like "zustand store creator", "zustand creator", "zustand".

★ 1
jukeyman
jukeyman/jukeyman-skills

zero-trust-config-helper

Configure with zero trust config helper operations. Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like "zero trust config helper", "zero helper", "zero".

★ 1
jukeyman
jukeyman/jukeyman-skills

zapier-integration-helper

Assist with zapier integration helper operations. Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like "zapier integration helper", "zapier helper", "zapier".

★ 1
jukeyman
jukeyman/jukeyman-skills

yaml-config-validator

Validate yaml config validator operations. Auto-activating skill for DevOps Basics. Triggers on: yaml config validator, yaml config validator Part of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like "yaml config validator", "yaml validator", "yaml".

★ 1
jukeyman
jukeyman/jukeyman-skills

xvary-stock-research

Thesis-driven equity analysis from public SEC EDGAR and market data; /analyze, /score, /compare workflows with bundled Python tools (Claude Code, Cursor, Codex).

★ 1
jukeyman
jukeyman/jukeyman-skills

xss-vulnerability-scanner

Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals. Triggers on: xss vulnerability scanner, xss vulnerability scanner Part of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like "xss vulnerability scanner", "xss scanner", "xss".

★ 1