agentleFS
auscahqauscahq/ausca/skills/browser-session/SKILL.md

browser-session

Skill34 starsChanged 2 months agoMITView on GitHub

Lease one ordinary remote browser with standard CDP access for 10, 30, or 60 minutes through Ausca.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this service when an agent already knows how to drive CDP, Playwright, or Puppeteer and needs a short-lived remote browser without …

    line 8
  2. Very specific:

    Read current bindings from catalog.json or ausca price browser.session --json.

    line 51
  3. Very specific:

    After an authorized purchase, read resource_result.resource_access from the verified paid-invocation readback.

    line 55
  4. Very specific:

    If admission answers HTTP 202, poll the returned invocation until terminal, then replay the exact same purchase identity and unchanged …

    line 59
  5. Distinctive:

    Keep it in host-controlled secret state.

    line 62
  6. Distinctive:

    Keep one MCP request or connection scoped to one lease authority.

    line 76
  7. Very specific:

    Read connection.websocket_url and connect to that wss://browser.ausca.com/...

    line 83
  8. Distinctive:

    Only one CDP connection may be live at once.

    line 89
  9. Very specific:

    Only a successful CDP handshake proves connection.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ausca Browser Session

Use this service when an agent already knows how to drive CDP, Playwright, or Puppeteer and needs a short-lived remote browser without creating an account. It is browser infrastructure, not a browser agent.

What the purchase includes

One paid invocation creates or exactly replays one browser lease. Choose the duration before approval; the prices are:

  • 10 minutes: $0.05 USD
  • 30 minutes: $0.10 USD
  • 60 minutes: $0.20 USD

Preparation binds the exact duration and amount. The result includes a session id, expiry, and an opaque bearer capability. Status, CDP connection creation, and close do not charge again.

The service does not provide actions, extraction, crawling, recording, persistent profiles, proxies, stealth, CAPTCHA solving, or a target-success promise.

Invoke

Invoke the exact ausca/browser-session package through the caller's skill runtime. The runtime resolves immutable live terms and routes the paid call to https://ausca.com/v1/lease-browser. The service input is exactly one of:

{ "duration_seconds": 600 }
{ "duration_seconds": 1800 }
{ "duration_seconds": 3600 }

There are no other browser options.

Browser Session is the display name, browser.session the catalog offer, and ausca/browser-session#invoke the skill runner—not different services. Read current bindings from catalog.json or ausca price browser.session --json. The SDK builds the envelope from these bindings; never retype hashes from prose.

After an authorized purchase, read resource_result.resource_access from the verified paid-invocation readback. It contains the session id, expiry, and the opaque capability. The capability is returned only by paid admission or its exact authenticated replay; invocation status and receipts do not contain it. If admission answers HTTP 202, poll the returned invocation until terminal, then replay the exact same purchase identity and unchanged input to claim resource_access; do not start a new purchase. Keep it in host-controlled secret state. Never place it in a prompt, log, receipt, query string, or later model-authored tool argument. Losing it is not recoverable through public lookup.

For direct HTTP, resource_access is at the top level of the admission body; the SDK exposes that body as outcome.result. The resource_result prefix belongs only to skill runner output. Invocation output is a creation snapshot, not current lease status; use the lifecycle route for current state.

Use the lease

Supply Authorization: Bearer <capability> from the host boundary. For direct HTTP, attach it to the lifecycle request. For MCP, attach it to the Streamable HTTP request carrying the tool call; it is never a tool argument or JSON field. Keep one MCP request or connection scoped to one lease authority.

  1. GET /v1/browser-sessions/{session_id} for status and hard expiry.
  2. POST /v1/browser-sessions/{session_id}/connections with a stable Idempotency-Key to mint a short-lived CDP WebSocket ticket. This HTTP request has no JSON body, not even {}. The capability and idempotency key are headers, not body fields.
  3. Read connection.websocket_url and connect to that wss://browser.ausca.com/... URL using an ordinary CDP client.
  4. DELETE /v1/browser-sessions/{session_id} to close early, or allow the hard expiry to clean it up.

Only one CDP connection may be live at once. Connection tickets last 60 seconds, are single-use, and at most 64 unexpired tickets may coexist. Expired records are compacted, so reconnects do not consume a lifetime quota. Use a stable connection Idempotency-Key to recover the same intended ticket; a different key means a new ticket issue. Each CDP message is capped at 32 MiB. Status can report a terminal lease, but connect requires ready. Close is idempotent, including after terminal state.

ticket_issued means a credential was issued, not that Chromium connected. Only a successful CDP handshake proves connection. Use chromium.connectOverCDP(connection.websocket_url) with Playwright, or puppeteer.connect({ browserWSEndpoint: connection.websocket_url }) with Puppeteer. That URL contains a secret: never log it or include it in reports.

Cloudflare treats 10 minutes as an inactivity timeout, not the session's hard lifetime. For a 30- or 60-minute lease, issue a CDP command at least once inside each 10-minute idle window. Provider eviction, Chromium failure, or an idle timeout can still end a browser before Ausca's maximum lease expiry; reconnect failure never allocates or charges for a replacement silently.

A browser lease cannot be extended. Choose the required duration before purchase. More browser time means a separately approved new session with new state and authority; no cookies, storage, tabs, or profile data carry over.

Reuse the purchase idempotency identity only for the same intended lease. If the paid response is uncertain, replay that exact purchase; never mint a second payment identity. Changed duration or terms under an existing identity are a conflict. Expiry, exhausted ticket issues, unavailable capacity, invalid authority, and an unverifiable provider result or receipt are stop conditions, not permission to bypass the lease path. A failed invocation reports failure.code and failure.message; the payment is refunded.

Successful paid state returns receipt_ref.public_url, an immutable hash-only proof of the service, public price, completion time, and receipt digest. It contains no browser state, connection ticket, lease capability, or content digest and is readable by anyone holding the unguessable URL, so share it deliberately.

The active catalog revision and linked schemas are the machine authority. x402 uses its external V2 semantics; Ausca's internal contracts remain V1.

The executable purchase and recovery examples cover this offer. CLI requires --idempotency-key; local paid MCP tools require ausca_idempotency_key. Save one unique key before purchase and reuse unchanged input on recovery. A new key buys a new lease, even for identical input. Optional attribution is inert reporting metadata: add "attribution":{"source":"my-agent","campaign":"browser-workflow"} to the invocation envelope, or use CLI --source my-agent --campaign browser-workflow. Labels are lowercase a-z, 0-9, ., _, -; source is at most 64 characters and campaign 128. It never changes price, payment, execution, or recovery identity, and caller values are self-reported.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.