wechat-archiver
Skill9 starsChanged 2 months agoMITView on GitHub
Archive a WeChat Official Account article into a self-contained knowledge asset with article Markdown, local images, a structured note, metadata, and optional Canvas or Base artifacts. Use when the user wants more than conversion and explicitly asks to archive, organize, or add a WeChat article to a knowledge base.
- Installs packages
In this repository15 other files it gives its agents.
- beautiful-mermaidSkill
- brief-outputSkill
- insight-collectorSkill
- json-canvasSkill
- md2wechatSkill
- note-creatorSkill
- obsidian-basesSkill
- obsidian-markdownSkill
- portpilot-assistantSkill
- publication-ready-docs-jevSkill
- publication-ready-docsSkill
- readme-maintainerSkill
- sync-to-githubSkill
- tech-articleSkill
- wechat2mdSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Read the reported or generated article.md and meta.json.
- Very specific: line 30
If the fetcher reports skipped, validate the existing asset and do not recreate its artifacts.
- Very specific: line 31
Create note.md directly in the asset directory:
- Very specific: line 37
Create diagram.canvas only when relationships or sequence need a visual.
- Very specific: line 38
Create table.base only when multiple comparable Markdown records exist.
- Distinctive: line 62
Do not delete existing assets during refresh.
- Distinctive: line 63
Do not create optional artifacts merely to increase output count.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WeChat Archiver
This Skill is standalone. It contains its own article fetcher and does not call sibling Skills.
Setup
Python 3.8+ and curl in PATH are required.
pip install -r "<skill-dir>/requirements.txt"Workflow
- Confirm the target knowledge-base directory.
- Fetch the article:
python "<skill-dir>/tools/fetch_article.py" "<article-url>" --output-dir "<target-root>/outputs" --target-folder "<folder>"The fetcher reports STATUS=skipped and leaves the existing asset unchanged when its metadata matches the normalized URL and its article hash is valid. Append --refresh only when the user explicitly requests a refresh.
- Read the reported or generated
article.mdandmeta.json. - If the fetcher reports
skipped, validate the existing asset and do not recreate its artifacts. - Create
note.mddirectly in the asset directory:- concise summary,
- key arguments and evidence,
- reusable details,
- source link,
- uncertainty or missing context.
- Create
diagram.canvasonly when relationships or sequence need a visual. Use valid JSON Canvas edges withfromNodeandtoNode. - Create
table.baseonly when multiple comparable Markdown records exist. Scope it to the asset directory. - Merge artifact paths and the final status into
meta.json. - Append one JSON object to
run.jsonl. - Re-read and validate all artifacts before reporting success.
Output contract
<target-root>/outputs/<folder>/<slug>/
├── article.md
├── images/
├── note.md
├── diagram.canvas # optional
├── table.base # optional
├── meta.json
└── run.jsonlBatch mode
Process URLs one at a time with the same workflow. Continue after an individual failure, preserve successful assets, and return a success/failure summary. Do not edit the source inbox unless the user requests it.
Boundaries
- Do not delete existing assets during refresh.
- Do not create optional artifacts merely to increase output count.
- A fetched article is not a completed archive until
note.md,meta.json, and validation are complete.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

