| name | cli-recipes |
| description | This skill should be used when the user asks about "firecrawl CLI", "jina CLI", "firecrawl command line", "jina command line", "scrape from terminal", "search from shell", or needs ready-to-use CLI commands for web scraping and search. |
Web Search CLI Recipes
CLI commands for Firecrawl and Jina — the two services with official CLIs.
Firecrawl CLI
Installation
npm install -g firecrawl-cli
npx -y firecrawl-cli@latest
Authentication
firecrawl login --browser
firecrawl login --api-key fc-YOUR_KEY
firecrawl view-config
firecrawl logout
Scrape a Page
firecrawl https://example.com/page
firecrawl scrape https://example.com/page --format markdown,links
firecrawl scrape https://example.com/spa --wait-for 3000
firecrawl scrape https://example.com --screenshot
firecrawl scrape https://example.com -o output.md
firecrawl scrape https://example.com --json --pretty
Search the Web
firecrawl search "Next.js server components tutorial"
firecrawl search "React hooks" --limit 20
firecrawl search "TypeScript patterns" --scrape
firecrawl search "AI news" --tbs qdr:d
firecrawl search "tech startups" --location "San Francisco"
Crawl a Site
firecrawl crawl https://docs.example.com --wait --progress
firecrawl crawl https://docs.example.com --limit 50 --max-depth 3
firecrawl crawl https://docs.example.com --include-paths "/docs/*"
firecrawl crawl https://docs.example.com --exclude-paths "/blog/*"
firecrawl crawl JOB_ID
Map Site URLs
firecrawl map https://example.com
firecrawl map https://example.com --limit 200
firecrawl map https://example.com --allow-subdomains
Autonomous Agent
firecrawl agent "Find top 5 headless CMS and compare pricing"
firecrawl agent "Research React state management libraries" --wait
firecrawl agent "Find API rate limits" --urls https://docs.stripe.com --schema schema.json
Interact (live browser)
Drive dynamic pages with natural language or code — replaces the old firecrawl browser session flow:
firecrawl interact https://example.com --prompt "log in and open the dashboard"
Monitor Changes
Recurring scrapes with change detection:
firecrawl monitor create https://example.com/pricing
firecrawl monitor list
Developer Index Search
Search GitHub issues, PRs, READMEs, and docs:
firecrawl developer "nextjs hydration mismatch"
Useful Flags
| Flag | Description |
|---|
--json | Output as JSON |
--pretty | Pretty-print JSON |
-o FILE | Save output to file |
--timing | Show request timing |
--only-main-content | Strip boilerplate |
--api-key KEY | Override API key |
Jina CLI
Installation
pip install jina-cli
uv pip install jina-cli
Authentication
export JINA_API_KEY=jina_xxx
Read a Page
jina read https://example.com/page
jina read https://example.com --json
Search the Web
jina search "React hooks best practices"
jina search "React hooks" -n 10
jina search "AI news" --time d
jina search "tech" --gl us --hl en
Specialized Search
jina search "transformer models" --arxiv
jina search "financial analysis" --ssrn
jina search "UI components" --images
jina search "Jina releases" --blog
Text Processing
jina embed "text to embed"
jina rerank "query" < documents.txt
jina classify "product review text" --labels positive,negative,neutral
jina dedup < urls.txt
Utilities
jina screenshot https://example.com -o screenshot.png
jina screenshot https://example.com --full-page
jina bibtex "attention is all you need"
jina expand "machine learning optimization"
jina pdf https://arxiv.org/pdf/2301.00001 --type figure,table
jina datetime https://example.com/article
Pipe Composability
Jina CLI follows Unix philosophy — pipe commands together:
jina search "transformer models" | jina rerank "efficient inference"
cat urls.txt | jina read
jina search "attention mechanism" | jina dedup
jina search "React patterns" -n 5 | jina read > research.md
Local Mode (Apple Silicon)
Run embed, rerank, classify, and dedup locally without API key:
pip install jina-grep
jina grep serve start
jina embed --local "hello world"
jina classify --local "text" --labels positive,negative
Caveat: jina-grep is not currently published on PyPI, so pip install jina-grep fails as of 2026-08 (upstream jina-cli docs give this same instruction; an npm package named jina-grep exists but is an empty placeholder). Check https://github.com/jina-ai/jina-grep-cli for the actual install method before relying on local mode.
Useful Flags
| Flag | Description |
|---|
--json | Structured JSON output |
-n NUM | Number of results |
--time d/w/m | Time filter (day/week/month) |
--gl CODE | Geographic location |
--local | Run locally (Apple Silicon) |
Cross-CLI Workflow Examples
Scrape and process content pipeline
firecrawl map https://docs.example.com --json | \
jq -r '.urls[]' | \
head -10 | \
while read url; do jina read "$url"; done > all_docs.md
Search with both engines and compare
firecrawl search "React server components" --json > firecrawl_results.json
jina search "React server components" --json > jina_results.json