Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions skills/tinyfish-web-agent/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If the key is **not set**, you **MUST stop and ask the user** to add their API k

Tell the user:

> You need a Mino API key. Get one at: <https://mino.ai/api-keys>
> You need a Mino API key. Get one at: <https://agent.tinyfish.ai/api-keys>
>
> Then set it so the agent can use it:
>
Expand Down Expand Up @@ -50,7 +50,7 @@ Do NOT proceed until the key is confirmed available.
Extract data from a page. Specify the JSON structure you want:

```bash
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -64,7 +64,7 @@ curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
Extract lists of data with explicit structure:

```bash
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -78,7 +78,7 @@ curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
For bot-protected sites, add `"browser_profile": "stealth"` to the request body:

```bash
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -93,7 +93,7 @@ curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
Route through a specific country by adding `"proxy_config"` to the body:

```bash
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -115,15 +115,15 @@ When extracting from multiple independent sources, make separate parallel curl c
**Good** - Parallel calls:
```bash
# Compare pizza prices - run these simultaneously
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_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://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -135,7 +135,7 @@ curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
**Bad** - Single combined call:
```bash
# Don't do this - less reliable and slower
curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: $MINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
Expand Down
2 changes: 1 addition & 1 deletion skills/tinyfish-web-agent/scripts/extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ PAYLOAD="${PAYLOAD}}"

echo "Extracting from ${URL}..." >&2

exec curl -N -s -X POST "https://mino.ai/v1/automation/run-sse" \
exec curl -N -s -X POST "https://agent.tinyfish.ai/v1/automation/run-sse" \
-H "X-API-Key: ${MINO_API_KEY}" \
-H "Content-Type: application/json" \
-d "$PAYLOAD"