Agent skill

Sdt Wechat HTML

by StopDisTrain in StopDisTrain/sdt-skills

把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。

MITAuto-check passedProductivity & Automation

Install Sdt Wechat HTML

skills CLI
$ npx skills add StopDisTrain/sdt-skills --skill sdt-wechat-html -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install StopDisTrain/sdt-skills sdt-wechat-html --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/StopDisTrain/sdt-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sdt-wechat-html .claude/skills/sdt-wechat-html && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sdt-wechat-html
GitHub stars
309
Token cost
~274 tokens
SKILL.md length
59 words
Files
4 (incl. scripts, references)
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。

  • Works in 5 steps: 读取… → 运行 scripts/render_wechat_html.py… → 把 SDT 内容包中的图片位置保留为明确占位,不外链未知资源。 → …
  • The user needs a formatted WeChat publishing version
  • SKILL.md covers 前置门, 工作流, 独立运行 and SDT 增量记录
  • Runs Python scripts from its folder

What it does

Sdt Wechat HTML is an agent skill from StopDisTrain/sdt-skills. 把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。 English: Convert a finished, quality-checked Markdown draft into HTML that can be pasted into the WeChat Official Accounts editor, with style selection, preview generation, and paste-compatibility checks. Use when the user needs a formatted WeChat publishing version.

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/styles.md` and `scripts/render_wechat_html.py`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with WeChat. The repository describes itself as: SDT content research, creation and quality-control skills for Codex. The licence is MIT.

When your agent uses it

  • The user needs a formatted WeChat publishing version
  • Tasks that involve Messaging and chat bots

Example prompts

  • “/sdt-wechat-html”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 读取 references/styles.md。用户已指定风格时直接执行;未指定时根据内容选择一个,无法判断时使用 minimal。
  2. 运行 scripts/render_wechat_html.py 生成单个风格;用户明确要比较时使用 --all 生成全部内置风格。
  3. 把 SDT 内容包中的图片位置保留为明确占位,不外链未知资源。
  4. 执行其静态检查:无 style 标签、class、id、脚本、外链和伪元素;正文可见元素具备完整行内样式。
  5. 输出文件并说明粘贴和手机端预览步骤。

What it can do on your machine

Read from SKILL.md and the folder at commit 0678cd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sdt Wechat HTML loads about 274 tokens when it runs, and up to ~555 if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 59 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~274
With references · SKILL.md plus every file in references/, read only if the agent opens them
~555

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from StopDisTrain/sdt-skills at commit 0678cd0, republished under its MIT licence (© StopDisTrain). 59 words, ~274 tokens.

Download SKILL.mdSave it as .claude/skills/sdt-wechat-html/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
sdt-wechat-html
description
把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。 English: Convert a finished, quality-checked Markdown draft into HTML that can be pasted into the WeChat Official Accounts editor, with style selection, preview generation, and paste-compatibility checks. Use when the user needs a formatted WeChat publishing version.

SDT 公众号发布

使用 SDT 自带样式和渲染脚本,把内容包适配成公众号发布文件,不修改观点和事实。

前置门

  • 输入内容已经定稿。
  • 标题、引用和图片占位明确。
  • 事实核验已完成。

未定稿内容先回到对应生产或质检模块,不在排版阶段顺手改文案。

工作流

  1. 读取 references/styles.md。用户已指定风格时直接执行;未指定时根据内容选择一个,无法判断时使用 minimal。
  2. 运行 scripts/render_wechat_html.py 生成单个风格;用户明确要比较时使用 --all 生成全部内置风格。
  3. 把 SDT 内容包中的图片位置保留为明确占位,不外链未知资源。
  4. 执行其静态检查:无 style 标签、class、id、脚本、外链和伪元素;正文可见元素具备完整行内样式。
  5. 输出文件并说明粘贴和手机端预览步骤。

独立运行

最低输入是一份定稿 Markdown。无需账号档案、选题卡或其他 SDT 步骤。

示例命令:

python3 scripts/render_wechat_html.py article.md --style minimal
python3 scripts/render_wechat_html.py article.md --all

SDT 增量记录

归档时同时保存:

  • 来源 Markdown 版本
  • style id
  • HTML 文件
  • 生成时间
  • 发布后使用的实际版本

不得把公众号排版表现误写为内容机制验证结果。

© StopDisTrain, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/sdt-wechat-html of StopDisTrain/sdt-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/styles.md
  • scripts/render_wechat_html.py

Open the folder on GitHubat commit 0678cd0

Compare with similar skills

Sdt Wechat HTML next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sdt Wechat HTML compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sdt Wechat HTML this skillStopDisTrain/sdt-skills309—~274Automated safety check: PassMIT
She Love Me863401402/she-love-me9191 repos~1.3kAutomated safety check: PassMIT
Wechat Article Extractorfreestylefly/wechat-article-extractor-skill1361 repos~1kAutomated safety check: PassNone
Wechat Miniprogram Builderchenjin-cmd/wechat-miniprogram-builder355—~634Automated safety check: PassMIT
Skill Wechat PublisherZJU-REAL/Easel3.2k—~1.8kAutomated safety check: PassApache-2.0
Wechat Mp Writerth3ee9ine/wechat-claw-skill206—~1.4kAutomated safety check: PassMIT

Similar skills

  • She Love Me

    863401402/she-love-me

    Acquire, import, and analyze WeChat or QQ chat histories, including installing supported exporters, guiding required login or contact selection, converting exports, assessing relationship dynamics…

    919 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Article Extractor

    freestylefly/wechat-article-extractor-skill

    Extract metadata and content from WeChat Official Account articles.

    136 GitHub starsUsed in 1 repo~1k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Miniprogram Builder

    chenjin-cmd/wechat-miniprogram-builder

    This skill should be used when the user wants to build, launch, monetize, or promote a WeChat mini-program with AI (vibe coding) — including topic selection, account registration & ICP filing…

    355 GitHub stars~634 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • 微信公众号文章自动创作与发布工具。给定参考文章、文字或文档,自动搜索整理全网相关信息、生成图文并茂的公众号文章,并发布到微信公众号草稿箱。特别强调反 AI 检测写作。

    3.2k GitHub stars~1.8k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Wechat Mp Writer

    th3ee9ine/wechat-claw-skill

    微信公众号文章全自动写作与发布。从信息搜集、AI配图规划、报刊级 HTML 排版、到草稿创建和发布的完整流程。适用于 AI 日报、财经周报、深度分析、新闻资讯类文章。内置多种模板,并提供本地渲染、校验、图片规划和发布流水线脚本。

    206 GitHub stars~1.4k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Qiaomu Wx Video

    joeseesun/qiaomu-wx-video

    Qiaomu skill and workflow for downloading a WeChat Channels / 视频号 video or generated live replay when the user provides a weixin.qq.com/sph share link.

    134 GitHub stars~751 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed

More from StopDisTrain/sdt-skills

All 15 skills in this repo
  • Sdt Topic

    StopDisTrain/sdt-skills

    把已验证的传播机制转成适合目标账号的内容选题,并完成生成、迁移、评分和筛选,让选题自然连接人设、产品或门店。用户要从低粉爆款、垂直样本、邻近受众或跨赛道内容中寻找新选题时使用。

    309 GitHub stars~339 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt

    StopDisTrain/sdt-skills

    SDT 内容生产工具箱的总入口:根据当前任务选择最合适的 sdt- 模块,既能完成标题、开头等单一步骤,也能组织从账号研究到发布的完整流程。用户不知道该用哪个 SDT Skill,或希望一站式完成内容生产时使用。

    309 GitHub stars~535 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Research

    StopDisTrain/sdt-skills

    只读检索小红书公开内容,并把账号数据、标题、封面、互动量、作者近期内容和低粉爆款整理成可追溯证据。用户要求查公开账号或笔记数据时使用;不得点赞、收藏、评论、发布、删除或导出登录凭证。

    309 GitHub stars~343 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Xhs Title

    StopDisTrain/sdt-skills

    根据主题、正文或已有标题生成并筛选小红书标题,提供改写和 A/B 方案,同时检查账号调性、真实性以及正文能否兑现标题承诺。用户要起标题、改标题、套用标题模式或检查标题时使用。

    309 GitHub stars~247 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Account

    StopDisTrain/sdt-skills

    把账号链接、主页截图、产品说明和历史内容整理成可复用的账号档案,明确调性、人设、受众、产品连接和表达边界。用户要求分析账号定位、建立账号资料,或开始完整内容生产流程时使用。

    309 GitHub stars~257 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Content

    StopDisTrain/sdt-skills

    把已经确认的选题写成可以直接拍摄或发布的内容,包括选择形式、搭建结构、写口播逐字稿或图文正文,并让产品自然出现。用户要求把选题变成成稿、拍摄稿或发布稿时使用。

    309 GitHub stars~280 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Sdt Wechat HTML

What does Sdt Wechat HTML do?

把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。. Sdt Wechat HTML is an agent skill from StopDisTrain/sdt-skills. 把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。 English: Convert a finished, quality-checked Markdown draft into HTML that can be pasted into the WeChat Official Accounts editor, with style selection, preview generation, and paste-compatibility checks.

When should I use Sdt Wechat HTML?

Sdt Wechat HTML fits situations like: the user needs a formatted WeChat publishing version; tasks that involve Messaging and chat bots.

How do I install Sdt Wechat HTML in Claude Code?

Run `npx skills add StopDisTrain/sdt-skills --skill sdt-wechat-html -a claude-code`. Or copy the skill folder (skills/sdt-wechat-html in StopDisTrain/sdt-skills) into .claude/skills/sdt-wechat-html in your project. Claude Code loads it when a task matches its description.

How do I install Sdt Wechat HTML in Codex?

Run `npx skills add StopDisTrain/sdt-skills --skill sdt-wechat-html -a codex`. Or copy the skill folder (skills/sdt-wechat-html in StopDisTrain/sdt-skills) into .agents/skills/sdt-wechat-html in your project. Codex loads it when a task matches its description.

Can I use Sdt Wechat HTML in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add StopDisTrain/sdt-skills --skill sdt-wechat-html -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sdt-wechat-html, .gemini/skills/sdt-wechat-html, .github/skills/sdt-wechat-html and .opencode/skills/sdt-wechat-html in your project.

What does Sdt Wechat HTML need to run?

Going by SKILL.md and its folder, Sdt Wechat HTML needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Sdt Wechat HTML access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sdt Wechat HTML safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Sdt Wechat HTML use?

Sdt Wechat HTML is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sdt Wechat HTML use?

About 274 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 281 tokens, read only when the agent opens those files.

What are the alternatives to Sdt Wechat HTML?

Skills that share tags, products or a category with Sdt Wechat HTML: She Love Me (863401402/she-love-me, 919 stars), Wechat Article Extractor (freestylefly/wechat-article-extractor-skill, 136 stars), Wechat Miniprogram Builder (chenjin-cmd/wechat-miniprogram-builder, 355 stars) and Skill Wechat Publisher (ZJU-REAL/Easel, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sdt Wechat HTML?

StopDisTrain (a GitHub user) maintains it in StopDisTrain/sdt-skills, which has 309 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on August 25, 2026.

Source: StopDisTrain/sdt-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.