markdown-from-website
Fetch clean, AI-ready Markdown from any public website using markdown.new. Use whenever you need a web page's content for reading, summarizing, RAG, or documentation extraction — instead of fetching raw HTML.
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- markdown-from-website
- description
- Fetch clean, AI-ready Markdown from any public website using markdown.new. Use whenever you need a web page's content for reading, summarizing, RAG, or documentation extraction — instead of fetching raw HTML.
02 资源文件 2
- 脚本scripts/get-markdown.ps11.6 KB
- 脚本scripts/get-markdown.sh1.2 KB
03 SKILL.md 正文
markdown.new — URL to Markdown
Converts any public URL to clean Markdown (80% fewer tokens than HTML).
Free, no signup. Rate limit: 500 requests/day per IP (HTTP 429 when exceeded;
check the x-rate-limit-remaining response header).
Usage
Wrapper scripts (preferred — handle URL encoding and options):
# PowerShell
scripts/get-markdown.ps1 -Url 'https://example.com' [-OutFile page.md] [-Method auto|ai|browser] [-RetainImages]
# Bash
scripts/get-markdown.sh 'https://example.com' [-m auto|ai|browser] [-i] [-o page.md]
Simplest — GET, prepend the service to any URL:
https://markdown.new/https://example.com/page
Example with curl:
curl -sL 'https://markdown.new/https://example.com'
POST with options (JSON body):
curl -s 'https://markdown.new/' \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com", "method": "browser", "retain_images": true}'
Options work as query params too:
https://markdown.new/https://example.com?method=browser&retain_images=true
| Parameter | Values | Default |
|---|---|---|
method |
auto ai browser |
auto |
retain_images |
true false |
false |
auto: tries nativeAccept: text/markdowncontent negotiation first, falls back to Cloudflare Workers AItoMarkdown(), then headless browser rendering for JS-heavy pages. Just use this unless a page comes back empty.browser: forces headless render (~1–2s extra latency). Use for client-side-rendered SPAs that return empty/truncated content viaauto.retain_images=true: keeps image URLs (default strips them).
Response
content-type: text/markdown; charset=utf-8 with a YAML frontmatter block
(title, etc.) and an x-markdown-tokens header giving the estimated token
count.
Limits and caveats
- Public URLs only — paywalled or authenticated pages fail.
- Very large pages may be truncated.
- Respect site ToS / robots.txt; don't mass-scrape (the bot identifies as
markdown.new/1.0).
Multi-page crawling
For whole site sections, https://markdown.new/crawl runs an async job
(up to ~100–500 pages, configurable depth, single .md download). Only use
when a single page fetch isn't enough — it's slow, so prefer per-URL GETs.
04 同仓库更多 Skills
immich-admin-cli
暂无简介
wsl
Windows Subsystem for Linux (WSL) allows you to run a Linux environment directly on Windows, unmodified, without the overhead of a traditional virtual machine. If you need to run Linux commands, scripts, or applications on a Windows machine, WSL is the way to go. This skill provides guidance on how to use WSL effectively.
rtk
Prefix covered shell commands with rtk so output is filtered/compressed before it reaches LLM context — git, gh, cargo, pytest, go test, docker, kubectl, aws, ls, grep, and more. Applies whenever a covered command is about to be executed in a shell.
ponytail
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).
ponytail-review
Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.
ponytail-help
Quick-reference card for all ponytail modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /ponytail-help, "ponytail help", "what ponytail commands", "how do I use ponytail".