just-scrape can be installed as a skill for AI coding agents via Vercel’s skills.sh. This lets agents like Claude, Cursor, and others call ScrapeGraphAI commands directly during a coding session.
Install the skill
What this enables
Once installed, your coding agent can:- Scrape a website to gather data needed for a task
- Convert documentation pages to markdown for context
- Search the web and extract structured results
- Check your credit balance mid-session
- Browse request history
How agents use it
Agents invoke the skill in--json mode so output is clean and token-efficient:
Using with Claude Code
Claude Code is Anthropic’s agentic coding tool that runs in your terminal. Since it can execute shell commands, it works seamlessly withjust-scrape.
Setup
- Install
just-scrapeglobally:npm install -g just-scrape - Set
SGAI_API_KEYin your shell profile (~/.zshrc,~/.bashrc) - Launch Claude Code and ask it to scrape anything
Add just-scrape to CLAUDE.md
Add scraping instructions to yourCLAUDE.md (project root or ~/.claude/CLAUDE.md for global):
CLAUDE.md
Example prompts
Non-interactive / CI usage
Manual setup with Cursor
If you are using Cursor without the skills.sh integration, configurejust-scrape via the MCP Server for the best experience.
Alternatively, add a script to your project that Cursor can call:
.cursor/scrape.sh <url> <prompt> to scrape a page.”
Tips
- Set
SGAI_API_KEYin your shell profile so the skill picks it up automatically across all agent sessions. - Use
--jsonevery time — agents don’t need spinners or banners. - Pass
--schemawith a JSON schema to get typed, predictable output that agents can parse reliably.