Skip to content
cccskills
FreePublished on GitHub

slack

Post a question to Slack and wait for a reply, or post a reply into a thread using scripts/slack.py.

The English summary is being prepared. Showing the original description.

Works withSlack
See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Insert schedule rows into the local database (schedules) from a JSON array. Use when bulk-loading schedule entries with prompt_name, input_value, and scheduled_date via scripts/add_schedules.py.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

Insert a Slack ignore event and update daily punishments using scripts/add_slack_ignore_events.py. Use when a Slack message was ignored and you need to record it.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

Insert or read behavior log rows in the local database (behavior_logs). Use when recording a good/bad behavior entry, attaching a Pavlok API response JSON, adding a coach comment, or fetching recent logs via scripts/behavior_log.py.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

Read target remind schedules and recent action_logs (last 3 days) as JSON for agent comment generation.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

pavlok

Free

Send a Pavlok stimulus via the Pavlok API using scripts/pavlok.py. Use when you need to trigger vibe/beep/zap with a numeric value in this repo and print the API response.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

Execute pending daily punishments by sending Pavlok stimuli via scripts/repentance.py. Use when you need to run the punishment cycle.

The English summary is being prepared. Showing the original description.

motoya0118/pavlok_CLI_agent72Updated Apr 9, 2026

See all skills by motoya0118

Report a problem with this skill