wechat-upload

wechat-upload is a skill for Claude Code, Codex from dreammis/social-auto-upload. It costs 52 tokens per session (974 once invoked), scanned A, original, MIT.

A command-line workflow for signing in to the WeChat public-account platform and publishing articles with text and images. WeChat public accounts are publisher accounts used to send content to followers.

In plain words
What is it for?
It helps log in, check the account, upload HTML, Markdown, or text articles, set titles and covers, declare originality, and choose whether to notify followers.
Why use it?
It avoids writing a separate web-upload process and keeps publishing tied to the current login session. The account administrator still performs the required QR-code confirmation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps log in, check the account, upload HTML, Markdown, or text articles, set titles and covers, declare originality, and choose whether to notify followers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dreammis/social-auto-upload/wechat-upload
About the project

social-auto-upload is an automation tool for uploading and scheduling videos across social media platforms including Douyin, Bilibili, Xiaohongshu, TikTok, and YouTube. Content creators and operators use it for repeatable multi-platform publishing, while its catalogue skills expose these upload workflows to coding agents.

dreammis/social-auto-upload · 17,139 stars · on GitHub · sap-doc.nasdaddy.com

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 dreammis/social-auto-upload --skill wechat-upload
Clone the repo
git clone --depth 1 https://github.com/dreammis/social-auto-upload

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-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/dreammis/social-auto-upload/wechat-upload/github.svg)](https://agentmods.dev/skills/dreammis/social-auto-upload/wechat-upload)
Your own site
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/wechat-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/wechat-upload/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-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/wechat-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/wechat-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 974 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.00052 $0.00974
Opus 5.5 $0.00021 $0.00390
Sonnet 5.5 $0.00010 $0.00195
Haiku 4.5 $0.00005 $0.00097

Measured 3d ago against content hash 5fd6856fdafc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wechat-upload 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 3 executable files (scripts/examples/wechat_cli_template.py, scripts/examples/wechat_commands.ps1, scripts/examples/wechat_commands.sh), 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/wechat-upload/SKILL.md · 72 lines

What it actually says

微信公众号图文

使用仓库的 sau wechat 命令,不另写网页上传逻辑。

功能概览

功能 命令入口 说明
登录 sau wechat login --account <name> 可见 Chrome 中管理员微信扫码登录,保存本地会话
账号检查 sau wechat check --account <name> 检查登录态与公众号昵称绑定
图文发布 sau wechat upload-article ... HTML/Markdown/TXT 原稿,正文图片保留原稿位置

微信公众号后台 token 是会话级参数、每次登录都变化;发布时程序会从当前会话重新读取 token,不复用旧值。--account 是本地会话别名,无须与公众号昵称相同。

登录

sau wechat login --account creator
sau wechat check --account creator

在打开的 Chrome 窗口中用管理员微信扫码登录;扫码和确认都在网页完成,账号密码不要告诉 Agent。会话保存在本地,不提交到仓库。登录态失效时重新执行 login。

图文发布

标题最多 64 字,摘要最多 120 字,作者最多 8 字。正文使用 UTF-8 HTML、Markdown 或 TXT;Markdown 首次使用先执行 sau article setup。图片写在原稿对应段落中,相对路径从原稿目录解析:

第一段正文。

![配图](images/1.png)

第二段正文。
sau wechat upload-article --account creator --title "文章标题" --content-file "文章.md" --digest "一句话摘要" --cover "封面.png"
  • --digest:摘要,省略则由公众号用正文开头生成。
  • --author:署名,最多 8 字。
  • --cover:独立封面图片;省略则用公众号默认封面策略,封面不是发布必填项。
  • --originality:none(默认,不声明)或 original(声明原创)。按实际创作方式选择,不要为流量虚报原创。
  • --no-broadcast:发表但不群发通知;默认开启群发。群发会向全部粉丝推送,请确认后再发。
  • --prepare-only:填写并核对后结束,不点击发表;会在编辑器留下远端草稿。

提交前核对标题、正文首段、摘要和账号绑定。编辑器恢复出非空草稿时不会自动清理,请先到后台处理。

发表与管理验证

发表后会依次遇到创作来源声明、发表方式、群发确认弹窗,程序按参数逐项处理,每步只点一次。微信公众号在公开发表时会要求管理员微信扫码验证身份,这一步只能由账号管理员本人完成:程序检测到验证二维码后暂停并提示,等待你在浏览器中扫码。超时或验证未完成时,结果文件的状态为 awaiting_admin_qr 或 submission_unknown,此时不要重发,先到后台「已发表 / 发表记录」按标题和时间核实。

结果文件写在账号目录的 wechat_results/,含标题、账号、图片清单、正文校验摘要(manifest)和阶段状态。prepared 不表示发表成功;只有到后台核实到公开文章才算完成。响应未知时程序禁止自动重试,避免重复群发。

示例脚本

以下文件提供登录、检查、预填与发布模板;移除 --prepare-only 会进入真实发表流程。

Files

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.

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 First seen · 72 lines · 52 tokens per session scan A 5fd6856fdafc

Subscribe to this mod's changes

wechat-upload is a skill published in the GitHub repository dreammis/social-auto-upload (17,139 stars, last pushed 4d ago), licensed MIT. It adds 52 tokens to every session and 974 once invoked, about $0.0002 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-11-28.

Related

wechat-upload compared with skills from other repositories

wechat-upload next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wechat-uploaddreammis/social-auto-uploadSkill17k4d agoMITA52Claude Code, Codex
deyocasatwy/deyo-skillSkill31mo agononeB81Codex
opencli-usagezxfccmm4/Obsidian-OpenCode-KnowledgeSkill3082mo agoMITA66OpenCode
qiaomu-opencli-usagejoeseesun/qiaomu-opencli-skillsSkill9997mo agoMITA69Claude Code, Codex
last30daysmvanhorn/last30days-skillSkill78ktodayMITA16Claude Code, Codex
zerniozernio-dev/zernio-cliSkill338d agoMITA24Claude Code, Codex
laohan-chuangzuohanzhcn/laohan-skillsSkill172d agoMITA177Claude Code, Codex