wechat-styler

wechat-styler is a skill for Codex from zjp1997720/zhijian-skills. It costs 81 tokens per session (4,219 once invoked), scanned A, original, MIT.

A tool that converts Markdown articles into inline-styled HTML for WeChat public accounts, with selectable layouts and optional structured components or opening animations.

In plain words
What is it for?
Converting one or many Markdown files, choosing a visual theme, adding optional components, and saving HTML to a chosen path.
Why use it?
It prepares article formatting for WeChat without relying on an external formatting service and supports batch conversion.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Converting one or many Markdown files, choosing a visual theme, adding optional components, and saving HTML to a chosen path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjp1997720/zhijian-skills/wechat-styler
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 zjp1997720/zhijian-skills --skill wechat-styler
Clone the repo
git clone --depth 1 https://github.com/zjp1997720/zhijian-skills

Made for: 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 wechat-styler

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjp1997720/zhijian-skills/wechat-styler/github.svg)](https://agentmods.dev/skills/zjp1997720/zhijian-skills/wechat-styler)
Your own site
<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.

agentmods 80×15 button for wechat-styler

Your own site · 80×15
<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>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,219 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.00081 $0.04219
Opus 5 $0.00041 $0.02109
Sonnet 5 $0.00016 $0.00844
Haiku 4.5 $0.00008 $0.00422

Measured 13d ago against content hash e4a3082de451, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 19 executable files (scripts/components.mjs, scripts/content-density-audit.mjs, scripts/convert.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/wechat-styler/SKILL.md · 285 lines

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 左右并列效果预览

使用方式

# 默认模式(纯净排版,无组件无动画)
/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 按事实、判断、机制、例子、边界和行动的切换点拆段。不要用缩小字号、放大行高或增加组件掩盖正文阅读墙。

Read the full file on GitHub · 285 lines

Files

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.

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. 13d ago First seen · 285 lines · 81 tokens per session scan A e4a3082de451

Subscribe to this mod's changes

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.

Related

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.

zjp1997720/wechat-styler · 81 tokens

popular-web-designs

54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.

NousResearch/hermes-agent · 23 tokens

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…

heygen-com/hyperframes · 89 tokens

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…

heygen-com/hyperframes · 139 tokens

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.

zebbern/claude-code-guide · 62 tokens

architecture-diagram

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

mateaix/mateclaw · 15 tokens