Record a browser task once. Replay it with any agent.
trail records a browser task once and replays it as a skill any coding agent can run. It runs on your machine as a local server and a Chrome extension, with no backend and no telemetry.
Open source, MIT
What it does
trail turns a browser task you did once into a skill any coding agent can run again. You record the task in a real Chrome window, and trail saves it as a folder you can read, diff and send to a colleague. When an agent replays it, each step uses the locator it recorded. A hit costs about nothing and fetches no page snapshot at all. A healthy run makes zero model calls and gives the same answer twice. It works with Claude Code, Cursor, Gemini, Copilot, Codex and Windsurf. Everything stays on your machine. There is no account, no backend and no telemetry.
How it works
- Record. In the Chrome side panel, type a name, press Record, do the task once, and press Stop.
- Review and promote. Check the recorded steps, then promote them into a workflow.
- Replay. Each step tries its recorded locator first. On a miss, the recorded alternatives are tried in order.
- Hand back. If nothing matches, the run stops and hands back to you. Agent repair is a later release.
- Stay small. Sixteen tools in five groups, held to a budget of 3,000 tokens of tool definitions that the build checks.
Measured
- Tool definitions: 2,045 tokens. Playwright MCP's take 4,319 and Chrome DevTools MCP's take 5,787. An agent pays this on every turn before it reads any page.
- Task results: not yet. The one smoke run so far used a local 9B model, and all three tools scored zero, so we do not quote task numbers.
- The 600x cliff. In a 28 step session measured on a scratch harness with the same step mechanics, an action took about 50 ms when its locator matched and about 30,000 ms when it missed. That is why trail stops on a miss instead of waiting.
Status
Open source under MIT. The workflow library has 0 of 15 planned entries recorded, and the extension still installs as an unpacked build rather than from the Chrome Web Store.