Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kay-ou/ClaudeSkills --skill webpage-to-markdowngit clone --depth 1 https://github.com/kay-ou/ClaudeSkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kay-ou/claudeskills/webpage-to-markdown)<a href="https://agentmods.dev/skills/kay-ou/claudeskills/webpage-to-markdown"><img src="https://agentmods.dev/badge/skills/kay-ou/claudeskills/webpage-to-markdown/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kay-ou/claudeskills/webpage-to-markdown"><img src="https://agentmods.dev/badge/skills/kay-ou/claudeskills/webpage-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01001 |
| Opus 5 | $0.00000 | $0.00500 |
| Sonnet 5 | $0.00000 | $0.00200 |
| Haiku 4.5 | $0.00000 | $0.00100 |
Grade A, and why
webpage-to-markdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: webpage-to-markdown description: Convert web pages to clean Markdown format, extracting main content while preserving structure. This skill should be used when users need to convert web pages to markdown, extract content from websites, save web articles as markdown, convert HTML to markdown, archive web content, or process online documentation. Keywords: 网页转markdown, 网页转换, HTML转markdown, 提取网页内容, 保存网页为markdown, convert webpage to markdown, extract web content, save article as markdown, HTML to markdown conversion, web scraping to markdown, 网页内容提取, 在线文档转换 inputs:
- url
- options (optional) outputs:
- markdown_content
- metadata instructions: |
Webpage to Markdown Converter
This skill fetches web pages and converts them to clean, readable Markdown format. It uses readability algorithms to extract the main content while preserving the document structure and formatting.
When to Use This Skill
Use this skill when you need to:
- Convert web articles or documentation to Markdown
- Extract readable content from web pages
- Process web content for analysis or transformation
- Archive web content in a readable format
- Prepare web content for further processing
Processing Steps
Step 1: Fetch Web Page Content
- Validate the provided URL format
- Send HTTP GET request with appropriate headers
- Handle redirects and follow them safely
- Manage different character encodings
- Handle network errors and timeouts gracefully
Step 2: Parse HTML Structure
- Parse HTML using a robust parser
- Identify the main content area using readability heuristics
- Remove navigation, ads, sidebars, and other non-content elements
- Preserve the document's logical structure
- Handle malformed HTML gracefully
Step 3: Extract Main Content
- Use readability algorithms to identify primary content
- Preserve headings and their hierarchy (H1-H6)
- Maintain paragraph structure and flow
- Keep important formatting elements
- Extract images with their alt text and sources
- Preserve links with proper anchor text
Step 4: Convert to Markdown
- Convert headings to appropriate Markdown levels
- Transform paragraphs to Markdown format
- Convert lists (ordered and unordered) to Markdown syntax
- Handle code blocks with language detection
- Convert tables to Markdown table format
- Preserve emphasis (bold, italic) formatting
- Handle blockquotes appropriately
Step 5: Generate Clean Output
- Remove excessive whitespace and blank lines
- Ensure consistent formatting throughout
- Validate Markdown syntax
- Optimize for readability
- Preserve important semantic information
Optional Parameters
The options parameter can include:
include_images: Whether to include images (default: true)preserve_links: Whether to keep all links (default: true)extract_metadata: Whether to extract page metadata (default: true)content_selector: CSS selector for specific content extractionexclude_selectors: CSS selectors for elements to exclude
Output Format
Returns an object containing:
{
"markdown_content": "# Article Title\n\nArticle content in Markdown format...",
"metadata": {
"title": "Original Page Title",
"author": "Article Author",
"publish_date": "2024-01-15",
"url": "https://example.com/article",
"word_count": 1250,
"reading_time": 5,
"extraction_success": true
}
}
Content Preservation
The converter preserves:
- Headings: Maintains heading hierarchy (H1 → #, H2 → ##, etc.)
- Paragraphs: Clean paragraph breaks and spacing
- Lists: Both ordered (1., 2., 3.) and unordered (-, *, +) lists
- Code Blocks: With language detection and proper fencing
- Links: Internal and external links with descriptive text
- Images: With alt text and source URLs
- Tables: Converted to Markdown table syntax
- Emphasis: Bold (text) and italic (text) formatting
- Blockquotes: Preserved with > syntax
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 110 lines · 0 tokens per session scan A b3f0db006837
webpage-to-markdown is a skill published in the GitHub repository kay-ou/ClaudeSkills (10 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,001 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…
resemble-detect
Deepfake detection and media safety — detect AI-generated audio, images, video, and text, trace synthesis sources, apply watermarks, verify speaker identity, and analyze media intelligence using Resemble AI.
content-research-writer
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
slack-gif-creator
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.