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 yanhua1010/self-media-content-workflow --skill self-media-wechat-publishergit clone --depth 1 https://github.com/yanhua1010/self-media-content-workflowWrote 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/yanhua1010/self-media-content-workflow/self-media-wechat-publisher)<a href="https://agentmods.dev/skills/yanhua1010/self-media-content-workflow/self-media-wechat-publisher"><img src="https://agentmods.dev/badge/skills/yanhua1010/self-media-content-workflow/self-media-wechat-publisher/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/yanhua1010/self-media-content-workflow/self-media-wechat-publisher"><img src="https://agentmods.dev/badge/skills/yanhua1010/self-media-content-workflow/self-media-wechat-publisher.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.00112 | $0.00991 |
| Opus 5 | $0.00056 | $0.00495 |
| Sonnet 5 | $0.00022 | $0.00198 |
| Haiku 4.5 | $0.00011 | $0.00099 |
Grade A, and why
self-media-wechat-publisher 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.
What it actually says
公众号发布
目标
把确认过的公众号终稿 Markdown 排版成平台原生富文本,连同封面和文内图片写入公众号草稿箱。只创建草稿,从不群发。
适配层说明
本模块是公众号渠道的发布适配层,基于开源工具 wenyan CLI(Apache-2.0)。wenyan 不可用时不阻塞创作流程,按 self-media-content-delivery 交付手动发布包。
前置检测
wenyan --version确认安装。未安装时提示npm install -g @wenyan-md/cli,用户不想安装则直接交付手动发布包。- 确认
WECHAT_APP_ID和WECHAT_APP_SECRET环境变量存在。只判断存在性,不读取、不回显、不写入任何文件。 - 首次发布前确认运行机器 IP 已加入公众号后台白名单。IP 频繁变动或团队协作场景使用 server 模式,见 wenyan-setup.md。
输入契约
文章顶部必须有 frontmatter:title 必填;cover 为本地或网络路径,缺省时自动取正文第一张图;author 和 source_url 可选。文内图片支持本地绝对路径、相对路径和网络地址,发布时自动上传公众号素材库。模板见 wechat-article-template.md。
小绿书图片消息:frontmatter 设 type: image 自动提取正文全部图片,或手动列出 image_list。最多 20 张,首图即封面。
主题选择
- 优先读取账号风格档案中的默认排版主题。
- 没有默认主题或用户要求换风格时,用当前文章渲染候选主题生成本地预览(
wenyan render -f 文章.md -t 主题),让用户对比选择。 - 用户选定后写入账号风格档案,后续沿用,不重复询问。
- 需要品牌化排版时用
-c加载自定义 CSS 主题。
发布流程
两层授权缺一不可:终稿确认,加上草稿箱写入授权。
- 核对 frontmatter 完整、封面可用、文内图片路径全部有效。
wenyan render本地渲染,确认无乱码、代码块和表格可读。wenyan publish -f 文章.md -t 主题 -h 高亮主题写入草稿箱。- 提醒用户在公众号后台打开草稿,核对标题、封面、前两段、图片数量和外链。
- 把草稿创建时间、使用主题和核对结果写回任务卡。
发布失败时按 wenyan-setup.md 排查。同一错误不盲目重试超过一次,凭据类问题交给用户处理。
多账号
发布到多个公众号时,改用 wenyan 的凭据配置管理多账号,publish 时加 --app-id 指定。每个账号都需要独立配置 IP 白名单。
安全边界
- 只写草稿箱,不调用群发接口。
- 凭据只通过环境变量或 wenyan 凭据配置提供,不写入任务卡、文章、日志或仓库。
- 命令输出中出现 token 或密钥片段时不记录、不转述。
- 发布接口报错、白名单拦截或凭据失效时立即停止并交给用户。
输出
返回:草稿标题、使用主题、封面来源、图片数量、草稿创建时间和需要人工核对的清单。
What ships with it
3 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.
- 13d ago First seen · 61 lines · 112 tokens per session scan A 61a45f5974c7
self-media-wechat-publisher is a skill published in the GitHub repository yanhua1010/self-media-content-workflow (480 stars, last pushed 20d ago), licensed MIT. It adds 112 tokens to every session and 991 once invoked, about $0.0006 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
Instagram Post Builder
Interactively builds a complete, copy-paste-ready Instagram post package - three hook variants using distinct patterns, a caption body, one clear CTA, a 15-20 hashtag set across reach tiers, alt text, and a visual direction with shot list or slide breakdown - through a one-question-at-a-time interview, optionally…
content-strategist
Build editorial content strategy: audience, pillars, platform roles, cadence, calendar, and KPI framework. Triggers on content strategy, editorial calendars, content plans, posting schedules, and content pillars.
image-prompt-engineer
Craft optimized prompts for AI image and short video generation across major models, visual formats, aspect ratios, and content goals. Triggers on image prompts, video prompts, prompt optimization, Flux, DALL-E, Midjourney, and Genfeed visual prompts.
visual-brand-kit
Create visual identity systems for AI-generated content: colors, typography feel, photography style, composition rules, and prompt presets. Triggers on brand kits, visual guidelines, image style, and brand photography.
ad-copy-creator
Create paid ad copy for Meta, Google, LinkedIn, TikTok, and X using direct-response frameworks, platform limits, variants, and test plans. Triggers on ad headlines, ad creative, paid social ads, Google ads, and ad variants.
ad-performance-analyzer
Analyze paid media performance, diagnose issues, and provide optimization recommendations across all major ad platforms. Triggers on "analyze ad performance", "ad metrics", "why is my ROAS low", "ad optimization", "campaign performance", "creative fatigue", "ad budget allocation".