surfwright

Use SurfWright CLI for deterministic browser control. Prefer JSON, explicit handles, and typed error codes.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "surfwright" with this command: npx skills add marcohefti/surfwright/marcohefti-surfwright-surfwright

SurfWright Skill

Deterministic browser control with JSON-first outputs and explicit handles.

Discovery (Two Lanes)

  • Action first: run mission commands directly.
  • Fast lane bootstrap: surfwright contract --profile browser-core.
  • Do not probe with which, help flags, or repeated skill file reads.
  • Use surfwright contract --command <id> only after a command-id miss.
  • Use surfwright contract --commands <id1,id2,...> for small miss batches.
  • Use surfwright contract --full only for deep-lane catalog discovery.

Runtime Rules

  • Keep default JSON output; do not parse prose.
  • Confirm required JSON schema via surfwright contract --command <id> only after a command-id miss.
  • Start headless unless explicitly instructed otherwise.
  • For workspace extension workflows, verify open/session payload appliedExtensions[*].state == runtime-installed before proceeding.
  • Treat non-zero exits as typed failures and branch on code (retryable when present).
  • Use one unique --agent-id per task.
  • Treat daemon queue overload codes (E_DAEMON_QUEUE_TIMEOUT, E_DAEMON_QUEUE_SATURATED) as backpressure.
  • If daemon transport is unreachable and continuity matters, use SURFWRIGHT_DAEMON=0.
  • For non-trivial plans, prefer run --plan <file> (or --plan -) over inline --plan-json.
  • For complex JavaScript, prefer target eval --script-file / --script-b64.
  • Prefer typed primitives over eval when possible: target count, target attr, target click --nth, target click --count-after.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

zcl

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Workspace Init

Use this skill to initialize or update a multi-repo workspace created from dev-config-template. Invoke whenever the user wants to: set up a fresh workspace c...

Registry SourceRecently Updated
Coding

Google Seo Assistant

A client-facing SEO assistant grounded in Google's official SEO Starter Guide. Use this skill whenever a user mentions SEO, search rankings, Google visibilit...

Registry SourceRecently Updated