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

research-to-wechat研究到微信

Agent Skill

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

总安装

16,299

周安装

693

GitHub Stars

2

下载量

5,710
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install research-to-wechat

简介

research-to-wechat 将研究主题转换为带证据链的 Markdown 文章。

  • 支持 URL、笔记、成绩单等多源输入转换。
  • 生成可用于微信公众号发布的格式化内容。
  • 保留完整引用信息与来源归属关系。research-to-wechat 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适合知识分享与个人品牌建设场景。

SKILL.md

name
research-to-wechat
description
A native research-first pipeline that turns a topic, notes, article, URL, or transcript into a sourced article with an evidence ledger, polished Markdown, inline visuals, cover image, WeChat-ready HTML, browser/API-ready draft assets, and optional multi-platform distribution. Use when the user wants 深度研究、改写成公众号、写作、排版、配图、HTML 转换、公众号草稿生成、多平台分发.
metadata
openclaw
emoji
🔬
homepage
https://github.com/Fei2-Labs/skill-genie
requires
anyBins
["python3"]
primaryEnv
WECHAT_APPID
version
0.5.4
category
content-generation
author
Skill Genie
license
MIT

Research to WeChat

<!-- // TODO: split SKILL.md into smaller modules/components -->

Use this skill as a native, research-first article system. It does not route execution to external skills.

Core Rules

  • Match the user's language.
  • Ask one question at a time.
  • Ask only when the answer changes source interpretation, structure frame, style fidelity, or draft delivery behavior.
  • Keep Markdown as the canonical article asset until the HTML handoff.
  • Save a draft only. Never publish live.
  • Separate verified fact, working inference, and open question.
  • Every major claim must be traceable to a source.
  • Every article must end with a "## 参考链接" or "## References" section listing all sources.
  • Apply the full normalization checklist before HTML rendering.
  • Every inline image must pass a two-tier evaluation: eliminate defects first, then verify content match.
  • the renderer converts [text](url) into text (url) because WeChat forbids clickable links.
  • Never pretend the workflow did interviews, long field research, team debate, or hands-on testing when it did not.
  • Prefer visible disclosure of AI assistance and source scope.
  • Treat source capture as a runtime boundary: preserve title, author, description, body text, and image list before rewriting.

Operating Paths

  • Path A: research-first article

use for: topic, keyword, question, notes, transcript, subtitle file goal: build the article from a research brief and evidence ledger

  • Path B: source-to-WeChat edition

use for: article text, markdown file, article URL, WeChat URL goal: preserve the useful source core, then rebuild it for WeChat reading and distribution

Default routing:

  • procedural or tool-teaching material -> tutorial
  • thesis, trend, strategy, critique, case material -> deep-analysis
  • multi-topic roundup -> newsletter

Accepted Inputs

  • keyword, topic phrase, or question
  • notes, outline, or raw material dump
  • article text
  • markdown file
  • PDF paper, report, or whitepaper
  • article URL
  • WeChat article URL
  • video URL
  • full transcript
  • subtitle file that can be expanded into a full transcript

PDF policy:

  • extract all figures, charts, tables, and diagrams as image assets
  • save extracted figures to imgs/source-fig-*.png
  • record captions and page numbers in source.md
  • prefer source figures over generated visuals when they support the claim

Video policy:

  • a video source is valid only when the workflow can obtain the full spoken transcript
  • first attempt transcript recovery from the page, captions, or subtitle assets
  • if no full transcript is obtainable, ask for the transcript or subtitle file and wait

Output

Create one workspace per article: research-to-wechat/YYYY-MM-DD-<slug>/

Required assets:

  • source.md
  • brief.md
  • research.md
  • article.md
  • article-formatted.md
  • article.html
  • manifest.json
  • imgs/cover.png
  • inline illustration files referenced by the markdown body

Required frontmatter in final markdown:

  • title
  • author
  • description
  • digest
  • coverImage
  • styleMode
  • sourceType
  • structureFrame
  • disclosure

manifest.json must capture:

  • pathMode
  • styleMode
  • structureFrame
  • sourceType
  • confidence
  • draftStatus
  • output paths

manifest.json.outputs.wechat must include:

  • markdown
  • html
  • cover_image
  • title
  • author
  • digest
  • images

Script Directory

Determine this SKILL.md directory as SKILL_DIR, then use ${SKILL_DIR}/scripts/<name>.

ScriptPurpose
scripts/fetch_wechat_article.pyWeChat article fetch (mobile UA)
scripts/wechat_delivery.pyNative WeChat delivery entrypoint (check, design-catalog, render, upload-images, save-draft)
scripts/install-openclaw.shOpenClaw skill installer

Native Capability Contract

This skill executes every stage itself:

  • source ingest via bundled fetch script, browser tools, and PDF inspection
  • markdown polish via normalization rules in this skill
  • inline visual planning and cover direction via native article analysis
  • design catalog compile via python3 "${SKILL_DIR}/scripts/wechat_delivery.py" design-catalog
  • WeChat HTML rendering via python3 "${SKILL_DIR}/scripts/wechat_delivery.py" render
  • image upload via python3 "${SKILL_DIR}/scripts/wechat_delivery.py" upload-images
  • draft save via python3 "${SKILL_DIR}/scripts/wechat_delivery.py" save-draft
  • multi-platform distribution via native browser/API steps when Phase 8 is requested

Use the internal contract in capability-map.md.

Delivery Ladder

Resolve WeChat draft delivery in this order:

  1. L0 official-http: WECHAT_APPID and WECHAT_SECRET are ready, so bundled scripts call the official media and draft APIs directly
  2. L1 assisted-browser: only use a browser when the account setup or draft inspection needs human help
  3. L2 manual-handoff: stop with exact file paths and required API fields when official delivery cannot proceed

Author Config (EXTEND.md)

The renderer reads an optional EXTEND.md for author-specific CTA content and preferences. This keeps the skill generic — CTA text, QR codes, and blog URLs belong to the author, not the skill.

Lookup order: project dir → ~/.config/research-to-wechat/~/.research-to-wechat/

See author-config.md for the full format and field reference.

When EXTEND.md is present with a cta section, the renderer appends a styled CTA block after the article body. When absent, no CTA is rendered.

Style Resolution

Resolve style in this order:

  1. explicit user instruction
  2. preset mode
  3. author mode
  4. custom brief

Use the full style system in style-engine.md.

Visual rendering is decided by:

  • styleMode
  • structureFrame
  • light or dark output mode

Execution

Run the article through these phases:

  1. intake and route selection
  2. source packet, brief, and strategic clarification
  3. research architecture with structured question lattice
  4. research merge and evidence ledger
  5. frame-routed master draft with normalization checklist, writing self-check, and machine-verified Chinese de-AI scan (Phase 5 must not proceed without running these):
   # negation-contrast patterns (must be 0 hits)
   grep -n '不是.*而是\|不仅.*而且\|不只.*更\|不再.*而是\|已经不是' article-formatted.md
   # em-dash count (≤5 in body)
   grep -c '——' article-formatted.md
   # exclamation marks (must be 0)
   grep -c '!' article-formatted.md
  1. 微信敏感词合规检查(⛔ 必须通过才能继续):用 wechat-compliance-check 扫描 article-formatted.md,有命中则改写后重新扫描,直到零违规。
  2. refinement, visual strategy, and image evaluation

⛔ Pre-delivery compliance gate (BLOCKING — must execute before Phase 8): Long sessions cause attention decay on early-loaded rules. Before proceeding to HTML rendering and draft save, you MUST: 1. Re-read the project's AGENTS file (cat the file, do not rely on memory). For WeChat projects this is ../AGENTS-wechat.md or the path specified in AGENTS.md. 2. Walk every rule in the AGENTS file line by line and verify the current article/HTML against it. Check file location, typography, HTML constraints, CTA, image rules — every single one. 3. Output a checklist to the terminal with ✅/❌ per rule. Any ❌ must be fixed before continuing. This step exists because context-window attention decay will cause you to forget rules loaded at session start. Do not skip it. Do not check from memory.

  1. native WeChat HTML rendering via wechat_delivery.py render, image upload, draft save, and manifest.

Image upload rules: - If imgs/cdn-urls.json already exists from a previous upload, skip re-uploading unchanged images. Only upload new or modified files (compare filename + file size/mtime). - wechatqr.png (CTA QR code) must reuse the existing CDN URL from project-level images/wechatqr.png or a previous cdn-urls.json. Never re-upload the same QR code per article. - After upload, always merge new CDN URLs into the existing cdn-urls.json (not overwrite).

Draft save rules: - If manifest.json already contains a media_id, pass --media-id to save-draft to update the existing draft. Never create a duplicate. - If a duplicate draft was accidentally created, delete it via API (draft/delete) immediately and keep only the original media_id. - manifest.json is the single source of truth for media_id.

Before draft save, run HTML compliance check (must all pass):

   grep -c 'class=' article.html          # must be 0
   grep -c '<style' article.html          # must be 0
   grep -c '<a href' article.html         # must be 0
   # outermost <section> must have background
   python3 -c "import re;h=open('article.html').read();m=re.search(r'<section[^>]*>',h);print('OK' if m and 'background' in m.group() else 'FAIL')"

Known issue: render collapses newlines inside <code> blocks. The renderer converts markdown fenced code blocks into single-line <code> content, stripping all \ characters. Multi-line code will display as one long line. Detection: python3 -c "import re;h=open('article.html').read();codes=[c for c in re.findall(r'<code>(.*?)</code>',h,re.DOTALL) if len(c)>80 and '<br' not in c];print(f'{len(codes)} collapsed code blocks' if codes else 'OK')" Fix: extract code blocks from the source markdown (which preserves newlines), HTML-escape them, replace \ with <br/>, and substitute back into the rendered HTML. WeChat ignores literal \ in HTML — only <br/> produces visible line breaks. This must run after render and before save-draft.

Known issue: render outputs <thead> without dark background. In dark mode, table headers render with browser-default white/transparent background, making header text invisible. Fix: add background:#1E293B (or the design's surface color) to <tr> and <th> inside <thead>. Also ensure <td> has explicit background matching the page background.

Known issue: render duplicates ordered list numbering. Markdown 1. 2. 3. becomes <ol><li>1. text</li> — the <ol> auto-numbers AND the literal 1. prefix remains. Fix: strip the leading N. from each <li> content.

Known issue: render keeps the H1/H2 title in the HTML body. WeChat article titles are set via the draft API title field, not in the HTML body. The renderer copies the markdown # title into an <h2>. Per WeChat typography rules, this must be removed. Fix: delete the <section> containing the <h2> that matches the draft title.

Known issue: --upload-map may not replace all image paths. After rendering with --upload-map, verify that zero src="imgs/" local paths remain. If any survive, do a string replace pass in post-processing. Detection: grep -c 'src="imgs/' article.html must be 0.

Known issue: reference link section has oversized letter-spacing on mobile. The body line-height:1.9 and font-size:15px cause long URLs in the reference section to spread out on mobile. Fix: override the reference section <p> tags with font-size:13px;line-height:1.6;word-break:break-all;text-align:left.

File path rule: always follow the project's AGENTS file for output directory. This skill defaults to research-to-wechat/YYYY-MM-DD-<slug>/. If the project AGENTS specifies a different convention (e.g. YYYY-MM-DD-<slug>/ at project root), the project rule overrides this skill's default. Check the project AGENTS before creating the workspace directory.

  1. optional multi-platform content generation and distribution

Phase 9 only executes when the user explicitly requests it.

Use the execution contract in execution-contract.md. Use the platform copy specs in platform-copy.md for Phase 8.

Done Condition

The skill is complete only when all of these hold:

  • the article reads as researched before it reads as polished
  • the route choice and structure frame fit the source instead of forcing one house style
  • the chosen style is visible without collapsing into imitation
  • the writing framework self-check for the chosen frame has been applied
  • the evidence ledger clearly separates fact from interpretation
  • every visual adds narrative or explanatory value
  • the normalization checklist has been applied: no citation artifacts, no LaTeX, no broken tables, no scraped UI remnants
  • every image placeholder was evaluated against placement criteria before generation
  • every generated or selected image passed the two-tier quality check
  • markdown and HTML agree on title, summary, cover, and image paths
  • HTML contains zero class= attributes, zero <style> tags, zero <a href> links, and outermost <section> has explicit background
  • manifest.json agrees with the actual output set and draft state
  • the article does not overclaim research effort or authorship
  • wechat-compliance-check returned zero violations on the final markdown
  • the workflow can stop safely at the highest-quality completed artifact if a later handoff fails
  • if Phase 8 was triggered, platform copies follow platform-copy.md and manifest includes their output entries

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

93.08%
按下载量换算5,315

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills