Skip to main content

Wechat Upload

使用 social-auto-upload 的 sau CLI 登录微信公众平台、发布图文文章,支持摘要、作者、独立封面、创作来源声明与群发通知;发表最后一步的管理员扫码验证由账号管理员本人完成。

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install social-auto-upload-wechat-upload
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/social-auto-upload-wechat-upload/SKILL.md

Setup guide →
0Save

Instructions

微信公众号图文

使用仓库的 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 会进入真实发表流程。

  • PowerShell
  • Bash
  • Python subprocess
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
dayu-upload通过 social-auto-upload 的 sau CLI 完成大鱼号登录、账号核验、视频和文章的立即或定时发布,以及原作品结果查询。文章接收 HTML、Markdown 或 TXT 文件,Markdown 可选择主题。适用于已安装 sau 的环境,无需先阅读上传器源码。0 installskuaishou-upload当 agent 需要通过已安装的 `sau` CLI 完成快手登录、cookie 校验、视频上传或图文发布时使用这个 skill。该 skill 适用于已经安装 `social-auto-upload` 且可调用 `sau` 命令的环境。优先使用这个 skill 进行稳定的命令式快手工作流,而不是一开始就阅读 uploader 源码。0 installsdouyin-upload当 agent 需要通过已安装的 `sau` CLI 完成抖音登录、cookie 校验、视频上传或图文发布时使用这个 skill。该 skill 适用于已经安装 `social-auto-upload` 且可调用 `sau` 命令的环境。优先使用这个 skill 进行稳定的命令式抖音工作流,而不是一开始就阅读 uploader 源码。0 installsyoutube-upload使用 social-auto-upload 的 `sau youtube` 登录 YouTube 并上传、安排定时或设置视频可见范围。Use when 用户要向 YouTube 发布或定时发布视频,或检查 Google/YouTube 登录状态。0 installssocial-auto-upload为 social-auto-upload 提供总入口,按平台和内容类型选择对应发布流程。Use when 用户要在本仓库支持的平台发布视频、文章或图文,或需要把内容分发到多个指定平台。0 installstencent-upload使用 social-auto-upload 的 `sau tencent` 登录视频号并发布或定时发布视频、保存草稿。Use when 用户要向微信视频号发布视频或检查视频号账号状态。0 installs

More from social-auto-upload

View source →

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.645 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.548 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.357 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.254 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.181 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions146 installs

Frequently asked questions about wechat-upload

What does the wechat-upload skill do?

使用 social-auto-upload 的 sau CLI 登录微信公众平台、发布图文文章,支持摘要、作者、独立封面、创作来源声明与群发通知;发表最后一步的管理员扫码验证由账号管理员本人完成。 It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the wechat-upload skill?

Run `npx @skills-hub-ai/cli install social-auto-upload-wechat-upload` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/social-auto-upload-wechat-upload/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does wechat-upload work with?

wechat-upload runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the wechat-upload skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use wechat-upload after installing it?

In Claude Code, type `/social-auto-upload-wechat-upload` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the wechat-upload skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.