slack-cli-read

Access Slack through the global `slack` CLI for read-only workflows. Use when asked to list chats or DMs, read message history, inspect threads, fetch exact messages, or summarize recent Slack activity.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "slack-cli-read" with this command: npx skills add szrabinowitz/slackscope/szrabinowitz-slackscope-slack-cli-read

slack-cli-read

Use this skill to read Slack content via the global slack command.

Scope

  • Read-only commands are supported.
  • Writing/sending/replying is not implemented yet. If asked to write, state that it is not available yet and offer to draft message text only.

Environment

  • Assume slack is available as a global command.
  • Slack credentials are expected at ~/.config/slack/slack.env.
  • Required variables:
    • SLACK_WORKSPACE
    • TOKEN
    • D_COOKIE
  • If auth fails or env vars are missing, help the user populate that file.

Command Map

  • Login bootstrap (interactive): slack auth login <workspace>
  • Auth diagnostics: slack auth status
  • Verify auth/workspace: slack me
  • List all conversations: slack chat list
  • List unread conversations: slack chat list --unread
  • List DM inbox: slack dm list
  • List unread DMs: slack dm list --unread
  • Read chat history: slack chat history "<chat>" --limit 30
  • Read DM history: slack dm history <user_or_dm_id> --limit 30
  • Read full thread: slack thread show <chat_or_dm> <thread_ts>
  • Read one full message: slack chat message <chat_or_dm> <ts>
  • Search users: slack users list --query <text>
  • Raw API call (expert mode): slack api call <endpoint> -p key=value
  • Raw API curl wrapper (expert mode): slack api curl <endpoint> -- [curl args]

Working Style

  1. Start broad with chat list or dm list when intent is vague.
  2. Narrow into history with a bounded --limit.
  3. Expand parent threads via thread show when inline replies are truncated.
  4. Fetch exact messages with chat message when full text is needed.

Command Hygiene

  • Quote names starting with # in shell commands, for example: slack chat history "#general".
  • Prefer IDs when names are ambiguous.
  • Keep commands bounded with --limit unless the user asks for more.
  • Use pretty output for human reading.
  • Use --format json or --format jsonl for structured parsing.
  • Use slack api call/slack api curl only when typed commands do not cover the needed endpoint behavior.
  • If auth fails, run slack auth status before retrying read commands.

Response Guidance

  • Summarize key findings instead of dumping raw command output.
  • Keep timestamps and IDs in results when they help the user drill down.
  • Treat attachment lines (📎 ...) as message context.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

uv-package-management

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated