Open a named, traced browser session into an RVF cognitive container with a ruvector trajectory recording every action
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-browser-record-a84a86e20959 ,按照其中的说明把「browser-record」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
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).
browser-extract, browser-form-fill, browser-test) will compose.SID="$(date +%Y%m%d-%H%M%S)-${TASK_SLUG:-record}"
npx -y ruvector@0.2.25 rvf create "$SID.rvf" --dimension 384
npx -y ruvector@0.2.25 hooks trajectory-begin --session-id "$SID" --task "$1"
mcp__plugin_ruflo-core_ruflo__browser_open with the URL.browser_snapshot for the accessibility tree, browser_screenshot for a baseline image.npx -y ruvector@0.2.25 hooks trajectory-step \
--session-id "$SID" --action click --args '{"selector":"#login"}' --result ok
npx -y ruvector@0.2.25 hooks trajectory-end --session-id "$SID" --verdict pass
npx -y ruvector@0.2.25 rvf compact "$SID.rvf"
browser-sessions:
npx -y @claude-flow/cli@latest memory store --namespace browser-sessions \
--key "$SID" --value "{rvf_id:$SID,host:...,task:...,verdict:pass}"
browser_session_record MCP tool ships (ADR-0001 §7), this skill drives the lifecycle from inside its own bash steps. Do not call mcp__plugin_ruflo-core_ruflo__browser_open directly without these wrappers.<YYYYMMDD-HHMMSS>-<task-slug>. Downstream /ruflo-browser ls parses this.--with-dom is expensive (full HTML dump per nav). Off by default.browser-record is a primitive; redaction is the responsibility of skills that read content (browser-extract, browser-test).