install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aviclaw/markdown-extract" ~/.claude/skills/clawdbot-skills-markdown-extract && rm -rf "$T"
manifest:
skills/aviclaw/markdown-extract/SKILL.mdsource content
markdown-extract Skill
Extract clean markdown from any URL using the markdown.new API.
Description
This skill converts web pages to clean markdown format using the markdown.new API. It supports multiple extraction methods and handles errors gracefully.
Usage
!markdown-extract <url> [method]
Arguments
(required): The URL to extract markdown fromurl
(optional): Extraction method -method
,auto
, orai
. Default:browserauto
Examples
# Extract using default method (auto) !markdown-extract https://example.com # Extract using AI method !markdown-extract https://example.com ai # Extract using browser method !markdown-extract https://example.com browser
API
- GET
- Returns clean markdown (auto method)https://markdown.new/<url> - POST with JSON body
- Specific extraction method{url: "...", method: "browser|ai"}
Methods
- auto: Content negotiation with
header (fastest, default)Accept: text/markdown - ai: Cloudflare Workers AI
conversiontoMarkdown() - browser: Headless browser rendering for JS-heavy pages (slowest but most complete)
Error Handling
- Invalid URL: Returns error message
- Network failure: Returns retryable error
- API error: Returns error details
- Cloudflare block detection and fallback handling