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.
npx skills add zjp1997720/zhijian-skills --skill wechat-stylergit clone --depth 1 https://github.com/zjp1997720/zhijian-skillsWrote 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.
[](https://agentmods.dev/skills/zjp1997720/zhijian-skills/wechat-styler)<a href="https://agentmods.dev/skills/zjp1997720/zhijian-skills/wechat-styler"><img src="https://agentmods.dev/badge/skills/zjp1997720/zhijian-skills/wechat-styler/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.
<a href="https://agentmods.dev/skills/zjp1997720/zhijian-skills/wechat-styler"><img src="https://agentmods.dev/badge/skills/zjp1997720/zhijian-skills/wechat-styler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.04219 |
| Opus 5 | $0.00041 | $0.02109 |
| Sonnet 5 | $0.00016 | $0.00844 |
| Haiku 4.5 | $0.00008 | $0.00422 |
Grade A, and why
wechat-styler 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 13d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- wechat-styler — 88% identical, 71 lines differ
How it starts
The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WeChat Styler - 公众号排版工具
将 Markdown 文章转换为优雅的公众号 HTML,支持多主题切换、结构化组件和 SVG 开场动画。

使用方式
# 默认模式(纯净排版,无组件无动画)
/wechat-styler path/to/article.md
/wechat-styler path/to/article.md --theme kami
# 组件模式(Agent 智能改写 + 开场动画 + 8 种结构化表达)
/wechat-styler path/to/article.md --components
# 丰富组件模式(仅在用户明确要求“激进一点 / 多用组件”时启用)
/wechat-styler path/to/article.md --components --component-density rich
# 批量转换
/wechat-styler "articles/*.md" --theme kami
# 输出到指定路径
/wechat-styler path/to/article.md --output path/to/output.html
两种模式:
- 默认模式:直接转换,克制排版,无组件无动画。90% 场景用这个。
- 组件模式(
--components):Agent 分析文章结构,智能改写 Markdown,自动加开场动画。生成前向用户确认。
组件密度由 Agent 改写层控制,不传时保持 standard:
| 密度 | 触发方式 | 结构组件预算 |
|---|---|---|
restrained |
用户说“克制、少组件、轻排版” | 2-4 个 |
standard |
默认 | 3-6 个 |
rich |
用户说“激进一点、丰富一点、多用组件” | 7-12 个;超过 8000 字可到 14 个 |
普通图片、正文引用和行内高亮不计入结构组件预算。密度只改变组件候选数量,不放宽防重复、卡片短文本和微信兼容规则。
可用主题
| 主题 | 命令 | 风格 | 适用场景 |
|---|---|---|---|
| zhijian(默认) | --theme zhijian |
暖纸感 × 顾问可信度 | 智见AI 品牌内容 |
| kami | --theme kami |
纸感编辑排版 | 深度文章、商业分析 |
| magazine-ink | --theme magazine-ink |
墨水经典杂志 | 通用杂志内页 |
| magazine-indigo | --theme magazine-indigo |
靛蓝研究风 | 技术研究、深度调研 |
| magazine-forest | --theme magazine-forest |
森林田野笔记 | 非虚构、自然叙事 |
| elegant | --theme elegant |
优雅复古 | 商业案例、知识分享 |
| modern | --theme modern |
现代简约 | 科技产品、教程 |
| minimal | --theme minimal |
极简主义 | 哲学思考、个人随笔 |
主题详情、YAML 参数、扩展指南见 references/theme-guide.md。
工作流程
默认模式
用户只给文件路径和主题,Agent 直接调用 convert.mjs 转换,不做 Markdown 改写。
组件模式(--components)
Agent 不直接调用 convert,先执行 5 步智能改写流程:
写作层前置硬门:先检查段落密度
WeChat Styler 不负责把拥挤长段自动切开。段落边界属于写作语义,渲染器按标点拆段会破坏作者节奏。组件改写前先运行:
npm run qa:density -- /absolute/path/to/article.md --strict
如果失败,停止排版,回到上游 Markdown 按事实、判断、机制、例子、边界和行动的切换点拆段。不要用缩小字号、放大行高或增加组件掩盖正文阅读墙。
What ships with it
41 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.
- agents/openai.yaml 505 B
- assets/README.md 463 B
- assets/zhijian-theme-mobile-baseline.png 108 KB
- assets/zhijian-theme-version-comparison-2026-07.jpg 482 KB
- LICENSE 1.0 KB
- package-lock.json 3.5 KB
- package.json 528 B
- references/component-guide.md 14 KB
- references/opencli-injection.md 6.7 KB
- references/svg-animation-design.md 10 KB
- references/theme-guide.md 8.3 KB
- references/wechat-compatibility.md 2.5 KB
- references/zhijian-theme-baseline.md 2.2 KB
- scripts/components.mjs 17 KB runs code
- scripts/content-density-audit.mjs 6.8 KB runs code
- scripts/convert.mjs 57 KB runs code
- scripts/generate-cover-animation.mjs 27 KB runs code
- scripts/generate-preview.mjs 8.8 KB runs code
- scripts/inject-to-wechat.mjs 15 KB runs code
- scripts/mobile-visual-qa.mjs 7.8 KB runs code
- scripts/validate.mjs 10 KB runs code
- scripts/wechat-image-hosts.mjs 351 B runs code
- scripts/wechat-image-pipeline.mjs 5.7 KB runs code
- scripts/wechat-opencli.mjs 19 KB runs code
- scripts/wechat-publish-core.mjs 9.5 KB runs code
- tests/content-density-audit.test.mjs 2.4 KB runs code
- tests/cover-animation.test.mjs 2.6 KB runs code
- tests/fixtures/zhijian-visual-baseline.md 1.0 KB
- tests/inject-cli.test.mjs 8.7 KB runs code
- tests/output-contract.test.mjs 4.1 KB runs code
- tests/wechat-image-pipeline.test.mjs 2.9 KB runs code
- tests/wechat-opencli.test.mjs 1.7 KB runs code
- tests/wechat-publish-core.test.mjs 2.0 KB runs code
- themes/elegant.yaml 1.0 KB
- themes/kami.yaml 1.4 KB
- themes/magazine-forest.yaml 1.4 KB
- themes/magazine-indigo.yaml 1.4 KB
- themes/magazine-ink.yaml 1.4 KB
- themes/minimal.yaml 1000 B
- themes/modern.yaml 1.0 KB
- themes/zhijian.yaml 1.7 KB
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.
- 13d ago First seen · 285 lines · 81 tokens per session scan A e4a3082de451
wechat-styler is a skill published in the GitHub repository zjp1997720/zhijian-skills (680 stars, last pushed 7d ago), licensed MIT. It adds 81 tokens to every session and 4,219 once invoked, about $0.0004 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.
Other skills, from other repositories
wechat-styler
A tool that converts Markdown articles into inline-styled HTML for WeChat Official Accounts, China's publishing platform. It offers selectable visual themes and optional structured components and an opening SVG animation.
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
figma
Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link…
motion-graphics
A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…
data-viz-renderer
Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Offers 8 color palettes and built-in icons with no external dependencies. Triggered when users request data visualization, infographics, charts, or dashboards.
architecture-diagram
Dark-themed SVG architecture/cloud/infra diagrams as HTML.