slack-mrkdwn

slack-mrkdwn is a skill for Claude Code, Codex from ccheney/robust-skills. It costs 53 tokens per session (626 once invoked), scanned A, original, MIT.

A guide to Slack’s mrkdwn format, the special text syntax Slack uses in many messages and interface elements. It explains how that syntax differs from regular Markdown and plain text.

In plain words
What is it for?
Writing Slack messages, links, bold or italic text, mentions, dates, Block Kit text, and other Slack text fields.
Why use it?
It helps prevent formatting from being displayed incorrectly when text is sent to different Slack fields.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing Slack messages, links, bold or italic text, mentions, dates, Block Kit text, and other Slack text fields.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccheney/robust-skills/slack-mrkdwn
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 ccheney/robust-skills --skill slack-mrkdwn
Clone the repo
git clone --depth 1 https://github.com/ccheney/robust-skills

Made for: Claude Code, Codex.

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 slack-mrkdwn

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-mrkdwn/github.svg)](https://agentmods.dev/skills/ccheney/robust-skills/slack-mrkdwn)
Your own site
<a href="https://agentmods.dev/skills/ccheney/robust-skills/slack-mrkdwn"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-mrkdwn/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 slack-mrkdwn

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccheney/robust-skills/slack-mrkdwn"><img src="https://agentmods.dev/badge/skills/ccheney/robust-skills/slack-mrkdwn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 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.00053 $0.00626
Opus 5.5 $0.00021 $0.00250
Sonnet 5.5 $0.00011 $0.00125
Haiku 4.5 $0.00005 $0.00063

Measured 2mo ago against content hash 94b272e24929, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slack-mrkdwn 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 2mo ago.

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/slack-mrkdwn/SKILL.md · 43 lines

How it starts

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

Slack Text Formatting

Format the supplied content for the actual receiving field. The user's explicit instructions take precedence over this skill's guidelines.

Select the renderer

Use the text and destination field/method as input. Infer the destination from the existing payload; if it is unclear and changes the syntax, ask which surface receives the text. For an ordinary Slack message with no other context, state that you are using message text and mrkdwn.

Destination Format
Message text, type: "mrkdwn" objects Slack mrkdwn: *bold*, `<url
markdown block, markdown_text, Work Object Markdown fields Standard Markdown: **bold**, [label](url)
rich_text block Nested elements and style objects, not markup strings
Labels or plain_text objects Literal text

Preserve content and controls

  • Escape untrusted &, <, and > in mrkdwn, in that order. JSON escaping is separate. verbatim: true does not neutralize explicit <...> controls.
  • Use real IDs for mentions and channels. If an ID is missing, leave a clearly labeled template value or ask for it when the output must be ready to send; do not guess from a display name.
  • Preserve intended mentions and links without introducing broad notifications. Date controls need a fallback containing timezone information.
  • Keep supplied fallback text complete and aligned with block content. Do not assume block rendering supplies mobile notification text.
  • Check field-specific limits and method combination rules; non-streaming markdown_text cannot be combined with text or blocks on the documented chat methods.

Return the requested formatted string, text object, or corrected payload. Preserve meaning and explain a renderer mismatch when fixing one. A formatting task can be completed without posting; send only when that action is requested or already authorized.

References

Read only the part needed for the destination or control syntax.

Task Reference
Markdown surfaces, text objects, rich text, Work Object text RENDERERS.md
mrkdwn syntax, mentions, date tokens, escaping SYNTAX.md
Links/unfurls, parse flags, notifications, legacy attachments MESSAGE-BEHAVIOR.md
Compact field and syntax lookup CHEATSHEET.md

Read the full file on GitHub · 43 lines

Files

What ships with it

4 files 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. 2mo ago Changed · -280 lines · -105 tokens per session 94b272e24929
  2. 3mo ago First seen · 323 lines · 158 tokens per session scan A 4fe6946a028d

Subscribe to this mod's changes

slack-mrkdwn is a skill published in the GitHub repository ccheney/robust-skills (62 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 626 once invoked, about $0.0002 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-08-30.

Related

slack-mrkdwn compared with skills from other repositories

slack-mrkdwn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slack-mrkdwnccheney/robust-skillsSkill622mo agoMITA53Claude Code, Codex
workflow-branch-synclugassawan/swe-workbenchSkill32d agoMITA55Claude Code
workflow-cleanup-mergedlugassawan/swe-workbenchSkill32d agoMITA47Claude Code
workflow-pr-reviewlugassawan/swe-workbenchSkill32d agoMITA106Claude Code
workflow-address-feedbacklugassawan/swe-workbenchSkill32d agoMITA85Claude Code
workflow-commit-and-prlugassawan/swe-workbenchSkill32d agoMITA68Claude Code
workflow-developmentlugassawan/swe-workbenchSkill32d agoMITA181Claude Code