Browser form fill

From ruvnet/ruflo · View interactive version

Browser form fill is an AI agent skill from the GitHub repository ruvnet/ruflo. Fill a web form by mapping field-name → value, with optional template lookup from browser-templates for known forms

How to use this skill

Skill file

Browser Form Fill

Fill a form using a structured field map ({"first_name": "Ada", "company": "..."}). When a browser-templates entry exists for the host, use it to resolve field names → CSS selectors automatically; otherwise resolve via the page accessibility snapshot.

When to use

Steps

  1. Open a recorded session via browser-record.
  2. Resolve selectors:
  1. AIDefence PII gate: every value in the field map passes aidefence_has_pii before any keystroke; record pii_in_form: true in the session manifest. Do not record the values themselves in the trajectory; record only the field names + a redacted placeholder.
  2. Fill with browser_fill / browser_type / browser_select / browser_check per input type.
  3. Submit if --submit: locate the submit button via the snapshot, browser_click, then browser_wait for navigation.
  4. Persist the template if a new mapping was discovered:

```bash

npx -y @claude-flow/cli@latest memory store --namespace browser-templates \

--key "<host>:<form-name>" \

--value "{field_map:{...}, submit_selector:..., post_submit_url_pattern:...}"

```

  1. Verify post-submit state if a verification snippet was provided in the field map's _assert key.

Caveats

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.