Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

nasply-wechat-mp-readernasply 微信 mp 阅读器

Agent Skill

nasply-wechat-mp-reader 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,880

周安装

245

GitHub Stars

公开资料未说明

下载量

1,960
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install nasply-wechat-mp-reader

简介

nasply-wechat-mp-reader 抓取微信公众号文章内容与元数据。

  • 适合批量整理公众号资讯、分析传播效果或内容归档。
  • 支持通过名称或 URL 定位文章,结果包含完整正文与 ID。
  • 使用前请确认目标账号授权状态,避免侵犯隐私或版权。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
wechat-mp-reader
description
Fetch WeChat Official Account articles from either a public account name or a WeChat article URL. Use when the user wants to extract full article content, identify the account behind an article, list recent or historical articles for an account, or build article archives from WeChat public accounts. Prioritize article-URL-based resolution first, then account-name search, with graceful fallback when search is unreliable.

WeChat MP Reader

Use this skill for 微信公众号文章抓取、公众号反查、文章列表拉取、全文提取。

What this skill should do

Support these user intents:

  • 给一篇公众号文章链接,提取全文
  • 给一篇公众号文章链接,识别公众号并列出该号文章
  • 给一个公众号名称,查找候选公众号并抓取文章列表
  • 检查、保存、复用微信公众号后台 session
  • 将文章内容标准化为 markdown / structured JSON

Operating principles

  1. URL-first is the default path. If the user gives an article URL, resolve from it first.
  2. Name search is best-effort. If account-name search is unreliable, ask for any article URL from that account.
  3. Full text matters more than stats. Article extraction is core; read/like stats are optional.
  4. Use layered fallbacks. Try plain HTTP first, but for WeChat articles treat browser fallback as normal whenever the page looks non-canonical (verification page, shell page, or mixed JS page). The current fallback is local Playwright WebKit only.
  5. Keep outputs structured. Return normalized account/article objects rather than loose text.
  6. Recover fakeid via search when needed. Article pages often expose biz/account name, but not a stable fakeid; when MP backend session is available, try search-based recovery.
  7. Treat session validity as first-class state. Report whether session is present/valid, instead of hiding failures in generic warnings.

Default workflow

Path A — article URL provided

  1. Parse the article URL and extract __biz, mid, idx, sn.
  2. Fetch the article page.
  3. Extract account metadata from HTML / embedded JS.
  4. Load MP backend session from env or session file.
  5. Validate session and report session.present / session.valid / session.reason.
  6. If fakeid is missing and session is valid, search by account name and match candidates using biz / name.
  7. Extract and clean full article content.
  8. If requested and fakeid is available, list more articles for that account.

Path B — account name provided

  1. Load and validate MP backend session.
  2. Attempt account-name search via the search adapter.
  3. Return ranked candidates.
  4. If a confident match exists, fetch article list.
  5. If search fails or is ambiguous, ask for any article URL from that account and switch to Path A.

Path C — session operations

Use the bundled CLI to:

  • session check — validate current env/file-backed session
  • session show — report non-sensitive session presence/length/status
  • session save — persist env-provided session to local cache file
  • session login-start — start QR login, return scan state, and write a real scannable QR PNG under scripts/cache/wechat-login-qr-real.png
  • session login-status — poll login status and capture fresh session when ready

Expected outputs

Session object

{
  "present": true,
  "valid": false,
  "reason": "invalid session",
  "base_resp": {}
}

Account object

{
  "name": "",
  "biz": "",
  "fakeid": "",
  "avatar": "",
  "signature": ""
}

Article object

{
  "title": "",
  "url": "",
  "publish_time": "",
  "publish_time_raw": "",
  "author": "",
  "account_name": "",
  "content_html": "",
  "content_markdown": "",
  "images": []
}

Implementation notes

  • Prefer the bundled Python prototype at scripts/wechat_mp_reader.py.
  • Default live validation path: use the skill's own session commands (session check, session login-start, session login-status) and then run article <url> --with-account-articles directly via scripts/wechat_mp_reader.py; helper bridge scripts are no longer the default path.
  • session login-start now persists a real scannable QR image to scripts/cache/wechat-login-qr-real.png and returns its path in qr_image_path.
  • Session resolution order is: env vars first, then saved session file.
  • The current article pipeline is URL-first and will automatically fall back to local Playwright WebKit when direct HTTP HTML looks non-canonical.
  • Treat article body extraction as the MVP.
  • Treat account-name search and historical article listing as adapters that can evolve.
  • Treat engagement stats as optional and isolated from the main flow.
  • Cache article HTML and parsed results when repeated fetching is likely.
  • Cache resolved account mappings (biz / name -> fakeid) locally to reduce repeated searchbiz lookups.

Files to use

  • scripts/wechat_mp_reader.py — Python prototype and CLI
  • scripts/wechat_mp_reader/auth.py — session validation helpers
  • scripts/wechat_mp_reader/session_store.py — session load/save helpers
  • references/design.md — architecture, implementation phases, and caveats

Read references/design.md when you need the detailed design, adapter responsibilities, or future roadmap. Read references/usage.md when you need the human-facing usage guide, CLI examples, or natural-language invocation patterns for triggering this skill through an agent.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

72.01%
按下载量换算1,411

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills