| name | article-ingest |
| description | Ingest and summarize long-form articles from WeChat mp.weixin links, generic web URLs, Feishu docs, pasted text, and local markdown/txt/html files. Use when the user sends an article and wants automatic extraction, cleaning, a 3-line summary, core观点, judgment, topic classification, or archival into a reusable knowledge card. |
Article-Ingest
Turn messy article inputs into structured notes with minimal user effort.
Quick start
- Identify the source type.
- Extract clean text.
- Produce the default digest.
- Archive only when the user asks to save, remember, or build a knowledge base entry.
Source handling
1) WeChat or generic web URL
Use scripts/article_ingest.py.
Example:
python3 /root/.openclaw/workspace/skills/article-ingest/scripts/article_ingest.py \
'https://mp.weixin.qq.com/s/...' --format json
Use the returned title, author, description, and text fields as the source of truth for summarization.
2) Local markdown / txt / html file
Use the same script with a local path.
python3 /root/.openclaw/workspace/skills/article-ingest/scripts/article_ingest.py \
'/path/to/article.md' --format json
3) Pasted raw text
Either summarize directly or pipe the text into the script.
cat article.txt | python3 /root/.openclaw/workspace/skills/article-ingest/scripts/article_ingest.py \
--stdin --title 'Temporary title' --format json
4) Feishu doc link
Activate the feishu-doc skill first, read the document, then continue with the same output contract below.
5) PDF / DOCX / screenshots
This MVP skill does not bundle a dedicated PDF/DOCX/OCR parser.
- If text is already extractable with available tools, extract first and continue.
- If extraction is poor or incomplete, ask the user for a better source: article link, Feishu doc, txt, markdown, or pasted text.
Default output contract
Unless the user asks for another format, return:
- 3-line summary
- Core points
- My judgment
- Worth remembering?
- Topic tags
Use the templates in references/output-templates.md when you want a consistent format.
Archive mode
Only archive when the user explicitly asks to save, remember, file, collect, or build a knowledge card.
Write a markdown note to:
knowledge/articles/YYYY-MM-DD-slug.md
Include:
- title
- source URL or source file
- author / publisher if known
- 3-line summary
- core points
- judgment
- worth remembering
- topic tags
- optional action items
If the article contains a durable lesson that will help future work, also store a short long-term memory entry.
Recommended workflow
A. Fast digest
Use this when the user just wants to know what the article says.
- Extract text.
- Check whether extraction is complete enough.
- Return the default output contract.
- Clearly label any uncertainty caused by incomplete extraction.
B. Knowledge-card mode
Use this when the user wants reusable notes.
- Extract text.
- Return the default digest.
- Convert the digest into a knowledge card using
references/output-templates.md.
- Save it under
knowledge/articles/.
C. Comparative mode
Use this when the user sends multiple articles.
- Extract each source separately.
- Summarize each article in 2-4 bullets.
- Compare overlap, disagreement, and unique value.
- End with a recommendation: what is worth keeping long term.
Guardrails
- Distinguish source claims from your judgment.
- If extraction is partial, say so explicitly.
- If a site blocks fetching, report the blockage quickly and ask for an easier source instead of stalling.
- Prefer concise output first; expand only when the user asks.
- When long external fetching stalls, report:
卡点 + 影响 + 选项.
Read this reference when needed
references/output-templates.md — digest and knowledge-card templates