post-slack-message

post-slack-message is a skill for Claude Code from tomzx/agents. It costs 83 tokens per session (1,932 once invoked), scanned A, original, MIT.

A workflow for sending a message to a Slack channel or replying in a Slack thread. Slack is a team chat service, and the workflow normally shows the message for confirmation before sending it.

In plain words
What is it for?
Use it to prepare and post channel messages or thread replies, with optional confirmation before the Slack API sends them.
Why use it?
It reduces accidental posts by separating message composition from sending, while supporting immediate sending when explicitly requested.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions OpenCode.

Good fit Use it to prepare and post channel messages or thread replies, with optional confirmation before the Slack API sends them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/post-slack-message
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tomzx/agents --skill post-slack-message
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for post-slack-message

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomzx/agents/post-slack-message/github.svg)](https://agentmods.dev/skills/tomzx/agents/post-slack-message)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/post-slack-message"><img src="https://agentmods.dev/badge/skills/tomzx/agents/post-slack-message/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for post-slack-message

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/post-slack-message"><img src="https://agentmods.dev/badge/skills/tomzx/agents/post-slack-message.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01932
Opus 5.5 $0.00033 $0.00773
Sonnet 5.5 $0.00017 $0.00386
Haiku 4.5 $0.00008 $0.00193

Measured today against content hash d912cbe39f93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

post-slack-message scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 1 executable file (post_slack_message.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/post-slack-message/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Post Slack Message

Posts a message to a Slack channel or as a thread reply using post_slack_message.py (Slack Web API chat.postMessage). This skill contains the compose-and-confirm flow so it can use the question tool; the script is the send primitive.

Behavior modes

  • Review mode (default): write the message to a temp file, then use the question tool to ask the user to confirm sending the content of that file. Nothing is posted until the user approves.
  • Immediate mode (--yes): skip the confirmation and post right away. Use this for fully unattended flows (scheduled jobs, automation, or a caller that has already shown the message to the user).

--yes (also -y, --send, --auto) is accepted in any position of the arguments.

Prerequisites

  • SLACK_TOKEN set. A bot token (xoxb-) only needs the token; a web/browser token (xoxc-) also needs SLACK_COOKIE (the xoxd- value), the same credentials used by slack-kb-individual and slackx. Place them in .env at the repo root or export them in the environment.
  • The target channel: a channel id, a Slack archive URL, or a channel name.
  • Apply the shared communication guidelines in skills/communication-guidelines/SKILL.md when composing the message.

Inputs

  • channel: one of --channel <id>, --channel-url <url>, or --channel-name <name> (the name is resolved to an id via conversations.list). Exactly one is required.
  • thread_ts: optional --thread-ts <ts> to post as a thread reply; auto-detected when --channel-url points at a thread message.
  • message: the message body in Slack mrkdwn (*bold*, <@USERID> mentions, <https://url|label> links). Provided as a trailing argument, via --file <path>, or via --stdin. Exactly one source. If the draft was written in regular markdown (the copy/paste convention), convert it to Slack mrkdwn before sending.
  • mode: --yes for immediate send; otherwise review mode.
  • dry-run: --dry-run resolves the channel and shows what would be posted without sending. Use it to pre-validate credentials and targeting.

Read the full file on GitHub · 171 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines d912cbe39f93
  2. 22d ago Changed · +23 lines 71b8561736a3
  3. 24d ago Changed 02a568fc4573
  4. 28d ago Changed · +1 lines 2ac6ca81efb2
  5. 1mo ago Changed 430bba500d03
  6. 1mo ago Changed b8c5a9820b9a
  7. 1mo ago First seen · 146 lines · 83 tokens per session scan A 6ef4ab47c2b7

Subscribe to this mod's changes

post-slack-message is a skill published in the GitHub repository tomzx/agents (13 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 1,932 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens