/minli-skill:wechat-publish-templatefrom minli-skill
Converts Markdown articles into orange-black cyberpunk styled HTML for WeChat public account (公众号) publishing. Outputs a single inline-styled HTML file ready for copy-paste into the WeChat editor.
Ships in minli-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
把 Markdown 草稿转成可直接粘贴进微信公众号编辑器的 HTML,使用统一的"个人技术风"视觉系统(主橙 #FF5722 + 深黑 #0A0A0A + 浅灰 #F5F5F5)。
✅ 触发:
.md 路径并说"转公众号 / 转成公众号 HTML / 套模板 / 排版"❌ 不要触发:
Read 该 .md 文件Read references/wechat-html-constraints.md 了解可用/不可用 HTML 特性Read assets/template.html 拿到所有 block 的标准写法按下表把 MD 结构映射到模板 block:
| MD 模式 | 对应 block | 说明 |
|---|---|---|
文档第一个 # 标题 | cover | 大标题封面,副标题用 tagline |
| 紧跟在标题后的 1-3 句开场 | intro | 套"导语"标签 |
## 二级标题 | numbered-heading | 自动编号 01/02/03…,编号取章节顺序 |
| 普通段落 | paragraph | 默认正文 |
> 引用块 | quote | 套"引用块"装饰 |
| 段落中含"结论 / 重点 / 一句话"等关键词 | callout-key | 升级成"重点结论"卡片 |
```代码 ``` | code | 行号 + 深色配色 |
| 数字列表 + "第一步/第二步" 或 1-3 步骤 | steps | 三列卡片,最多 3 个;超过则降级为 ordered list |
 图片 | figure | 提醒用户在公众号编辑器里手动替换为上传后 URL |
- [x] 任务列表 或 项目数 ≥ 4 的并列短句 | checklist | 双列勾选 |
| 文末"## 总结 / 最后 / 写在最后" | summary | 套"总结"卡片 |
| 文末关注引导 | cta-follow | 黑底关注 CTA,二维码占位 |
按 MD 章节顺序把 block 拼起来,包在最外层 <section style="max-width:677px;margin:0 auto;..."> 里。max-width:677px 是公众号正文宽度的最佳值。
<原文件名>.wechat.html./output.wechat.html排版好的 HTML 可以用 wechatsync CLI 直接同步到公众号草稿箱,免去手动复制粘贴。
⚠️ 平台 key 是
weixin,不是weixin,用sync不写-p时默认发去zhihu,juejin,所以发公众号必须显式-p weixin。
wechatsync sync "<文件名>.wechatsync.html" -p weixin --timeout 60000
前提(缺一不可):
wechatsync sync(它才起 9527 监听),扩展再自动连上来。光点扩展图标不会同步本地 HTML。命令一直卡住不返回 = 扩展没连上(没装 / 没开桥接 / 常用 Chrome 没开)。.wechatsync.html vs .wechat.html:
.wechat.html:<img src> 留空,走"浏览器打开 → 全选复制 → 编辑器粘贴"的手动流(见 Step 4).wechatsync.html:<img src> 填本地绝对路径,交给扩展自动上传到素材库。要走 CLI 同步就额外生成这个变体。同步过去通常落在草稿箱,不会直接群发。
<style> 块或 class 属性references/wechat-html-constraints.md<section> 内做装饰,不要靠它承载语义src 留空或填 "REPLACE_IN_WECHAT_EDITOR"——.wechat.html(手动粘贴流)里绝不嵌入本地路径或外链。例外:要走 wechatsync CLI 同步时,另存一份 .wechatsync.html,src 填本地绝对路径供扩展上传(见上节「同步到微信公众号」)#FF5722、深黑 #0A0A0A、文字 #1A1A1A、浅灰 #F5F5F5,不要自创颜色用户:"把 /path/to/draft.md 转成公众号"
→ 读文件 → 拆结构 → 拼 block → 写到 /path/to/draft.wechat.html → 报告
用户:"这段贴一下:[一段 MD],做成公众号"
→ 直接拆 → 拼 → 写到 ./output.wechat.html → 报告
assets/template.html:完整模板(所有 block 的标准写法 + HTML 注释里的 block 名)references/wechat-html-constraints.md:公众号编辑器 HTML 限制速查evals/evals.json:测试用例(用 Anthropic skill-creator 的评测流程跑)README.en.md (opens in a new tab)README.ja.md (opens in a new tab)README.ko.md (opens in a new tab)README.md (opens in a new tab)README.pt-BR.md (opens in a new tab)assets/post-cover.jpg (opens in a new tab)assets/template.html (opens in a new tab)evals/evals.json (opens in a new tab)references/wechat-html-constraints.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wechat-publishing, markdown-to-html, blog-template, wechatsync
Generated from the plugin's indexed repository (limin112/min-skill) — no native marketplace selected
npx claudepluginhub p/limin112-minli-skill8 skills in this plugin
/copy-kakasi「copyKakasi / 逐镜复刻」:把一段有权使用的视频(MV、短片、广告)按原片分镜 1:1 重拍——构图、机位、动作、节奏、配乐都照原片,只把演员换成用户本人、本人明确同意的成年人或 AI 虚构角色。流程:切镜头 → 选镜头、剪歌 → 取首尾帧 → 换脸或打码重画 → 用户自己部署的 MiniMax H3 首尾帧模式逐镜头生成 → 重采样回原帧数、去油腻调色 → 拼接配歌 → 上下对照版。触发:copyKakasi、copy-kakasi、「逐镜复刻」「1:1 复刻」「照着原片一镜一镜重拍」「把这段 MV 换成我来演」,以及成片后按镜头返工(「这镜不要说话」「动作太快」「脸崩了」「跟原片剧情不符」)。不用于:把未同意的真人、未成年人、公众人物的脸放进去;只仿风格、内容重写的新片。/digital-human-koubo把任意一篇文章(技术教程、产品发布、新闻解读、读书笔记、论文、公众号长文……)做成数字人讲解视频,全程本地开源模型、不接云端生成服务:读文章 → 写多角色口播稿(每段带一个声明式画面 visual:大字、配图、圈重点、数据卡、终端、流程、标签、柱状图、金句、片尾阵容)→ 本地文生图出角色首帧(默认 MOSS-Image,可挂自己训的人物 LoRA)→ 本地 MiniMax H3(ComfyUI + Turbo 加速,双卡)按段生成「画面 + 原生配音」→ whisper 逐段回听 → 逐字对齐 → 通用 Remotion 模板出片(配色 / 配乐有魔幻、科技、温暖、史诗四种情绪预设,配乐代码合成无版权)。支持多角色同台(真人感主讲、搭档吐槽、Pixar 风动物、二次元 Q 版)、多语言混说(如英式英语开场切普通话)、双语字幕;另有花字口播 / 发布解读 / 多主播等风格和 48 个包装组件。触发:讲解这篇文章、把文章做成视频、数字人口播、数字人讲解、AI 主播讲一下、用我的数字人讲、本地 H3 生成口播、做个教程讲解视频、加花字 / 加包装。不用于:冒充真人、用别人的脸或声音。/explain-videoBuild a narrated explainer video from a concept — discussion → structure → HTML slide deck → narration script → TTS voice → subtitles → background music → Playwright screen recording → ffmpeg composite. Use when asked to make a 讲解视频 / explainer / talking-deck video, to turn a topic or article into a narrated video or animated slide deck, or to redo one stage of an existing deck (re-record, re-mix BGM, regenerate captions, swap the voice)./freetoken-botsFree-model radar, quota tracker and zero-cost router for OpenRouter + OpenCode Zen. Discovers free models daily (new / no-longer-free / limited-time / anonymous), tracks free quota and rate limits, runs a local OpenAI-compatible router (Chat Completions + Responses API) that fails over only between OpenRouter free models, and uses OpenCode as the harness for OpenCode Zen free models (which official docs restrict to the OpenCode client) — any shell-capable agent can hand tasks to OpenCode with `ftb delegate`. Works with Pi, Codex CLI, OpenCode, Grokbot, Hermes and any OpenAI-compatible agent. Activates when the user mentions OpenRouter, OpenCode Zen, free tokens, free models, zero-cost models, 免费 token, 免费模型, 白嫖模型, or wants an agent to run on free models./handwriting-stand-upTurn a screen recording of handwriting (or a photo of handwritten text) into a single-file HTML "continuation" — the recording plays, the ink lifts off the page as solid 3D letters, a short animated story plays out in front of them (medieval-marginalia characters on a pop-up paper stage, captions, synthesized sound), and everything lies back down on the page at the end. Use when the user sends a video or photo of handwriting and asks to make it 立起来 / 站起来讲故事 / 做成 HTML 延续 / 让手写字变 3D / animate handwritten words into a story, or asks for a new story on an existing stand-up project./hdr-videoConvert an SDR video (or a clip of it) into a 10-bit HEVC HLG / BT.2020 HDR file whose highlights glow on HDR screens, and build a left/right SDR-vs-HDR comparison in a single file. Pure ffmpeg plus a generated 3D LUT (no zscale / libplacebo needed); parameters are chosen from measured luma stats, and the output tags are verified. Use when asked to make a video HDR / 做成 HDR / SDR 转 HDR / HLG / 亮瞎 / 高光发光, to make a clip look like an HDR reference, to compare SDR and HDR side by side (左右对比), or to judge or describe a scene that suits HDR.Other plugins' skills for the same job