Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

amiao-post-to-wechatamiao 发微信

Agent Skill

amiao-post-to-wechat 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,776

周安装

334

GitHub Stars

公开资料未说明

下载量

2,725
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:amiao-post-to-wechat(amiao 发微信)
来源仓库:https://github.com/tmxccc/amiao-post-to-wechat
安装命令:
openclaw skills install amiao-post-to-wechat
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install amiao-post-to-wechat

简介

amiao-post-to-wechat 用于处理浏览器自动化、网页检查和页面信息提取。

  • 适合让 Agent 打开页面、读取网页或验证前端流程,优先人性化文字处理。
  • 通过 clawhub 安装并使用 openclaw skills install amiao-post-to-wechat 命令调用。
  • 安装前建议确认权限范围和维护状态,注意可能触发联网或浏览器自动化操作。
  • 可结合 GitHub 仓库和原始 README 文档进一步核验具体操作步骤和安全边界。

SKILL.md

name
amiao-post-to-wechat
description
Editor-first WeChat Official Account publishing skill. Posts content to WeChat Official Account (微信公众号) via API or browser, while prioritizing humanized writing, WeChat-native formatting, compatibility, and efficient publishing. Supports article posting (文章) with HTML, markdown, or plain text input, and image-text posting (贴图/图文) with multiple images. Use when user mentions 发布公众号, 微信公众号, post to wechat, 公众号文章, 图文, 贴图, markdown 发公众号, 写完发一下, 帮我发到公众号, or similar.
version
3.0.0
skill_schema
1.0
metadata
openclaw
homepage
https://clawhub.ai/skills/amiao-post-to-wechat
requires
anyBins
changelog
changes
changes

WeChat Official Account Publishing Skill v3.0.0

Language

Always match the user's language. Chinese input → respond in Chinese. English input → respond in English.

Core Principle

This skill is an editor-first, self-improving publishing pipeline — not a raw uploader.

Priority order:

  1. Humanized writing quality
  2. WeChat compatibility
  3. Visual readability
  4. Publishing speed

Never sacrifice compatibility for fancy formatting. Never sacrifice readability for automation.


Quick Reference

ModeWhenKey flag
StandardDefault
TurboContent already polished--turbo or turbo: true in frontmatter
RawSkip all editorial pass--raw
Image-textShort post with imagesauto-detected

Supported tones: 专业评论 · 行业快评 · 知识科普 · 观点专栏 · 深度分析 · 快讯播报

Reference files (load when needed):

  • references/fsm.md — Full FSM state table
  • references/quality-scoring.md — Scoring rubric details
  • references/editorial-rules.md — Humanization + formatting rules
  • references/config-reference.md — All EXTEND.md keys + full example
  • references/scripts.md — Script CLI reference
  • references/troubleshooting.md — Error levels + fix guide

FSM Workflow (Summary)

Load references/fsm.md for the complete state transition table.

State sequence:

idle
  → loading_config
    → resolving_account
      → classifying_input
        → [turbo?] editorial_pass_light / editorial_pass_full
          → metadata_validation
            → packaging_check
              → pre_publish_confirm (if enabled)
                → publishing
                  → reporting → idle

Key transition rules:

  • editorial_pass_full loops max 2 iterations if quality_score < threshold; then warn + continue
  • packaging_check auto-repairs what it can; halts only for missing cover (API mode)
  • publishing auto-retries on LEVEL 1 errors (max 2 retries); escalates on LEVEL 3+
  • Any state can transition to error_report on unrecoverable failure

Error Levels

LevelTypeBehavior
1Transient (token expiry, network blip)Auto-retry silently (max 2, wait 3–10s)
2Auto-repairable (missing summary, cover fallback, over-length)Repair + flag in confirmation
3Requires user action (credentials missing, empty content)Halt + exact setup guide
4Unrecoverable API errorLog + show error code + link to mp.weixin.qq.com

See references/troubleshooting.md for full repair paths.


Quality Scoring (Pre-publish)

Score is computed before pre_publish_confirm. Load references/quality-scoring.md for rubric.

DimensionMaxSignal
opening_hook20First paragraph creates pull or tension
heading_quality15Reader-question style, not generic labels
paragraph_rhythm15Varied length, no mechanical same-beat paragraphs
ai_tone_density20Inverse: fewer blocked phrases = higher score
term_preservation10All protected_terms intact
ending_quality10Human close + CTA present
length_fit10Within default_article_length, not padded
Total100

Thresholds:

  • ≥ 70 → proceed normally
  • 60–69 → proceed with warning in confirmation
  • < 60 → another editorial pass (max 2 total)
  • < 50 → halt even in Turbo mode

Show score + brief per-dimension note in pre_publish_confirm.


Turbo Mode

Activated by --turbo flag or turbo: true in frontmatter.

Skips: deep humanization pass, pre-publish confirmation (auto-proceed), quality score display (only blocks if < 50)

Still runs: metadata resolution, packaging check (auto-repair), cover resolution, token cache check, publish, log

Use when content is already manually polished, or when batch-publishing multiple articles.


Editorial Pass (Standard)

Load references/editorial-rules.md for full humanization rules, AI-tone signal list, and formatting downgrade table.

Parallelizable side-computations (run while main humanization pass runs):

  • Slug generation (from title)
  • Tail keyword generation (from article topic)
  • Profile block inference (from account config)
  • Image count assessment (from article length)

Humanization strength:

  • light: minimal cleanup, preserve style
  • medium: default; improve rhythm, headings, opening, ending
  • strong: substantial rewrite while preserving meaning

Industry terminology protection: Never simplify or paraphrase protected_terms. These are load-bearing words for the target audience.


Image Handling

Count guidance by length:

Article lengthPreferred images
< 800 chars2
800–1500 chars2–3
1500–2000 chars3 (optionally 4)
> 2000 charscompress content first, then reassess

Source resolution order:

  1. Inline images already in markdown / HTML
  2. imgs/ directory beside article file
  3. User-supplied via --images
  4. If insufficient: warn in confirmation, do not block publish

Metadata & Packaging

Metadata resolution (each field):

  • Title: CLI → frontmatter/H1 → strongest H2 → first meaningful sentence → auto-generate
  • Summary: CLI → frontmatter → first paragraph trimmed → auto-generate
  • Author: CLI → frontmatter → account default → global default

Packaging checklist (auto-repair if missing, unless --raw):

  • [ ] Length within default_article_length
  • [ ] 2–4 images (warn if under; do not block)
  • [ ] Long-tail keyword block (3–8 phrases, topic-specific)
  • [ ] Public-account profile block

Cover image resolution (API mode only):

  1. --cover → frontmatter cover fields → imgs/cover.png → first inline image → halt if still missing

Access Token Cache

Cache location (in priority order): amiao/.wechat-token-cache~/amiao/.wechat-token-cache

Behavior: read cache → verify expiry → refresh if expired/invalid → update cache. Failure to refresh = LEVEL 1 retry, then LEVEL 3 if persistent.


Publish Log + Auto-tune

Every successful publish appends one record to amiao/.publish-log.yaml:

- date: <ISO8601+08:00>
  account: <alias>
  article_title: <title>
  quality_score: <0-100>
  humanize_level: <light|medium|strong>
  tone: <tone>
  article_length: <chars>
  image_count: <n>
  publish_method: <api|browser>
  media_id: <id>
  issues_found: [<list of flags>]
  cta_type: <type>
  tail_keywords: [<list>]

Auto-tune (triggered after every 10th publish cycle):

  • Avg quality_score < 72 → suggest reviewing humanization defaults
  • Tail keywords repeat too uniformly → suggest refreshing default_tail_keywords
  • Article length consistently under/over → suggest adjusting default_article_length
  • One tone consistently scores higher → suggest making it default_tone

Report suggestions at end of 10th cycle. Never auto-apply; always surface to user.


Pre-publish Confirmation Summary

Show when confirm_before_publish: true (default), or when packaging was repaired, or when image count is below target.

───────────────────────────────────────
发布前确认 / Pre-publish Summary
───────────────────────────────────────
账号 Account   : [name]
方式 Method    : [api / browser]
主题 Theme     : [theme] [color]
编辑 Editorial : [humanize level] · [tone]

标题 Title     : [title]
摘要 Summary   : [summary]
字数 Length    : ~[N] 字
图片 Images    : [N] 张 [⚠ below target if applicable]
质量评分 Score : [N]/100  ([brief note if < 70])

封面 Cover     : [resolved / ⚠ missing]
长尾词 Keywords: ✓ present / ⚠ missing
账号介绍 Profile: ✓ present / ⚠ missing

[⚠ Any auto-repairs applied]
───────────────────────────────────────
确认发布?(y/n / 输入 e 返回编辑)

If confirm_before_publish: false and no warnings: skip confirmation, show summary inline in completion report instead.


Completion Report

✓ WeChat Publishing Complete!

Input    : [type] · [path]
Method   : [API / Browser]
Account  : [name]
Theme    : [theme] [color]
Editorial: [humanize] · [tone]

Article:
  Title   : [title]
  Summary : [summary]
  Images  : [N]
  Comments: [open/closed] · [fans-only/all]
  Score   : [N]/100

Result:
  ✓ Draft saved to WeChat Official Account
  media_id: [id]   (API mode)

Files:
  [• slug.md if created from plain text]

Next: https://mp.weixin.qq.com → 内容管理 → 草稿箱

Scripts

Load references/scripts.md for full CLI reference.

ScriptPurpose
scripts/wechat-api.tsArticle via API
scripts/wechat-article.tsArticle via browser
scripts/wechat-browser.tsImage-text post
scripts/md-to-wechat.tsMarkdown → WeChat HTML
scripts/check-permissions.tsEnvironment preflight

Runtime: bunnpx -y bun → explain + suggest install

Critical: Publishing scripts handle markdown conversion internally. Never pre-convert markdown to HTML before calling the publish script.


Configuration

Load references/config-reference.md for all supported EXTEND.md keys and a full annotated example.

EXTEND.md location (checked in order):

amiao/amiao-post-to-wechat/EXTEND.md          # project-level
${XDG_CONFIG_HOME:-$HOME/.config}/amiao/amiao-post-to-wechat/EXTEND.md
$HOME/amiao/amiao-post-to-wechat/EXTEND.md    # user-level

If not found → run first-time setup (references/config/first-time-setup.md) before proceeding.

Value priority: CLI → frontmatter → EXTEND (account → global) → skill defaults


OpenClaw / ClawHub Rules

  • SKILL.md is the primary agent contract; keep it self-contained and readable
  • Relative paths assume scripts/references live beside this skill
  • No hard-coded machine-specific absolute paths
  • All defaults degrade gracefully when optional config is absent
  • Skill name, version, and metadata must stay clean for ClawHub distribution
  • Favor backward-compatible defaults on version updates

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.76%
按下载量换算2,119

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills