Skip to content
Back to skills

Tinyfish Agent Run

ASecurity

Run a TinyFish automation agent against a URL and stream live progress events (STARTED / PROGRESS / COMPLETE) as one-line JSON events. Use when you want to execute an autonomous browsing goal and surface each step as it happens.

  • 79 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add OpenCoven/coven --skill tinyfish-agent-run --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tinyfish Agent Run?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tinyfish Agent Run
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/opencoven-tinyfish-agent-run/badge)](https://www.skillsdirectory.com/skills/opencoven-tinyfish-agent-run)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tinyfish-agent-run
description: Run a TinyFish automation agent against a URL and stream live progress events (STARTED / PROGRESS / COMPLETE) as one-line JSON events. Use when you want to execute an autonomous browsing goal and surface each step as it happens.
homepage: https://docs.tinyfish.ai/agent-api
requires:
  env:
    - TINYFISH_API_KEY
---

# TinyFish Agent Run

Execute an autonomous browsing goal against a URL and stream live events. Each SSE event is re-emitted on stdout as a single JSON line so a caller (subagent, TUI, etc.) can display progress as it arrives.

Requires: `TINYFISH_API_KEY` environment variable.

## Pre-flight Check (REQUIRED)

```bash
[ -n "$TINYFISH_API_KEY" ] && echo "TINYFISH_API_KEY is set" || echo "TINYFISH_API_KEY is NOT set"
```

If the key is not set, stop and ask the user to add it. Get one at <https://agent.tinyfish.ai/api-keys>.

## Streaming Run

```bash
scripts/agent-run.sh <url> <goal>
```

Example:

```bash
scripts/agent-run.sh https://scrapeme.live/shop "Extract the first 2 product names and prices. Return JSON."
```

Under the hood this POSTs to `https://agent.tinyfish.ai/v1/automation/run-sse` with:

```json
{
  "url": "https://scrapeme.live/shop",
  "goal": "Extract the first 2 product names and prices. Return JSON."
}
```

and the header `X-API-Key: $TINYFISH_API_KEY`.

## Output Format

One JSON object per line on stdout:

```json
{"type":"STARTED","run_id":"abc123"}
{"type":"PROGRESS","run_id":"abc123","purpose":"Navigating to https://scrapeme.live/shop"}
{"type":"PROGRESS","run_id":"abc123","purpose":"Reading product list"}
{"type":"COMPLETE","run_id":"abc123","status":"COMPLETED","result":{...}}
```

A caller can:
- Render each `PROGRESS.purpose` as a live status line.
- Detect navigation by matching `purpose` against `Navigating to <url>` and surface the URL to an embedded browser view.
- Parse `COMPLETE.result` for the final payload.

## Event Types

- `STARTED` — `{type, run_id}` — emitted once when the run begins.
- `PROGRESS` — `{type, run_id, purpose}` — one per agent step. `purpose` is a short human-readable description.
- `COMPLETE` — `{type, run_id, status, result}` — emitted once when the run finishes. `status` is typically `COMPLETED`.

Files in this skill

  • SKILL.md2.2 KB
  • scripts/agent-run.sh1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.