/tinyfish:tinyfish-automationfrom tinyfish
Runs goal-driven browser automation in a live cloud browser: navigate, click, fill forms, submit applications, test checkout flows, and extract interaction-dependent data. Handles bot-protected sites and multi-site scraping.
Ships in tinyfish. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
run_web_automation puts an agent in a real browser and gives it a natural-language goal. It sees
the page, clicks, types, scrolls, waits for dynamic content, and returns a result.
Automation costs $0.016 per step. Search and fetch are free.
| If you need to... | Use |
|---|---|
| Read a page, even a JS-heavy one | fetch_content — free, no steps |
| Read 10 pages | fetch_content with 10 URLs — one call |
| Find pages | search — free |
| Click, type, submit, navigate a flow | run_web_automation |
| Reach content that requires being logged in | run_web_automation + see tinyfish-authenticated |
| Drive the browser from your own code | create_browser_session — see tinyfish-browser |
"Extract the prices from this page" is a fetch. "Search the catalog for widgets, filter to in-stock, and extract the prices" is an automation. If you can't name an interaction the task requires, it's a fetch.
The goal is the whole interface, and goal quality dominates success rate — TinyFish measures specific goals completing 4.9× faster and returning 16× less unnecessary data than vague ones for the same task.
Read references/goals.md before writing anything non-trivial. The short version: the agent is
capable but literal. It sees what you'd see and follows instructions precisely; it cannot guess what
you meant, know your business context, or decide what to do when something unexpected appears. State
the objective, where to look, what to capture, what not to do, and what to do at each point where
the page might surprise it.
| Tool | When |
|---|---|
run_web_automation | Default, for every task. Streams progress; you get the result in the same turn |
run_web_automation_async | Only when the user explicitly asked to run in the background. Returns run_id; poll get_run |
get_run / cancel_run | Check or stop a single run by run_id. cancel_run is idempotent |
batch_status | Poll several runs at once by ID — up to 8. Returns status, result, and error per run. Poll every 30–60s until every run is terminal (COMPLETED, FAILED, CANCELLED) |
batch_cancel | Cancel several runs at once by ID — up to 8. Idempotent; already-terminal runs return their current status |
batch_status and batch_cancel operate on run IDs you already hold — use them to manage a fleet of
run_web_automation_async runs without polling each one individually. The MCP tools do not start
batches themselves; kick off runs with run_web_automation_async and collect their run_ids.
A long task is not a reason to go async. run_web_automation is the default even for slow work;
only an explicit "run this in the background" from the user justifies the async call.
Automation steps cost money and can take real actions — submitting a form, sending a message,
placing an order. A run_web_automation call that errors or times out may still be executing on
the server. Calling it again, or calling run_web_automation_async "as a retry", starts a second
run that can duplicate whatever the first one already did.
Recover by looking, not by re-running:
list_runs to find the run — you will not have a run_id if the call never returned one.get_run on that ID for its status and result.COMPLETED, FAILED, CANCELLED) and genuinely did not do the work
is a fresh call correct. Say what you are doing and why before you make it.If a run reports a low wallet balance or a plan limit, that is expected and recoverable: relay the add-money or upgrade link and ask the user how to proceed. Never silently fall back to a weaker tool or claim you cannot browse the web.
The tool schema your client shows you is authoritative. These are the fields the Automation API
accepts and run_web_automation forwards to it; if one isn't in the schema you can see, it isn't
available through MCP. url and goal always are. Never invent a parameter name.
| Parameter | Notes |
|---|---|
url | Required. Where to start |
goal | Required. See references/goals.md |
session_id | Required. A fresh UUID v4 that you generate for every single call. Never reuse one, never copy the example out of a schema or a doc — reusing a value breaks concurrent sessions. Omitting it fails validation before the run starts |
output_schema | JSON Schema for the result shape. See references/structured-output.md |
browser_profile | lite (default) or stealth. See references/anti-bot.md |
use_profile / profile_id | Reuse a saved logged-in session. See tinyfish-authenticated |
use_vault / credential_item_ids | Log in with vault credentials. See tinyfish-authenticated |
proxy_config | Geographic routing. country_code is one of US, GB, CA, DE, FR, JP, AU |
Ask for output_schema whenever the result feeds anything other than a human reading it.
COMPLETED does not mean it workedThis is the most important thing to know about interpreting a run. A blocked or confused run
frequently returns COMPLETED with an empty or null-filled result.
Always check the result content, not just the status. Treat these as failures regardless of status:
null or every array emptyresult.reason mentioning "access denied", "blocked", or "could not find"When that happens, diagnose before rewriting the goal — references/anti-bot.md covers how to tell a
bot wall from a bad goal, and they need opposite fixes. Every run has a streaming_url you can open to
watch what the browser actually encountered; that is the fastest way to find out.
Tell the user what the run did, not just what it returned — which pages it worked through, what it extracted, and anything it couldn't do. If the run partially succeeded, say which part failed and why. If it burned an unexpected number of steps, mention it; steps are the meter.
use_vault.What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/doctorDiagnose and repair your TinyFish setup — MCP registration, auth, and connectivity. Runs the TinyFish CLI's own doctor for the config checks, then does the one thing the CLI cannot — proving this harness can actually reach TinyFish. Run when TinyFish tools fail, return auth errors, or after an install that did not verify cleanly./feedbackFile structured feedback about TinyFish — bug reports, confusing setup steps, missing features, or a doctor diagnostic report. Creates a GitHub issue on tinyfish-io/tinyfish-cookbook with the user's approval; nothing is sent without an explicit preview./tinyfish-authenticatedAutomate websites the user is logged into, using TinyFish Browser Context Profiles and Vault credentials. Use when a task needs a signed-in session — log in to an authenticated website, account portal, or customer portal, check account status or an account dashboard, internal dashboards, SaaS apps, admin panels — or when a run hits a login wall, or when the user mentions a saved profile./tinyfish-browserCreate a remote stealth Chrome session with TinyFish and control it over CDP. Use when the task needs programmatic browser control from code — writing or running Playwright, Puppeteer, or Selenium scripts against a hosted browser — rather than a natural-language automation goal./tinyfish-datasetsBuild a dataset, table, or spreadsheet of many entities from the web with TinyFish Datasets: lists of companies, startups, products, places, or people, each row with the same columns, for lead lists, market maps, competitor lists, and directories. Use when the user asks for a dataset, a table, or a CSV-style list filled from the web. Also use to check, page through, refill, cancel, or delete existing datasets./tinyfish-monitorMonitor website changes on any web page, or track a topic across the web over time, with TinyFish Monitors. Set up a recurring monitor on a URL for price tracking, a price drop, availability and restock changes, new listings, or content updates, or on a search topic to get alerts when new pages or news appear. Use when the user wants to watch, track, or be notified about changes rather than check it once. Also use to list, check, update, pause, resume, run now, or cancel existing monitors.npx claudepluginhub tinyfish-io/tinyfish-web-agent-integrations --plugin tinyfishOther plugins' skills for the same job