AgentCrawl
БесплатноБез исполняемых скриптовНе проверенRead web pages and documentation as clean Markdown with AgentCrawl, locally. Use when you need the content of a URL, several URLs, or a whole docs site; when…
от jorg18505 установок в других каталогахОб этом скилле
AgentCrawl
AgentCrawl turns web pages into Markdown, links and metadata for agents. It runs on the user's machine: no account, no API key, no hosted scraper. It follows robots.txt, refuses private-network targets unless told otherwise, and reports a bot-check page it recognises instead of returning it as content.
This is the official skill, by the AgentCrawl author.
Setup (once)
Check first: agentcrawl --version. If it is missing, install it (Python 3.10+):
pipx install "agentcrawl-ai[mcp]" # or: python3 -m pip install "agentcrawl-ai[mcp]"
agentcrawl doctor # says what works and what is missing
Plain HTTP pages need nothing else. For pages that only render with JavaScript, add the browser (about 150 MB, only when needed):
pipx inject agentcrawl-ai playwright && python3 -m playwright install chromium
# with pip: python3 -m pip install "agentcrawl-ai[browser]" && python3 -m playwright install chromium
Sites behind Cloudflare ("Just a moment…", error_type: "client_challenge"): add the stealth retry (Patchright):
pipx inject agentcrawl-ai patchright && python3 -m patchright install chromium
# with pip: python3 -m pip install "agentcrawl-ai[stealth]" && python3 -m patchright install chromium
MCP (preferred when the client supports it)
For Claude Code, Codex, Gemini CLI, Cursor or VS Code, one command registers it (it asks first; --yes applies):
agentcrawl setup --client claude_code
agentcrawl doctor --client all # when the tools do not show up: aligned / stale / missing
For other clients, register the stdio server in your own client config, keeping every other server as it is:
{ "mcpServers": { "agentcrawl": { "command": "agentcrawl", "args": ["mcp"] } } }
Then use the tools: scrape_url (one URL), scrape_many (several), map_site (list a site's URLs), crawl_site (bounded multi-page read), extract_structured (CSS schema), and search_web when a search engine is configured. The full client-by-client procedure is in INSTALL_FOR_AGENTS.md in the repository.
Without MCP, use the CLI below. Every command prints JSON on stdout.
Reading pages
agentcrawl scrape https://docs.python.org/3/library/json.html
agentcrawl scrape-many https://example.com/a https://example.com/b
agentcrawl scrape-many --file urls.txt
The page text is in the markdown field: pipe through jq -r .markdown to read only that. Add --format links or --format metadata (repeatable) for more fields; --full-page keeps navigation and footers, which are dropped by default.
Long pages: read only what you need
Do not load a 30,000-token page to answer one question.
agentcrawl scrape https://example.com/guide --format outline # sections with their size in tokens
agentcrawl scrape https://example.com/guide --section s4 # one section, by id or heading text
agentcrawl scrape https://example.com/guide --query "rate limits" --max-tokens 1500
With MCP: scrape_url(url, formats=["outline"]), then scrape_url(url, section="s4"). The page is downloaded once and reused for 10 minutes.
When you will read the same kind of page many times (listings, search results, dashboards), ask once for --format api: it lists the JSON endpoints the page calls, so later reads can be plain HTTP calls to that data.
Sites and docs
agentcrawl map https://docs.example.com --max-urls 200 # URLs only, from sitemaps and links
agentcrawl crawl https://docs.example.com --max-pages 30 --max-depth 2
agentcrawl crawl https://docs.example.com --query "authentication" --max-pages 30
Always set --max-pages. With --query the crawl reads the most relevant links first and stops once pages stop matching the question. Prefer map and then scrape-many on the URLs you picked over a blind crawl.
The JSON behind a page
agentcrawl scrape https://quotes.toscrape.com/scroll --format api
Renders the page in a browser and lists the same-site JSON calls it made: method, URL, status and the response's shape (keys and types, never values). When the data you want comes from one of them, fetch that URL directly instead of scraping the rendered page. Needs the browser extra.
Structured data without an LLM
agentcrawl extract-css https://shop.example.com/catalog --schema products.json
products.json:
{
"baseSelector": "div.product",
"fields": [
{"name": "title", "selector": "h2", "type": "text"},
{"name": "url", "selector": "a", "type": "attribute", "attribute": "href", "transform": "url"},
{"name": "price", "selector": ".price", "type": "text", "transform": "number"}
]
}
Field types: text, attribute, html, regex, nested, list. Selectors outside the supported subset are rejected instead of silently matching nothing.
Search
agentcrawl search "python json streaming parser" --limit 5
Off by defau
Установить AgentCrawl в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл AgentCrawl?
Read web pages and documentation as clean Markdown with AgentCrawl, locally. Use when you need the content of a URL, several URLs, or a whole docs site; when your built-in web fetch fails, returns raw HTML, or the page needs JavaScript; when a page is too long and you only need one section or the parts about a question; or when you want structured data from a page with CSS selectors and no LLM.
Как установить скилл AgentCrawl?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AgentCrawl запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic