wechat-theme-extractor

wechat-theme-extractor is a skill for Codex from YangsonHung/awesome-agent-skills. It costs 25 tokens per session (1,153 once invoked), scanned A, original, MIT.

A tool for reading the visual style of a WeChat Official Account article and turning it into a reusable theme for converting Markdown into WeChat-ready pages.

In plain words
What is it for?
Use it with a WeChat article URL to extract style details, generate a theme for markdown-wechat-converter, write it to markdown-to-wechat.html, and preview the result.
Why use it?
It helps reproduce an article's typography, colors, spacing, layout, and content-block styles instead of designing them manually.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it with a WeChat article URL to extract style details, generate a theme for markdown-wechat-converter, write it to markdown-to-wechat.html, and preview the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor
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 YangsonHung/awesome-agent-skills --skill wechat-theme-extractor
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-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-theme-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor/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-theme-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/wechat-theme-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,153 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.
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.00025 $0.01153
Opus 5 $0.00013 $0.00576
Sonnet 5 $0.00005 $0.00231
Haiku 4.5 $0.00003 $0.00115

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

Security

Grade A, and why

wechat-theme-extractor 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract.py), 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.

skills/en/wechat-theme-extractor/SKILL.md · 148 lines

How it starts

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

WeChat Theme Extractor

Overview

Extract layout and style signals from a WeChat Official Account article, then generate a reusable theme for markdown-wechat-converter. The workflow derives typography, colors, spacing, and block styles from the article, writes the generated theme into markdown-to-wechat.html, and supports previewing the result.

When to Use

Use this skill when the user:

  • Provides a mp.weixin.qq.com article URL
  • Wants to extract typography, color, spacing, and block styles from a WeChat article
  • Wants a new theme generated for markdown-wechat-converter
  • Wants the theme written into markdown-to-wechat.html and previewed

Do not use

Do not use this skill when:

  • The URL is not a WeChat Official Account article
  • The user only wants article text extraction without theme analysis
  • The target project does not contain markdown-wechat-converter or markdown-to-wechat.html

Instructions

  1. Run scripts/extract.py to fetch the article HTML and extract the title and js_content.
  2. Read .extracted_content.html and analyze style traits directly from the HTML.
  3. Generate a theme object compatible with markdown-wechat-converter.
  4. Locate markdown-to-wechat.html in the current workspace and inject the new theme without breaking existing theme definitions.
  5. Re-open the file and verify the theme entry was actually written.
  6. If verification succeeds, open markdown-to-wechat.html in the browser for preview.

Workflow

User provides URL
  -> run extractor script
  -> produce .extracted_content.html
  -> analyze styles
  -> generate theme config
  -> write into markdown-to-wechat.html
  -> verify write result
  -> open preview

Run the script

python3 scripts/extract.py "https://mp.weixin.qq.com/s/xxxxx"

Script responsibilities

The Python script only:

  • Fetches article HTML
  • Extracts the article title
  • Extracts the js_content body fragment
  • Saves the result to .extracted_content.html

Read the full file on GitHub · 148 lines

Files

What ships with it

2 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. 9d ago First seen · 148 lines · 25 tokens per session scan A 73da59d3bff2

Subscribe to this mod's changes

wechat-theme-extractor is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 1,153 once invoked, about $0.0001 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

impeccable-design-ui

A guide to Impeccable’s user-interface design tools, with options for frontend design, critique, audits, colors, animation, and polish.

JWCodeWrote/Agent_Skills_Plugin · 43 tokens

awesome-design-setup

A setup guide for applying one of 58 selected brand styles to a project. It helps choose a brand and downloads its DESIGN.md file to the project root for an AI coding agent to use when building the interface.

JWCodeWrote/Agent_Skills_Plugin · 62 tokens

unify-theme

Use when the user asks to set up, install, or migrate to the Unify Theme for reablocks — a production-ready theme pack built on a three-level design-token system (primitives → semantic → Tailwind utilities) synced with the Unify Figma library. Covers the single-file themeUnify.ts TypeScript download, the Reablocks…

reaviz/skills · 148 tokens

graph-canvas

Main entry point for reagraph. Wraps the Three.js canvas, scene, camera controls, and lasso selection into a single component. Pass nodes and edges data along with layout, theme, and interaction configuration.

reaviz/skills · 0 tokens

chip

Compact element for tags, filters, labels, or selections. Supports colors, variants, sizes, adornments, and interactive states (clickable, selectable). Uses forwardRef and keyboard accessibility (Enter/Space).

reaviz/skills · 0 tokens

command-palette

Searchable command menu with keyboard navigation, sections, hotkey support, and animated items. Typically used inside a Dialog for modal access.

reaviz/skills · 0 tokens