slack-mrkdwn

slack-mrkdwn is a skill for Claude Code, Codex from ccheney/robust-skills. It costs 158 tokens per session (4,662 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 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,662 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.00158 $0.04662
Opus 5 $0.00079 $0.02331
Sonnet 5 $0.00032 $0.00932
Haiku 4.5 $0.00016 $0.00466

Measured 11d ago against content hash 4fe6946a028d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 11d 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 · 323 lines

How it starts

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

Slack mrkdwn

Slack's custom mrkdwn syntax is not standard Markdown. First identify the receiving field; the same punctuation can mean something different on another Slack surface.

Choose the Rendering System

System Common surfaces Example
Slack mrkdwn Top-level message text (default), Block Kit text objects with type: "mrkdwn", composer/classic unfurl blocks, legacy attachment fields enabled by mrkdwn_in *bold* <https://example.com|link>
Standard Markdown markdown block; markdown_text chat method arguments; Work Object string fields/comments with format: "markdown"; Work Object partial-view messages with message_format: "markdown" **bold** [link](https://example.com)
Structured rich_text Slack's WYSIWYG/user-message representation and rich_text_input values Explicit nested JSON elements and style objects
plain_text Labels, buttons, placeholders, view titles, and any text object that must render literally No formatting syntax

Do not translate by punctuation alone. For example, *bold* in mrkdwn is italic in standard Markdown. A rich_text block does not parse either syntax; construct its elements explicitly.

Standard Markdown Surfaces

Markdown Block

{
  "type": "markdown",
  "text": "## Result\n\n**Complete** — see [details](https://example.com)."
}

Slack's markdown block explicitly documents support for:

  • bold, italic, nested bold/italic, and strikethrough
  • ordered and unordered lists
  • links, block quotes, inline code, and fenced code blocks
  • language-tagged fenced code blocks with syntax highlighting
  • headings, horizontal dividers, tables, and task lists
  • images, translated to hyperlink text using the image alt text
  • backslash escaping of documented special characters

The current block reference says all heading levels render at the same size, while Slack's March 6, 2026 changelog says variable-sized headers are being rolled out. Treat heading size as rollout- and client-dependent rather than relying on a specific visual hierarchy until the references converge. A single input block may translate into multiple output blocks. The cumulative text limit across all markdown blocks in one payload is 12,000 characters. A supplied block_id is ignored and not retained.

Read the full file on GitHub · 323 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. 11d 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 (57 stars, last pushed 14d ago), licensed MIT. It adds 158 tokens to every session and 4,662 once invoked, about $0.0008 per session on Opus 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

Other skills, from other repositories

clean-code

Use when writing, editing, reviewing, testing, or refactoring code in any language or framework; when creating files or deciding where code belongs; when designing or changing module boundaries, layers, and dependencies; when starting a new project; or when auditing or cleaning up an existing one. Covers naming…

btseee/clean-code-skills · 112 tokens

workflow-pr-review

Use when reviewing a remote GitHub PR — a first-pass peer review, or a followup re-check after the owner has addressed feedback. Fetches into an ephemeral worktree, runs the reviewer agent against the updated diff with a Review Decision footer instruction, deduplicates findings against existing review threads (±5-line…

lugassawan/swe-workbench · 106 tokens

workflow-branch-sync

Sync the current branch with the default branch via rimba or git, then resolve conflicts file by file with a per-hunk rationale and a keep-mine / keep-main / manual recommendation before staging. Push only happens after explicit confirmation — never automatic.

lugassawan/swe-workbench · 55 tokens

workflow-address-feedback

Use when a PR owner wants to address review feedback — fetches outstanding threads and general comments, presents a per-item triage (ADDRESSED / CLARIFIED / DEFERRED), applies fixes via the Edit tool, commits via workflow-commit-and-pr, resolves review threads via GraphQL resolveReviewThread (those without a thread…

lugassawan/swe-workbench · 85 tokens

workflow-commit-and-pr

Use when the user wants to commit staged changes or create a PR — enforces trigger-phrase discipline (preview vs commit vs ship), the [type] commit format, branch-naming check, draft-vs-ready PR prompt, and PR template detection. Pre-merge counterpart to workflow-cleanup-merged.

lugassawan/swe-workbench · 68 tokens

workflow-development

Development workflow — full lifecycle from Branch → Implement → Verify → Review → Deliver. Activated by /swe-workbench:implement, /swe-workbench:design, /swe-workbench:refactor, /swe-workbench:debug, /swe-workbench:test, /swe-workbench:architect, /swe-workbench:migrate, and /swe-workbench:document when the plan being…

lugassawan/swe-workbench · 172 tokens