using-markdown-new

This skill should be used when the user asks to "fetch a website", "get webpage content", "scrape a URL", "download HTML", mentions "WebFetch", or needs to retrieve web content for analysis. Teaches Claude to use markdown.new service instead of direct HTML fetching for ~80% token reduction.

16 stars

Best use case

using-markdown-new is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

This skill should be used when the user asks to "fetch a website", "get webpage content", "scrape a URL", "download HTML", mentions "WebFetch", or needs to retrieve web content for analysis. Teaches Claude to use markdown.new service instead of direct HTML fetching for ~80% token reduction.

Teams using using-markdown-new should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/using-markdown-new/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/documentation/using-markdown-new/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/using-markdown-new/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How using-markdown-new Compares

Feature / Agentusing-markdown-newStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

This skill should be used when the user asks to "fetch a website", "get webpage content", "scrape a URL", "download HTML", mentions "WebFetch", or needs to retrieve web content for analysis. Teaches Claude to use markdown.new service instead of direct HTML fetching for ~80% token reduction.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Using markdown.new for Web Content Fetching

## Overview

markdown.new is a Cloudflare-powered service that converts any URL to clean Markdown, reducing token usage by approximately 80% compared to raw HTML. When fetching web content, always use markdown.new instead of direct URLs to optimize context window usage.

## Basic Usage Pattern

### Standard Conversion

To fetch web content, prepend `https://markdown.new/` to the target URL:

```
Target URL: https://example.com/blog/post
markdown.new URL: https://markdown.new/https://example.com/blog/post
```

Use with WebFetch:

```
WebFetch("https://markdown.new/https://example.com/blog/post", "summarize this article")
```

### With Images

By default, markdown.new strips images to minimize tokens. To retain images, add `retain_images=true`:

```
WebFetch("https://markdown.new/https://example.com/docs?retain_images=true", "analyze the documentation")
```

**When to use this:** Documentation includes diagrams, design mockups, visual content, or screenshots that are essential for the task.

### JavaScript-Heavy Sites

For single-page applications or JavaScript-heavy sites, use the browser rendering method:

```
WebFetch("https://markdown.new/https://example.com?method=browser", "extract content from this React app")
```

The service automatically tries the fastest method first and falls back as needed, but specifying `method=browser` ensures full page rendering.

## Token Efficiency

markdown.new reduces token usage dramatically:

- **HTML**: `<h2 class="section-title" id="about">About Us</h2>` → 12-15 tokens
- **Markdown**: `## About Us` → 3 tokens
- **Reduction**: ~80% fewer tokens

This means 5x more web content fits in the same context window.

## When to Use

**Always use markdown.new when:**

- Fetching blog posts, articles, or documentation
- Scraping web pages for analysis
- Extracting content from websites
- Building knowledge bases or RAG pipelines
- Any task requiring WebFetch

**Exception**: Skip markdown.new for authenticated sites or APIs that return structured JSON (use direct fetch instead).

## Additional Resources

For detailed information, consult:

### Reference Files

- **`references/conversion-methods.md`** - Detailed explanation of auto/ai/browser conversion pipeline
- **`references/query-parameters.md`** - Complete documentation of method and retain_images parameters
- **`references/response-format.md`** - What to expect in responses (headers, token counts, metadata)
- **`references/edge-cases.md`** - Troubleshooting and when to fallback to direct WebFetch

### Working Examples

- **`examples/fetch-blog-post.md`** - Example fetching a blog article
- **`examples/fetch-with-images.md`** - Example using retain_images for visual content
- **`examples/fetch-js-heavy-site.md`** - Example using browser method for SPAs

## Quick Reference

| Use Case       | URL Pattern                                                    | Example                                                            |
| -------------- | -------------------------------------------------------------- | ------------------------------------------------------------------ |
| Standard fetch | `https://markdown.new/{url}`                                   | `https://markdown.new/https://example.com`                         |
| With images    | `https://markdown.new/{url}?retain_images=true`                | `https://markdown.new/https://docs.example.com?retain_images=true` |
| Browser render | `https://markdown.new/{url}?method=browser`                    | `https://markdown.new/https://app.example.com?method=browser`      |
| Combined       | `https://markdown.new/{url}?method=browser&retain_images=true` | Full rendering with images                                         |

Always use markdown.new for web content fetching to optimize token usage and context window efficiency.

Related Skills

obsidian-markdown

16
from diegosouzapw/awesome-omni-skill

Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

markdowntown-atlas-scan

16
from diegosouzapw/awesome-omni-skill

Atlas Simulator scan flow and next-step guidance for markdowntown. Use when working on folder scanning, tool detection, cwd handling, results panels, or scan-to-workbench CTAs.

markdown-mdx

16
from diegosouzapw/awesome-omni-skill

Advanced Markdown and MDX processing for technical documentation. Parse, validate, lint, and transform Markdown content with support for MDX components, front matter, and remark/rehype plugins.

Markdown Export

16
from diegosouzapw/awesome-omni-skill

Specialist in generating comprehensive Markdown reports of the knowledge model.

markdown-drafts

16
from diegosouzapw/awesome-omni-skill

Use markdown formatting when drafting content intended for external systems (GitHub issues/PRs, Jira tickets, wiki pages, design docs, etc.) so formatting is preserved when the user copies it. Load this skill before producing any draft the user will paste elsewhere.

markdown-consolidator

16
from diegosouzapw/awesome-omni-skill

Intelligent consolidation and synthesis of multiple markdown files with overlapping content and different update dates. Use when: (1) Multiple AI-generated markdown files need merging, (2) Knowledge bases have fragmented or duplicate content, (3) Documentation requires recency-aware synthesis, (4) Supporting documents need re-synthesis after AI task completion, (5) Project documentation has semantic overlap across files, (6) Periodic knowledge base maintenance and deduplication is needed.

fix-markdown

16
from diegosouzapw/awesome-omni-skill

Fix lint, formatting, and prose issues in markdown files using Prettier and Vale. Use when the user or agent needs to fix lint, formatting, and prose issues in markdown files.

using-superantigravity

16
from diegosouzapw/awesome-omni-skill

Use when starting any conversation — establishes how to find and use skills, requiring skill check before ANY response including clarifying questions

using-neon

16
from diegosouzapw/awesome-omni-skill

Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/...

using-live-documentation

16
from diegosouzapw/awesome-omni-skill

Use BEFORE implementing, writing, configuring, or setting up ANY feature involving libraries, frameworks, or complex APIs - even before reading existing code. Fetches current documentation to ensure correct usage. Triggers on third-party libraries (such as react-query, FastAPI, Django, pytest), complex standard library modules (such as subprocess, streams, pathlib, logging), and "how to" questions about library usage. Do NOT use for trivial built-ins (such as dict.get, Array.map) or pure algorithms. Load this skill first to receive guidance on finding current documentation when implementing features, exploring code, or answering library-related questions.

using-droidz

16
from diegosouzapw/awesome-omni-skill

Use when starting any conversation - establishes mandatory workflows for finding and using skills in the Droidz/Factory.ai system, including reading skills before usage, following brainstorming before coding, and creating TodoWrite todos for checklists

using-dbt-for-analytics-engineering

16
from diegosouzapw/awesome-omni-skill

Builds and modifies dbt models, writes SQL transformations using ref() and source(), creates tests, and validates results with dbt show. Use when doing any dbt work - building or modifying models, debugging errors, exploring unfamiliar data sources, writing tests, or evaluating impact of changes.