Use TinyFish web agent to extract/scrape websites, extract data, and automate browser actions using natural language. Use when you need to extract/scrape data from websites, handle bot-protected sites, or automate web tasks.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tinyfish-web-agent或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tinyfish-web-agent⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tinyfish-web-agent/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: tinyfish description: Use TinyFish web agent to extract/scrape websites, extract data, and automate browser actions using natural language. Use when you need to extract/scrape data from websites, handle bot-protected sites, or automate web tasks. homepage: https://agent.tinyfish.ai requires: env: - TINYFISH_API_KEY ---
Requires: TINYFISH_API_KEY environment variable
Before making any API call, always run this first to verify the key is available:
[ -n "$TINYFISH_API_KEY" ] && echo "TINYFISH_API_KEY is set" || echo "TINYFISH_API_KEY is NOT set"
If the key is not set, you MUST stop and ask the user to add their API key. Do NOT fall back to other tools or approaches — the task requires TinyFish.
Tell the user:
> You need a TinyFish API key. Get one at: ~/.claude/settings.local.json: > ```json > { > "env": { > "TINYFISH_API_KEY": "your-key-here" > } > } > ```
Do NOT proceed until the key is confirmed available.
Extract data from a page. Specify the JSON structure you want:
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"goal": "Extract product info as JSON: {\"name\": str, \"price\": str, \"in_stock\": bool}"
}'
Extract lists of data with explicit structure:
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/products",
"goal": "Extract all products as JSON array: [{\"name\": str, \"price\": str, \"url\": str}]"
}'
For bot-protected sites, add "browser_profile": "stealth" to the request body:
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://protected-site.com",
"goal": "Extract product data as JSON: {\"name\": str, \"price\": str, \"description\": str}",
"browser_profile": "stealth"
}'
Route through a specific country by adding "proxy_config" to the body:
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://geo-restricted-site.com",
"goal": "Extract pricing data as JSON: {\"item\": str, \"price\": str, \"currency\": str}",
"browser_profile": "stealth",
"proxy_config": {"enabled": true, "country_code": "US"}
}'
The SSE stream returns data: {...} lines. The final result is the event where type == "COMPLETE" and status == "COMPLETED" — the extracted data is in the resultJson field. Claude reads the raw SSE output directly; no script-side parsing is needed.
When extracting from multiple independent sources, make separate parallel curl calls instead of combining into one prompt:
Good - Parallel calls:
# Compare pizza prices - run these simultaneously
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pizzahut.com",
"goal": "Extract pizza prices as JSON: [{\"name\": str, \"price\": str}]"
}'
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://dominos.com",
"goal": "Extract pizza prices as JSON: [{\"name\": str, \"price\": str}]"
}'
Bad - Single combined call:
# Don't do this - less reliable and slower
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $TINYFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pizzahut.com",
"goal": "Extract prices from Pizza Hut and also go to Dominos..."
}'
Each independent extraction task should be its own API call. This is faster (parallel execution) and more reliable.
安装 TinyFish Web Agent 后,可以对 AI 说这些话来触发它
Help me get started with TinyFish Web Agent
Explains what TinyFish Web Agent does, walks through the setup, and runs a quick demo based on your current project
Use TinyFish Web Agent to use TinyFish web agent to extract/scrape websites, extract data, an...
Invokes TinyFish Web Agent with the right parameters and returns the result directly in the conversation
What can I do with TinyFish Web Agent in my data & analytics workflow?
Lists the top use cases for TinyFish Web Agent, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/tinyfish-web-agent/ 目录(个人级,所有项目可用),或 .claude/skills/tinyfish-web-agent/(项目级)。重启 AI 客户端后,用 /tinyfish-web-agent 主动调用,或让 AI 根据上下文自动发现并使用。
TinyFish Web Agent 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
TinyFish Web Agent 可免费安装使用。请查阅仓库了解许可证信息。
Use TinyFish web agent to extract/scrape websites, extract data, and automate browser actions using natural language. Use when you need to extract/scrape data from websites, handle bot-protected sites, or automate web tasks.
TinyFish Web Agent 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using TinyFish Web Agent
Identifies repetitive steps in your workflow and sets up TinyFish Web Agent to handle them automatically