crawlberg-serving-the-api
Skill by xberg-io
Explains how to run `crawlberg serve`, a long-running REST API server that exposes scrape, crawl and map over HTTP. The endpoints are Firecrawl v1-compatible, for apps and non-agent clients that need the crawler over the network.
Install crawlberg-serving-the-api
Built from the published package, never by AI.
git clone --depth 1 https://github.com/xberg-io/crawlberg /tmp/crawlberg && mkdir -p ~/.claude/skills && cp -r /tmp/crawlberg/skills/crawlberg-serving-the-api ~/.claude/skills/crawlberg-serving-the-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install crawlberg-serving-the-api in Claude Code
git clone --depth 1 https://github.com/xberg-io/crawlberg /tmp/crawlberg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/crawlberg/skills/crawlberg-serving-the-api ~/.gemini/antigravity-cli/skills/crawlberg-serving-the-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install crawlberg-serving-the-api in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers `crawlberg serve`, which starts a long-running REST API server that exposes the crawl engine over HTTP. The endpoints are Firecrawl v1-compatible, so existing Firecrawl clients and SDKs can point at a local crawlberg instance. The server binds to a host and port set with flags and logs its address to stderr.
It is aimed at other applications or non-agent clients that speak REST, or at setups where many callers need the crawler over the network. Scrape and map run synchronously, while crawl and batch-scrape return a job id that callers poll until the status is completed, failed, or cancelled. For a single agent, the source recommends the MCP server, and for one-shot jobs the CLI.
Written from the project's SKILL.md and checked against it.
What it can do
- Scrape a URLPOST /v1/scrape runs a synchronous scrape of a single URL.
- Crawl a sitePOST /v1/crawl starts an async job. GET and DELETE on /v1/crawl/{id} poll or cancel it.
- Map URLsPOST /v1/map discovers URLs on a site synchronously.
- Batch scrapePOST /v1/batch/scrape starts an async batch job that is polled by id.
- Download documentsPOST /v1/download downloads a document from a URL.
- Health and versionGET /health and GET /version report server status and version.
- OpenAPI schemaGET /openapi.json returns the OpenAPI schema for the whole surface.
What you need
- Crawlberg binary built with the optional api feature
- Homebrew tap build, which includes serve
- cargo install crawlberg-cli --features api for from-source builds
Try asking
- Start crawlberg serve on port 3000 and check that it is healthy
- Scrape https://example.com as markdown through the local HTTP API
- Start a crawl of example.com with maxDepth 2 and poll its status
Good to know
- No built-in authentication, so do not expose it on a public interface.
- Accepts CORS from any origin.
- Request bodies are capped at 10 MB and requests time out after 5 minutes.
- Requires the binary to be built with the optional api feature.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/crawlberg-serving-the-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
index.md575 B
Alternatives to crawlberg-serving-the-api
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
crawlberg-serving-the-api: common questions
Does crawlberg serve require authentication?
No. The source says the server ships no built-in authentication, so bind it to 127.0.0.1 locally or put it behind a proxy or gateway that enforces auth.
Is it compatible with Firecrawl clients?
Yes, the endpoints are Firecrawl v1-compatible, so existing Firecrawl clients and SDKs can point at a local crawlberg instance.
When should I use serve instead of the MCP server?
Use serve for a persistent HTTP service that many callers or non-agent apps reach over the network. Use the MCP server when an AI agent harness drives the crawler.
How do I install crawlberg-serving-the-api?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is crawlberg-serving-the-api free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is crawlberg-serving-the-api safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to crawlberg-serving-the-api?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
