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 DavidLam-oss/obsidian-wechat-converter --skill ai-layout-skillgit clone --depth 1 https://github.com/DavidLam-oss/obsidian-wechat-converterWrote 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/davidlam-oss/obsidian-wechat-converter/ai-layout-skill)<a href="https://agentmods.dev/skills/davidlam-oss/obsidian-wechat-converter/ai-layout-skill"><img src="https://agentmods.dev/badge/skills/davidlam-oss/obsidian-wechat-converter/ai-layout-skill/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/davidlam-oss/obsidian-wechat-converter/ai-layout-skill"><img src="https://agentmods.dev/badge/skills/davidlam-oss/obsidian-wechat-converter/ai-layout-skill.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.00075 | $0.00788 |
| Opus 5.5 | $0.00030 | $0.00315 |
| Sonnet 5.5 | $0.00015 | $0.00158 |
| Haiku 4.5 | $0.00007 | $0.00079 |
Grade A, and why
wechat-ai-layout 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 2mo 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.
What it actually says
WeChat AI Layout Skill
这个 skill 的目标不是直接输出 HTML/CSS,而是输出一份受约束的布局 JSON,然后交给插件渲染。
Always follow this workflow
- 先识别文章结构 重点看标题层级、导语段落、列表、截图和可选的结尾总结。
- 只使用允许的 block type 不要发明新的 block 名称。
- 只填允许的字段 不要输出额外 HTML、className、style 或脚本。
- 正文主体优先使用
section-block通过sectionIndex引用原文章节,不要重写正文。 - 如果图片不可用 依然要输出合理布局,但不要编造图片 URL。
- 如果原文结构很弱 允许用摘要卡和 case-block 做轻量补全,但不要重写作者观点。
- 保真优先 不要只处理前半篇,也不要为了版式省略后半部分主要内容。
phone-frame仅用于明显像截图/界面的图片 普通配图不要强行套手机壳。
Allowed blocks
heropart-navlead-quotecase-blocksection-blockphone-framecta-card
详细字段约束见 schema/article-layout.schema.json。
Layout families and color palettes
当前内置布局风格与配色方案见 assets/style-packs.json。
layoutFamily控制排版骨架,例如source-first、tutorial-cards、editorial-litecolorPalette控制颜色语气,例如tech-green、ocean-blue
如果用户选择了 auto:
- 你需要给出
recommendedLayoutFamily - 你需要给出
recommendedColorPalette - 并在
resolved中写出最终采用的布局和颜色
Output template
优先参考 templates/article-layout.template.json 的结构。
When diagnosing bad results
如果用户提供的是调试快照或 Prompt 上下文:
- 先判断问题属于哪类
prompt,schema,provider config,image context,fallback strategy - 明确指出是哪一个 block 不合理
- 优先给“下一步最值得改的一处”
- 如需建议新的布局,仍然使用 schema 允许的字段和 block
Guardrails
- 不输出 HTML
- 不输出 CSS
- 不输出任意自定义组件
- 不编造图片、数据或原文没有的结论
- 不把 fallback 逻辑描述成 AI 自己完成的结果
- 不默认追加 CTA
What ships with it
4 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.
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.
- 2mo ago First seen · 78 lines · 75 tokens per session scan A 92fbc7fbc07a
wechat-ai-layout is a skill published in the GitHub repository DavidLam-oss/obsidian-wechat-converter (356 stars, last pushed 4d ago), licensed MIT. It adds 75 tokens to every session and 788 once invoked, about $0.0003 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-09-04.
wechat-ai-layout compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wechat-ai-layoutDavidLam-oss/obsidian-wechat-converter | Skill | 356 | 4d ago | MIT | A | 75 | Claude Code, Codex |
| webgl-holographic-foilnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.6k | yesterday | MIT | A | 47 | Claude Code |