wechat-styler

wechat-styler is a skill for Claude Code, Codex from zjp1997720/zhijian-skills. It costs 29 tokens per session (1,900 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 Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

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: Claude Code, 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 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,900 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.00029 $0.01900
Opus 5.5 $0.00012 $0.00760
Sonnet 5.5 $0.00006 $0.00380
Haiku 4.5 $0.00003 $0.00190

Measured 3d ago against content hash 77985e09316c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3d ago.

The scan reads SKILL.md. This mod also ships 24 executable files (scripts/brand-cta.mjs, scripts/components.mjs, scripts/content-density-audit.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 · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WeChat Styler

把已定稿或已授权排版的 Markdown 转成可评审公众号 HTML。默认保留正文并自动加入智见品牌首尾引导(默认 Flow 纸色底 GIF,SVG 为 --cta-style svg 备用);组件改写、主题开场动画和微信编辑器注入按需加载。

WeChat Styler 左右并列效果预览

分支路由

先选分支,再读取对应 reference。默认转换无需读取组件、动画或编辑器细则。

用户需求 执行分支 读取
公众号排版、HTML、换主题、批量转换 默认转换 references/conversion-workflow.md;主题需要判断时再读 references/theme-guide.md
结构化组件、丰富排版、开场动画 组件与动画 默认转换 reference + references/component-guide.md + references/svg-animation-design.md
注入公众号、保存草稿、核验编辑器中的成品 编辑器注入 references/opencli-injection.md + references/wechat-compatibility.md
修改 Zhijian 主题视觉基线 主题维护 references/zhijian-theme-baseline.md + references/theme-guide.md

任务中出现新需求时只补读新增分支。

授权与能力边界

  • 用户已授权排版且正文、主题明确时,简报选择并直接生成 HTML 预览,不重复确认。只有缺口会改变原意、关键表达方向或交付格式且无法推断时才问;先完成不受影响的部分。
  • 预览生成、编辑器写入和草稿保存是不同动作。沿用会话中已有授权;没有编辑器写入或保存授权时,只交付 HTML 与核验结果。
  • 某后端因能力缺失而不可用时,可以选择已授权且满足注入验收条件的后端。遇到明确的权限拒绝或安全策略拒绝时必须停止并报告,不能换工具、CDP、浏览器自动化或间接脚本绕过。
  • 不修改输入 Markdown;组件分支在内存或临时文件中改写。

工作流

1. 默认转换

默认保留正文、不增加正文组件;转换器自动加入品牌开头与结尾引导(默认 Flow 生成的纸色底 GIF,--cta-style svg 切回透明内联 SVG)。开场互斥、关闭方式与素材维护见 references/brand-cta.md;每次转换读取该规则。按 references/conversion-workflow.md 选择主题与参数、运行转换并完成最小 QA。用户只给文件路径时默认使用 zhijian。

2. 组件与动画

组件分支先通过严格段落密度门,再按 component-density 在内存中改写 Markdown。默认 standard,只有用户明确要求“克制”或“丰富、激进、多用组件”时改为 restrained 或 rich。

执行时遵守:

  • 金句、NOTE、WARNING 和其他组件替换对应原文,不在正文后重复同一意思。
  • :::compare、:::flow、:::timeline 独占一行且前后留空行;矩阵对比保留 table。
  • 卡片只放短文本;组件数量、横向布局和完整语法按 references/component-guide.md。
  • 从正文推断开场标题、副标题和不超过 3 个标签;模板选择与 SVG 技术边界按 references/svg-animation-design.md。
  • 话题标签:frontmatter 没有 topics 时,从正文选 3–4 个写入转换用的 frontmatter(或传 --topics):栏目/合集标签固定在首位,再加 2–3 个对准目标读者或本篇主题的话题;不用「人工智能」「AI」这类泛词,品牌或产品名只在正文确实展示该产品时使用,不超过公众号上限 10 个。用户指定标签或明确不要时照办(--topics none)。
  • xiaolan-terminal 只在用户明确要求小蓝、智见小蓝或品牌 IP 时使用。
  • 生成前完成组件 reference 中的检查清单,然后运行转换与移动端视觉 QA。

Read the full file on GitHub · 105 lines

Files

What ships with it

56 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. 3d ago Changed 77985e09316c
  2. 24d ago Changed 7e7a828ec763
  3. 29d ago Changed · -180 lines · -52 tokens per session 7e840b5afb92
  4. 2mo 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 (787 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 1,900 once invoked, about $0.0001 per session on Opus 5.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

wechat-styler compared with skills from other repositories

wechat-styler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wechat-stylerzjp1997720/zhijian-skillsSkill7874d agoMITA29Claude Code, Codex
wechat-stylerzjp1997720/wechat-stylerSkill253mo agoMITA81Codex
popular-web-designsNousResearch/hermes-agentSkill261kyesterdayMITA23Claude Code, Codex
build-ghost-app-uiTryGhost/GhostSkill56kyesterdayMITA45Claude Code, Codex
figmaheygen-com/hyperframesSkill80kyesterdayApache-2.0A66Claude Code
shade-page-templatesTryGhost/GhostSkill56kyesterdayMITA38Claude Code, Codex
shade-use-primitivesTryGhost/GhostSkill56kyesterdayMITA37Claude Code, Codex