agentsclimarketplace

Webpage to markdown

Skill easyzoom/aix-skills/skills/webpage-to-markdown

Use when converting a public webpage URL into clean Markdown contentFrom its SKILL.md

Install
npx -y skills add easyzoom/aix-skills --skill webpage-to-markdown

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.3 KB, 714 tokens by cl100k_base, as published. Nobody here has run it

Webpage To Markdown

Overview

Convert a webpage into clean Markdown when the user provides only a URL. The goal is to preserve the meaningful article or page content while removing navigation, ads, scripts, cookie banners, and unrelated page chrome.

When To Use

Use this skill when:

  • The user gives a webpage URL and asks for Markdown.
  • The user says "网页转 Markdown", "URL 转 markdown", "convert this page to markdown", or similar.
  • The desired output is readable Markdown, not a screenshot, PDF, or browser automation trace.

Do not use it when:

  • The URL requires private login that the agent cannot access.
  • The user asks to crawl an entire site instead of converting one page.
  • The user needs exact visual layout preservation.

Inputs

Required:

  • One public http or https URL.

Optional:

  • Output path if the user wants the Markdown saved to a file.
  • Focus instruction such as "只要正文", "保留表格", or "包含链接".

Workflow

  1. Fetch the URL with the best available webpage-reading tool.
  2. If the fetch fails because of access restrictions, report the status and ask for a public URL or pasted HTML/text.
  3. Identify the main content: title, headings, article body, lists, tables, code blocks, and important links.
  4. Convert the main content to Markdown.
  5. Remove unrelated content such as navigation menus, cookie banners, newsletter popups, footers, comments, tracking scripts, and repeated sidebar links.
  6. Preserve source links when they are meaningful to the content.
  7. If saving to a file, use a descriptive lowercase filename and the .md extension.

Output Format

For direct chat output:

# Page Title

Source: https://example.com/page

Converted content...

For file output, write the same Markdown content to the requested file path and tell the user where it was saved.

Quality Rules

  • Keep heading hierarchy valid: one # title, then ## and below.
  • Preserve code blocks with fenced Markdown.
  • Preserve tables as Markdown tables when practical.
  • Keep relative links only if the base URL is obvious; otherwise convert them to absolute links.
  • Do not invent content that was not present on the page.
  • If the page is very long, convert the full content unless the user asks for a summary.

Verification

Before claiming completion:

  • Confirm the Markdown contains the page title or a clear generated title.
  • Confirm the source URL is included.
  • Check that obvious boilerplate has been removed.
  • Check that important headings, lists, tables, code blocks, and links were not lost.
  • If a file was requested, confirm the file exists and contains Markdown.

Common Failures

  • Returning a summary instead of a Markdown conversion.
  • Keeping navigation, ads, cookie banners, or footer link dumps.
  • Dropping important tables or code blocks.
  • Failing silently when the page cannot be fetched.
  • Converting multiple pages when the user asked for one URL.

Example

User:

把 https://example.com/article 转成 markdown

Agent:

  1. Fetches the page.
  2. Extracts the main article content.
  3. Returns Markdown with the title, source URL, headings, body, and meaningful links.
  4. Notes any inaccessible sections or removed boilerplate only if it affects the result.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,851. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.