用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/traylinx/2md --skill 2md-reference-routing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use `2md` by Traylinx — a data-extraction API that converts any URL, file, or website into clean, AI-ready Markdown. Supports instant URL-prepend, batch, crawl, sitemap, file conversion, and agent skill generation.
A powerful tool to scrape, render, and convert any URL or entire website into clean Markdown using headless Chrome (Puppeteer). Use when you need to read a webpage, crawl documentation sites, extract text from JavaScript-heavy apps (React, Next.js, Vue), convert HTML files to Markdown, or build a knowledge base from web content. Supports single-page fetch, deep multi-level site crawling with incremental SHA-256 caching, full-page screenshots, image downloading, and both CLI and REST API interfaces.
正在显示 SKILL.md
基于 SOC 职业分类
| name | 2md Reference Routing |
| description | Routing guide for accessing 2md reference documentation. |
All core API endpoints support format=json (structured response, recommended for agents), format=markdown (raw text), or format=stream (NDJSON logs). Agents should always use format=json.
Use method=auto (default) to let the server choose the fastest extraction path: native → static → browser. Use method=browser only for JavaScript-heavy SPAs.
Long-running endpoints (batch, crawl, agentify) accept async: true to return a 202 Accepted response with a job_id.
You can optionally pass an email parameter to receive a branded email with a secure, 72-hour download link when the job finishes, or pass webhook_url for a machine-to-machine POST callback.
For immediate extraction without using the UI or writing API scripts, you can prepend the service URL to any target URL in the browser:
https://2md.traylinx.com/https://example.com/pagehttps://2md.traylinx.com/https://example.com/image.png?apiKey=sk-...| Task | Reference |
|---|---|
| Convert HTML to Markdown | references/_root.md |
| Agentify integration | references/agentify.md |
| Crawl website to Markdown | references/crawl.md |
| Convert a file from a URL to Markdown | references/file2md--from-url.md |
| Convert an arbitrary file to Markdown | references/file2md.md |
| Generate a website sitemap | references/map.md |
| Read privacy policy | references/privacy-html.md |
| Read security policy | references/security-html.md |
| Read terms of service | references/terms-html.md |