News To Markdown: Convert Article URLs to Clean Markdown Text

Introduction

When compiling news summaries, tracking competitors, or populating knowledge bases, a common practice is to copy webpage HTML and manually remove ads and styles. However, for domestic websites (such as WeChat Official Accounts, Toutiao, Zhihu, etc.), the main text is often embedded in complex DOM structures or protected by anti-scraping strategies. Generic scraping scripts often end up capturing navigation bars, comment sections, and fragmented paragraphs.

Below is an introduction to News To Markdown (@user_2c495456/news-to-markdown) on SkillHub. It targets the “single URL → readable Markdown” segment and can be chained with search-based Skills to create a workflow of “search for links first, then read the content article by article.”

What is this

News To Markdown is a community-sourced Agent Skill, currently at version 3.1.6, categorized under data-analysis, and maintained by the publisher user_2c495456. The SkillHub page marks it as requires_api_key=false, meaning that according to the official instructions, no additional API Key is needed after installation.

In one sentence: it takes an article URL as input and outputs clean Markdown content.

Core Features

The following capabilities are based on the official SkillHub description. No speculation is made regarding implementation details not expanded upon on the page.

  1. Multi-platform content optimization
    Specialized processing for 17 platforms. Platforms listed on the page include: Toutiao, WeChat Official Accounts, Zhihu, 36kr, Huxiu, Wallstreetcn, The Paper, InfoQ, etc.

  2. Dual-engine extraction
    Described officially as “dual-engine extraction” to stably retrieve main text across different page structures. Specific engine names and switching logic should refer to the documentation within the Skill package.

  3. Image Localization
    When outputting Markdown, images in the text can be localized to facilitate offline reading or subsequent archiving (specific directories and naming rules depend on the Skill documentation after installation).

  4. Three-tier scraping strategy
    The official description mentions a “three-tier scraping strategy” to handle access restrictions or page loading methods on certain sites. The definition of tiers can be found in the Skill’s own documentation.

  5. Integration with browser-web-search
    The typical combination is: first use browser-web-search (referred to as bws in this text) to search for a list of URLs, and then call this Skill for each URL to read the content. This avoids manually writing site adaptation scripts within the Agent.

Installation and Activation

SkillHub recommends two methods: let the AI perform the installation based on documentation, or use the skillhub CLI to install it to the current Agent’s skills directory.

Method 1: Prompt Installation (From official page)

Send the following prompt to an AI client that is already connected to Skills:

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

Method 2: CLI Installation

First, check if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, you can perform a complete installation according to the SkillHub installation documentation (recommended command from the doc):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing this Skill, you must use --dir to point to the skills directory recognized by your current Agent. The documentation explains that installing to the default ./skills/ may not be loaded by the client. Example:

skillhub install user_2c495456/news-to-markdown --dir <skills directory>

Common paths (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart as required by your client to enable the Skill. Differences between Cursor, Codex CLI, and Claude Code mainly lie in the skills directory location, but the coordinates and --dir principles in the installation command are the same.

Typical Usage

The official SkillHub detail page does not provide standalone CLI sub-command examples. Usage should be understood as: within an Agent session where the Skill is enabled, provide an accessible article URL, and the Agent will invoke the extraction logic according to the Skill’s instructions and return the Markdown.

The reproducible workflow is as follows:

  1. If you do not have target links yet, first enable browser-web-search, and use natural language or keywords to let the Agent search, obtaining a list of article URLs.
  2. For each URL, request “Use News To Markdown to scrape the content and output Markdown” within the same Agent. The Agent should process this according to the steps in @user_2c495456/news-to-markdown.
  3. Save the returned Markdown to a local file, write it to a note repository, or use it as input for downstream analysis (summarization, comparison, archiving).

For a single article scenario, you can directly provide the URL and skip the search step.

Suitable Scenarios and Notes

Who is it for

  • Developers or analysts who need to convert articles from Chinese news sites into Markdown.
  • Those already using Agent + Skill pipelines for retrieval and reading who want to reduce manual crawler scripting.
  • Scenarios where you do not want to apply for a third-party API Key just for article scraping (officially tagged as requires_api_key=false).

Limitations and Precautions

  • Content quality depends on whether the target URL is accessible and whether the platform is within the officially listed optimization scope. Sites not listed may still work via generic logic, but results are not guaranteed by the description.
  • For sites with anti-scraping measures, login walls, or paywalls, whether the three-tier strategy can bypass them depends on the site’s specific policies; actual scraping results must prevail.
  • SkillHub Statistics (as of page display): Rating 100000, Downloads 990, Installs 27. Maintenance frequency for community Skills depends on the publisher; before upgrading, check if the version is still 3.1.6 on SkillHub.
  • When working with bws, the compliance and copyright of search results must be managed by the user. This Skill is only responsible for the URL → Markdown conversion segment.

Conclusion

Through the steps above, News To Markdown simplifies “reading a webpage” into “provide a link, get clean Markdown,” and provides optimization explanations for common domestic news platforms. If you are building an Agent news pipeline, you can plug it in after the search Skill to handle main text extraction specifically.

  • SkillHub Page: https://www.skillhub.cn/skills/user_2c495456/news-to-markdown
  • API Coordinates Page: https://api.skillhub.cn/user_2c495456/news-to-markdown
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye