/tooling:slack [who or what to watch for]from tooling
Wait for Slack messages using the `slack-watch` poller — arm a Monitor that wakes Claude when a DM, mention, or channel message arrives, then respond. Use when the user wants Claude to sit and wait on Slack: "wait until someone messages me", "let me know when X replies", "watch Slack", "ping me on a new DM", "monitor #channel", "wake me when they respond". Do NOT use for a one-off "check my Slack now" — read Slack directly with the Slack MCP tools instead.
Ships in tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
slack-watchslack-watch (lives in bin/.local/bin/, on PATH after stow bin) polls the Slack
Web API and prints one compact JSON line per new incoming message. Every line is
a wake event, which makes it a drop-in event source for the Monitor tool.
Reach for this when the user wants Claude to wait. For a single "what's in my
Slack right now?", use the Slack MCP tools (slack_read_channel, slack_search_*) —
no polling, no monitor.
slack-watch --check-auth
Success prints authenticated as <user> (<id>) on team <team>. Anything else means
setup is incomplete — say so and stop. Never arm a monitor that cannot fire; a
broken watch is indistinguishable from a quiet one.
xoxp-) in SLACK_TOKEN or
~/.config/slack-watch/config.json. The error text lists the exact scopes to request.Every message, indefinitely → Monitor with an unbounded command:
Monitor({
command: "slack-watch --dms --interval 30",
description: "new Slack DMs",
persistent: true,
})
Wake once, then stop → Bash with run_in_background. --exit-after 1 makes the
process exit after the first match, which yields exactly one completion notification:
slack-watch --dms --from @jane --exit-after 1
Do not use Monitor for a one-shot wait — an unbounded poller stays armed long
after the event fired and burns the timeout for nothing.
| Want | Flags |
|---|---|
| Any DM (the default) | --dms |
| From specific people | --from @jane (repeatable; @name, name, or Uxxxx) |
| A channel | --channel #eng (repeatable; #name or Cxxxx) |
| @-mentions of you | --mentions (heavier: polls every channel you belong to) |
| Bots and join/system messages | --include-bots (excluded by default) |
--interval defaults to 30s. Keep it at 30s or higher — Slack rate-limits.
One line of compact JSON per message:
{"ts","channel","channel_name","channel_type","user","user_name","text","permalink"}
text is raw Slack markup, so mentions arrive as <@U123>. permalink jumps
straight to the message. That is usually enough to answer without re-reading Slack;
pull slack_read_thread when you need surrounding context.
To reply, use slack_send_message — but draft it for the user and confirm before
sending unless they have clearly authorised you to send on their behalf. Waking up
and posting to a human's Slack unprompted is not a recoverable mistake.
~/.config/slack-watch/state.json. Use
--reset-state to re-baseline, and --state-file to give concurrent watches their
own cursors so they don't consume each other's messages.--once does a single poll (cron, until loops); --self-test runs offline
assertions needing no token or network.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tomaspalsson/flow --plugin tooling16 skills in this plugin
/agent-architectureArchitecture and token-economics for Claude agents: workflow vs agent vs multi-agent selection; subagent count; tool & MCP design; prompt caching; model routing; context-window blowup; AgentCore Runtime/Memory/Gateway/Identity/Code Interpreter/Observability. Use when: agent is too expensive/slow/forgets/loops; cutting token spend (caching, compaction, tool-result clearing, dynamic tool loading); context rot; tool count/federation; managing agent memory. Delivers Anthropic decision trees, exact token-cost mechanics, and AgentCore primitive mappings. Do NOT use for AgentCore deployment mechanics (containers, port 8080, ARM64, IAM, OAuth decorators, session backends) — use strands-agentcore instead./agent-evalsMUST use for evaluating LLM and agent systems — design, build, and operate trustworthy, cost-controlled evals. Use when: evaluating/benchmarking an LLM, agent, RAG, or chatbot; building an eval suite, golden dataset, or LLM-as-a-judge; choosing deterministic vs model-graded evals; judging whether a score change is real vs noise or picking sample sizes; setting up evals in CI/CD or cutting eval cost; grading agent trajectories vs outcomes or tool-call accuracy; evaluating on AWS AgentCore or Bedrock. Keywords: LLM-as-a-judge, golden dataset, pass@k, pass^k, eval harness, RAG triad, hallucination/faithfulness eval, agent trajectory eval, tool-call accuracy, eval flaky/noisy, is my eval significant, AgentCore Evaluations, Bedrock Evaluations, are my evals good, how do I eval my agent.