Allows posting questions to Slack and waiting for team responses or threading replies programmatically.

Install

mkdir -p .claude/skills/slack-motoya0118 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9538" && unzip -o skill.zip -d .claude/skills/slack-motoya0118 && rm skill.zip

Installs to .claude/skills/slack-motoya0118

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Post a question to Slack and wait for a reply, or post a reply into a thread using scripts/slack.py.
100 charsno explicit “when” trigger
Beginner

Key capabilities

  • Post questions to Slack
  • Monitor thread replies
  • Post replies to threads
  • Handle follow-up messages

How it works

Uses a script to post messages to Slack and poll for replies within a defined interval.

Inputs & outputs

You give it
Question text
You get back
User reply JSON

When to use slack

  • Asking team questions via CLI
  • Posting automated status updates
  • Waiting for human verification in threads

About this skill

Slack Ask + Thread Reply

Use scripts/slack.py to post a question and wait for the first reply, or to post a reply into an existing thread.

Run

uv run scripts/slack.py "Did you finish the task?" --interval 2 --follow-up-message "This counts as another ignore. Please reply in the thread."
uv run scripts/slack.py --mode reply --thread-ts 1700000000.000000 "Reply text"

Inputs

  • question is the message text (question in ask mode, reply in reply mode).
  • --mode chooses behavior (ask default, reply posts into a thread).
  • --no-reply-hint skips appending "Reply in thread."
  • --follow-up-message sets the message to post when a reply is not received within the ignore window.
    • Required in ask mode.
  • ask mode:
    • --interval sets polling interval in seconds (default: 2).
    • --thread-ts and --channel are not required.
  • reply mode:
    • --thread-ts is required.
    • --channel overrides SLACK_CHANNEL (accepts name or ID).
    • --interval is not used.

Outputs

Ask mode prints a single line:

{assistant_question: ..., user_answer: ..., is_answer: true|false, thread_ts: ..., message_ts: ...}

If no reply arrives before timeout, user_answer is null and is_answer is false.

Reply mode prints a single line:

{assistant_question: ..., user_answer: null, is_answer: false, thread_ts: ..., message_ts: ...}

Notes

  • Requires SLACK_BOT_USER_OAUTH_TOKEN.
  • Optional SLACK_USER_OAUTH_TOKEN is used for reading replies; if unset, the bot token is reused.
  • Missing history scopes will cause missing_scope errors; add channels:history, groups:history, im:history, and mpim:history as needed.
  • The CLI unescapes \n, \r, and \t sequences in question before sending.
  • Ask mode timeout is derived from env: IGNORE_SPAN * REPLY_COUNT_LIMIT.
  • ask mode requires --follow-up-message.

When not to use it

  • Posting sensitive information

Prerequisites

SLACK_BOT_USER_OAUTH_TOKEN

Limitations

  • Requires specific Slack scopes
  • Ask mode requires follow-up message

How it compares

Provides a programmatic way to wait for human verification in Slack threads rather than manual checking.

Compared to similar skills

slack side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
slack (this skill)06moReviewBeginner
himalaya502moReviewIntermediate
officeemail-management88moNo flagsIntermediate
gmail166moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry