AI Agent Hub
Back to skills
News To Markdown icon

News To Markdown

Data Analysis Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_2c495456/news-to-markdown according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem Solved

When an AI Agent receives URLs from Toutiao, WeChat, Zhihu, 36kr, or similar sites, raw fetching often hits anti-bot blocks, dynamic rendering, sidebar noise, and expiring signed image URLs. News To Markdown turns those articles into clean, editable Markdown, reducing downstream cleaning work.

How It Works

The workflow is fetch, extract, and localize:
- Fetch fallback: starts with static fetching and can fall back to Playwright for some dynamic pages.
- Dual extraction: chooses between Mozilla Readability and news-extractor-node, with platform-specific selectors and adaptations for 17 sources.
- Image handling: can download remote images locally, avoiding broken links after signed URLs expire on WeChat, Toutiao, and similar sites.
- Publishing fallback: writes a generated placeholder cover to the cover frontmatter when no cover image is detected, reducing downstream publishing failures.

Boundaries And Notes

It fits article-URL conversion, batch extraction from search results, and noise removal with custom selectors. It is not needed for structured feeds such as GitHub, Reddit, X, or Weibo. Before republishing, preserve source and author attribution and check the site's redistribution policy. For the Skill path, audit the third-party npm package source, and dynamic pages may still require a browser environment.

Use Cases

  • Convert Toutiao, Zhihu, or 36kr article URLs into editable Markdown for archiving and summarization.
  • Extract body text from WeChat, Huxiu, and Wallstreetcn search results to compile news briefs.
  • Handle dynamic or anti-bot-protected article pages, fetch them with fallback, and preserve titles, body text, and code blocks.
  • Before WeChat publishing, download remote images locally and add a placeholder cover to avoid expired image links.

Best For

  • AI Agent engineers who need to convert news articles into Markdown for summarization
  • Content operators who collect weekly industry articles from WeChat, Zhihu, and 36kr
  • Automation developers who need stable body extraction from anti-bot or dynamic pages
  • Technical editors who need local image downloads and cover fallback before WeChat publishing