iancleary/slack-skills/slack-query-cli
Claude Code and agent skill by iancleary/slack-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use the `slack-query` CLI for deterministic Slack retrieval: permalink resolution, message search, thread reads, channel context, and thread context. Prefer this over mutating Slack tools when the task is read-only.
Install
npx vskill@latest install iancleary/slack-skills/slack-query-cliSKILL.md
The same SKILL.md was published earlier as iancleary/slack-skills/slack-query-cli.
Slack Query CLI
This skill covers the slack-query binary. Use it when the task is Slack retrieval or research.
Start narrow:
slack-query resolve-permalink <url> --jsonslack-query search <query> --limit 5 --jsonslack-query read-thread <channel-id> <thread-ts> --limit 15 --jsonslack-query channel-context <channel-id> <message-ts> --before 3 --after 3 --jsonslack-query thread-context <channel-id> <thread-ts> <message-ts> --before 3 --after 3 --json
Working rules:
- Use
--jsonfor retrieval because the skill is consumed by agents and should stay deterministic and low-token. - Resolve a permalink first when the user provides a Slack URL.
- Search with a small limit first, then expand only if needed.
- Use
read-threadfor the whole conversation andthread-contextwhen only local context around one reply is needed. - Use
channel-contextfor top-level neighborhood around a message in the channel timeline.
Safety:
- Treat this CLI as read-only.
- Do not invent write behaviors that are outside the current CLI contract.
Common flow:
- Resolve a permalink or search for the target.
- Reuse returned
channel_id,message_ts, andthread_ts. - Pull the smallest useful context.
- Summarize the relevant Slack evidence.
Inputs
- permalink or query + desired context window
Output
- narrow
slack-query ... --jsoncommands + evidence summary
Checks
- keep
--limitsmall first; expand only if needed
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/slack-query-cli/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iancleary/slack-skills/slack-query-cli)