Agent skill

Install the crawlapi skill so any coding agent knows how to call the API, read its errors and keep the key out of the chat.

What it is

One SKILL.md file in the open Agent Skills format, so it works in any agent that loads skills: Claude Code, Codex, Cursor, Gemini CLI, OpenCode, pi and others. It tells the agent when to use crawlapi, how to send the request, what the response holds, what every error code means and when to retry, and how to keep the key out of the chat.

It is instructions only. It holds no key and calls nothing by itself; the agent still needs CRAWLAPI_API_KEY set, and a page costs what the API charges for it.

The file: docs.crawlapi.dev/skill.md. It is built from the same data as the rest of these docs, so its fields, limits, prices and error codes match the API.

Install

Shell
npx skills add https://docs.crawlapi.dev --skill crawlapi

The installer reads the skill index at docs.crawlapi.dev/.well-known/agent-skills/index.json, checks the file against its digest and links it into each agent it finds in the project. Add --global to install it for every project, or --agent claude-code (or codex, cursor, …) for one agent; npx skills add --help lists the options. Pass the site address, not the address of the file, so the index and its digest are used.

Install by hand

Agents read skills from a folder named after the skill. Most of them (Codex, Cursor, Gemini CLI, OpenCode, pi and others) read .agents/skills/ in the project; Claude Code reads .claude/skills/.

Shell
mkdir -p .agents/skills/crawlapi
curl -fsSL https://docs.crawlapi.dev/skill.md -o .agents/skills/crawlapi/SKILL.md

For Claude Code, put the same file at .claude/skills/crawlapi/SKILL.md. The folder must be named crawlapi, the name the file declares. Start a new agent session afterwards so the skill is picked up.

Check that it loaded

Ask the agent, in a new session:

Prompt
Using the crawlapi skill, show the request that reads https://example.com as markdown. Don't run it.

An agent with the skill answers with POST https://api.crawlapi.dev/v1/scrape, the body {"url": "https://example.com", "format": "markdown"} and the key taken from $CRAWLAPI_API_KEY. If it invents another endpoint or other fields, check that the file is named SKILL.md, sits in a crawlapi folder the agent reads, and that the session was restarted.

Update

Shell
npx skills update crawlapi

If you installed it by hand, run the same curl again.

Next

esc
↑↓navigate↵openescclose
Dashboard
Get API key