/SKILL.md
Save WeChat public account articles to a Notion database. Use when user sends a mp.weixin.qq.com link and wants to save/archive it to Notion. Fetches title, cover image, body content (paragraphs, headings, images, code blocks, lists) and writes them as Notion blocks.
npx skillsauth add Gevtolev/wechat-to-notion wechat-to-notionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Save a WeChat article to Notion in three steps: fetch → analyze → save.
Check if the Notion API key is configured:
echo ${NOTION_API_KEY:0:8}...
If missing, tell the user:
You haven't configured a Notion API key yet:
- Go to https://notion.so/my-integrations → + New integration → copy the key (starts with
ntn_)- Open your Notion database → ... → Connect to → select your integration
- Set the key in your OpenClaw config — do not paste it into chat:
OpenClaw will inject it asopenclaw config set skills.entries.wechat-to-notion.NOTION_API_KEY "ntn_xxx"NOTION_API_KEYautomatically.
⚠️ Never ask the user to send the API key as a chat message — it will be exposed in conversation logs.
Ask if the user has an existing Notion database. If yes, use it directly. If no, ask for a parent page URL and create one:
curl -s -X POST https://api.notion.com/v1/databases \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"parent": {"type": "page_id", "page_id": "<parent_page_id>"},
"title": [{"type": "text", "text": {"content": "WeChat Articles"}}],
"properties": {
"Title": {"title": {}},
"URL": {"url": {}},
"Read Time": {"date": {}},
"Rating": {"select": {"options": [
{"name": "⭐", "color": "gray"},
{"name": "⭐⭐", "color": "gray"},
{"name": "⭐⭐⭐", "color": "yellow"},
{"name": "⭐⭐⭐⭐", "color": "orange"},
{"name": "⭐⭐⭐⭐⭐", "color": "red"}
]}},
"Tags": {"multi_select": {}},
"Notes": {"rich_text": {}}
}
}'
Match field names to the user's language (e.g. Chinese users get Chinese field names).
python3 {skillDir}/scripts/fetch_wechat.py <wechat_url> > /tmp/wx_article.json
Use the read tool to load /tmp/wx_article.json. Read the title and text content from blocks, then produce two outputs by reasoning directly:
Keywords (3–5):
Rating (1–5 stars): Based on readability and value, give a star rating:
3 stars and above automatically get a "Featured" tag.
Comment (1 sentence, written in the user's language): Evaluate the article's readability and value, not summarize its content. Focus on:
python3 {skillDir}/scripts/save_to_notion.py \
/tmp/wx_article.json \
<notion_db_url> \
<wechat_url> \
<read_time_iso8601+08:00> \
"<kw1>,<kw2>,<kw3>" \
"<comment>" \
<rating>
read_time: current time in the user's local timezone as ISO 8601 with offset, e.g. 2026-03-12T14:00:00+08:00keywords: comma-separated stringcomment: the single-sentence comment from Step 2rating: integer 1–5 (star rating); 3+ automatically adds "Featured" to tagsThe script auto-detects field names from the database schema by type (title, url, date, select, multi_select), writes all content blocks in batches of 100, and posts the comment to the Notion Comments panel.
og:image meta tag, inserted as the first blockfetch_wechat.pydevelopment
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.