Browser record

From ruvnet/ruflo · View interactive version

Browser record is an AI agent skill from the GitHub repository ruvnet/ruflo. Open a named, traced browser session into an RVF cognitive container with a ruvector trajectory recording every action

How to use this skill

Skill file

Browser Record

Primitive on which every other browser skill composes. Opens a named browser session, allocates an RVF container for it, and binds every action to a ruvector trajectory step. You do not run a browser session in this plugin without invoking this skill (or one that wraps it).

When to use

Steps

  1. Allocate session id and RVF container:

```bash

SID="$(date +%Y%m%d-%H%M%S)-${TASK_SLUG:-record}"

npx -y ruvector@0.3.12 rvf create "$SID.rvf" --dimension 384

npx -y ruvector@0.3.12 hooks trajectory-begin --context "$SID: $1" --agent browser-session

```

  1. Open the browser via mcp__plugin_ruflo-core_ruflo__browser_open with the URL.
  2. Snapshot the initial state: browser_snapshot for the accessibility tree, browser_screenshot for a baseline image.
  3. For each interaction, record a trajectory step before and after:

```bash

npx -y ruvector@0.3.12 hooks trajectory-step \

--action 'click {"selector":"#login"}' --result ok

```

  1. End cleanly:

```bash

npx -y ruvector@0.3.12 hooks trajectory-end --quality 1 --success

npx -y ruvector@0.3.12 rvf compact "$SID.rvf"

```

  1. Index in AgentDB under browser-sessions:

```bash

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

--key "$SID" --value "{rvf_id:$SID,host:...,task:...,verdict:pass}"

```

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.