Token导航 LogoToken导航

Agent Skill · 开发

slack-mrkdwn(Slack mrkdwn 开发)

用于处理 Slack 工作区里的频道、消息、线程、用户和通知信息。它适合让 Agent 查询团队沟通记录、整理上下文、回复线程或辅助协作提醒。使用时需要确认机器人或用户 token 是否具备目标频道访问权,私有频道和历史消息通常有额外权限限制;发送消息、@成员或批量读取对话时,应避免泄露内部讨论和敏感工作信息。

slack-mrkdwn 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,744 个 Skill 里排第 12,862。

总安装 1,102周安装 45GitHub Stars 39下载 356核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:slack-mrkdwn(Slack mrkdwn 开发)
来源仓库:https://github.com/ccheney/robust-skills
仓库路径:skills/slack-mrkdwn
安装命令:
npx skills add https://github.com/ccheney/robust-skills --skill slack-mrkdwn
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ccheney/robust-skills --skill slack-mrkdwn

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

专用于解析与生成 Slack mrkdwn 标记语言的转换工具。适用于美化文本输出、插入链接或创建简单表格展示。slack-mrkdwn 属于开发类 Skill,可作为该场景下的辅助能力补充。通过 GitHub 安装,集成到 robust-skills 项目套件。不支持所有 HTML 标签,需对照官方映射表调整语法。

复杂排版建议优先使用 Block Kit 而非纯文本格式化。

来源仓库内路径:skills/slack-mrkdwn

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ccheney/robust-skills --skill slack-mrkdwn;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

slack-mrkdwn 怎么安装?

在终端执行 npx skills add https://github.com/ccheney/robust-skills --skill slack-mrkdwn。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

slack-mrkdwn 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

slack-mrkdwn 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

slack-mrkdwn 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

slack-mrkdwn 用的人多吗?

公开数据是累计安装 1,102 次,近一周安装 45 次,下载 356 次,GitHub 39 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

slack-mrkdwn 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
slack-mrkdwn

Slack mrkdwn 开发 · 本页

1,10239需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Slack mrkdwn

Slack's custom text formatting syntax for messages and text objects. Not standard Markdown.

CRITICAL: Two Markup Systems

Slack has two completely different markup syntaxes. Using the wrong one is the most common formatting mistake.

SystemUsed InBoldLinkHeading
Slack mrkdwntext field, text objects (type: "mrkdwn"), section fields*bold*`<url\text>`Not supported
Standard Markdownmarkdown block only**bold**[text](url)# Heading

Standard Markdown syntax (**bold**, [text](url), # Heading) renders as literal text in mrkdwn contexts. Slack mrkdwn syntax (*bold*, <url|text>) renders as literal text in markdown blocks. Never mix them.

The markdown block (type: "markdown") accepts standard Markdown and translates it for Slack rendering. Supports: headings, bold, italic, strikethrough, lists, links, blockquotes, code blocks with optional syntax highlighting, horizontal rules/dividers, tables, task lists, and images (rendered as link text). A single input block may produce multiple output blocks. Cumulative limit across all markdown blocks in one payload: 12,000 characters.

mrkdwn Syntax

FormatSyntaxNotes
Bold*bold*Not **bold**
Italic_italic_Not *italic*
Strikethrough~strikethrough~Not ~~strikethrough~~
Inline code` code `Same as standard Markdown
Code block``` `code` ```No syntax highlighting in mrkdwn; use a markdown block with language-tagged fences for highlighting
Blockquote> quoted textPrefix each line
Link`<https://example.com\display text>`Not [text](url)
Emoji:emoji_name:Standard or custom. Direct Unicode also works
Newline\nLiteral newline in string
Ordered list1. itemPlain text, no special rendering
Bullet list- itemRendered properly in rich_text blocks only

Inline code disables all other formatting within it — use it to display literal text like *not bold*.

Nested Formatting

Combining adjacent format markers without spaces (e.g., *bold*_italic_) is unreliable and may not render correctly. Always add a space between differently-formatted segments:

*bold* _italic_              ← works reliably
*bold*_italic_               ← may fail to render

For reliable combined formatting on a single word, use rich_text blocks with explicit style objects ({"bold": true, "italic": true}).

Links

<https://example.com>                            Auto-detected URL
<https://example.com|Display Text>               URL with custom text
<mailto:user@example.com|Email Link>             Email link

URLs posted in text are auto-linked by Slack. Use <url|text> for custom display text. Spaces in URLs will break parsing — remove them. mrkdwn formatting inside link labels (e.g., <url|*bold*>) works for basic styles.

Link Unfurling

Slack previews ("unfurls") linked content. Control this per message:

ParameterControlsDefault (API)
unfurl_linksText-based content previewsfalse
unfurl_mediaMedia (images, video, audio) previewstrue

Set both to false to suppress all previews. These are chat.postMessage parameters, not mrkdwn syntax.

Mentions and References

User Mentions

<@U0123ABC456>

Triggers a notification for the mentioned user. Auto-converts to display name.

Channel References

<#C0123ABC456>

Auto-converts to channel name. Users without access see "private channel".

User Group Mentions

<!subteam^SAZ94GDB8>

Notifies all members of the user group.

Special Mentions

SyntaxScopeCaution
<!here>Active members in channelUse sparingly
<!channel>All channel membersTriggers push notifications for everyone
<!everyone>All non-guest workspace membersVery disruptive

Best Practice

Always use IDs, not names. IDs are stable; names change:

  <@U0123ABC456>       (user ID)
  @chris                (name — may not resolve)

  <#C0123ABC456>       (channel ID)
  #general              (name — may not resolve)

To enable name-based parsing, set link_names: 1 in the API call. This is fragile and discouraged.

Date Formatting

Displays dates/times localized to the reader's device timezone (not their Slack preference timezone).

Syntax

<!date^{unix_timestamp}^{token_string}^{optional_link}|{fallback_text}>

Tokens

TokenExample Output
{date_num}2014-02-18
{date}February 18th, 2014 (omits year if within ~6 months)
{date_short}Feb 18, 2014
{date_long}Tuesday, February 18th, 2014
{date_pretty}Yesterday / February 18th, 2014
{date_short_pretty}Yesterday / Feb 18, 2014
{date_long_pretty}Yesterday / Tuesday, February 18th, 2014
{time}6:39 AM (12h) or 06:39 (24h)
{time_secs}6:39:42 AM
{ago}3 minutes ago / 4 hours ago

_pretty variants use relative terms ("yesterday", "today", "tomorrow") when applicable.

Examples

<!date^1392734382^{date} at {time}|February 18th, 2014 at 6:39 AM PST>
<!date^1392734382^{date_short_pretty} {time}|Feb 18, 2014 6:39 AM>
<!date^1392734382^{ago}|February 18th, 2014>

Tokens can be mixed with literal text in the token string. The optional link (third ^-separated parameter) makes the date a clickable hyperlink. Fallback text (after |) displays for clients that cannot render date formatting.

Escaping

Only three characters require escaping in mrkdwn:

CharacterEscape Sequence
&&
<<
>>

Do NOT encode other characters as HTML entities. Only these three are control characters in Slack's markup system.

When displaying user-generated content that may contain these characters, always escape them to prevent unintended formatting or link injection.

Text Object

The text object is the most common composition object in Block Kit. It determines how text is rendered.

[
  { "type": "mrkdwn", "text": "*bold* and _italic_", "verbatim": false },
  { "type": "plain_text", "text": "No formatting", "emoji": true }
]

mrkdwn supports Slack mrkdwn syntax. plain_text renders literally. emoji: true converts :emoji: to rendered emoji (plain_text only). Min 1 char, max 3000 chars (section fields max 2000 chars each, max 10 fields).

Where Each Type Is Allowed

ContextAllowed Types
Header block textplain_text only
Section text / fieldsmrkdwn or plain_text
Context elementsmrkdwn or plain_text
Button textplain_text only
Placeholderplain_text only
Input label / hintplain_text only
Modal title / submit / closeplain_text only
Option textplain_text only
Option descriptionmrkdwn or plain_text

Verbatim Behavior

When verbatim: false (default):

  • URLs auto-convert to clickable links
  • Channel names auto-convert to channel links
  • Mentions auto-parse

When verbatim: true:

  • Markdown formatting still processes
  • No auto-linking or mention parsing
  • Useful for displaying raw URLs or text containing @ or # that aren't mentions
{ "type": "mrkdwn", "text": "Check the log at http://example.com/debug", "verbatim": true }

Auto-Parsing Behavior

The parse Parameter (chat.postMessage)

ValueEffect
"none" (default)mrkdwn formatting enabled; minimal auto-parsing of names/URLs
"full"Disables mrkdwn formatting; auto-parses URLs, channel names, user mentions

Disabling Auto-Parsing

In text objects: Set verbatim: true (see above).

In message payloads:

  • Omit link_names argument (or set to 0)
  • Set parse: "none" to disable all auto-parsing

Disabling Formatting Entirely

ContextMethod
Text objectsSet type to "plain_text"
Top-level message textSet mrkdwn: false
AttachmentsExclude field from mrkdwn_in array

Anti-Patterns

Anti-PatternProblemFix
**bold** in mrkdwnRenders literallyUse *bold*
[text](url) in mrkdwnRenders literallyUse `<url\text>`
# Heading in mrkdwnRenders as plain textUse header block or markdown block
*bold* in markdown blockRenders as italicUse **bold**
link_names: 1 for mentionsFragile — names change, IDs don'tUse <@USERID> directly
HTML-encoding beyond &<>Renders literallyOnly escape &, <, >
Spaces in URLsBreaks link parsingURL-encode spaces as %20
Combining *bold*_italic_ without spaceRendering unreliableAdd space: *bold* _italic_

Secondary Attachments (Legacy)

The attachments array adds secondary content below the main message. One of fallback or text is required (unless using blocks).

FieldDescription
fallbackPlain-text summary for limited clients (always plain text)
colorHex color or "good" / "warning" / "danger"
pretextText above the attachment block
author_name, author_link, author_iconSmall author line (16px icon)
title, title_linkLarge heading with optional hyperlink
textMain body (auto-collapses at 700+ chars)
fieldsArray of {title, value, short} objects
image_urlFull-width image (GIF, JPEG, PNG, BMP)
thumb_urlThumbnail (75px max)
footer, footer_icon, tsFooter metadata (footer max 300 chars)
mrkdwn_inArray of fields to format with mrkdwn: "text", "pretext", "fields"

Only "text", "pretext", and "fields" are accepted values in mrkdwn_in. Fields not listed render as plain text. fallback is always plain text.

Prefer Block Kit blocks over attachments for new development.

Reference Documentation

FilePurpose
references/CHEATSHEET.mdQuick reference: mrkdwn syntax, mentions, dates, escaping at a glance

Sources

平台分布

Codex

34.18%
按下载量换算122

Claude

29.33%
按下载量换算104

Cursor

20.26%
按下载量换算72

Gemini CLI

9.11%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills