browser-record
它能做什么
这项技能打开一个命名的浏览器会话,并将每一步操作记录为可重放的追踪记录。适合希望浏览器工作可以重复、便于审查的人,而不是一次性运行。
适用场景
- ✓当你开始可能需要以后重复的浏览器工作时。
- ✓当你希望保留每次点击和输入的追踪记录以便审查时。
- ✓当其他浏览器技能(如提取或测试)需要一个已录制的会话作为基础时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-record/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请打开我们网站上的价格页面,并记录每一步操作,以便在重新设计后重放。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体为会话创建独立容器和操作轨迹,打开页面,拍摄快照和截图,并在每次交互发生时记录下来。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Starting any browser interaction that is not a one-off throwaway probe.
- Exploring a site interactively while preserving the trace for later replay or analysis.
- Establishing a reusable session that downstream skills (
browser-extract,browser-form-fill,browser-test) will compose.
Steps
- Allocate session id and RVF container:
SID="$(date +%Y%m%d-%H%M%S)-${TASK_SLUG:-record}" npx -y ruvector@0.2.27 rvf create "$SID.rvf" --dimension 384 npx -y ruvector@0.2.27 hooks trajectory-begin --session-id "$SID" --task "$1" - Open the browser via
mcp__plugin_ruflo-core_ruflo__browser_openwith the URL. - Snapshot the initial state:
browser_snapshotfor the accessibility tree,browser_screenshotfor a baseline image. - For each interaction, record a trajectory step before and after:
npx -y ruvector@0.2.27 hooks trajectory-step \ --session-id "$SID" --action click --args '{"selector":"#login"}' --result ok - End cleanly:
npx -y ruvector@0.2.27 hooks trajectory-end --session-id "$SID" --verdict pass npx -y ruvector@0.2.27 rvf compact "$SID.rvf" - Index in AgentDB under
browser-sessions:npx -y @claude-flow/cli@latest memory store --namespace browser-sessions \ --key "$SID" --value "{rvf_id:$SID,host:...,task:...,verdict:pass}"
Caveats
- Until the
browser_session_recordMCP tool ships (ADR-0001 §7), this skill drives the lifecycle from inside its own bash steps. Do not callmcp__plugin_ruflo-core_ruflo__browser_opendirectly without these wrappers. - The session id format is fixed:
<YYYYMMDD-HHMMSS>-<task-slug>. Downstream/ruflo-browser lsparses this. --with-domis expensive (full HTML dump per nav). Off by default.- AIDefence gates apply at extraction time, not at navigation time.
browser-recordis a primitive; redaction is the responsibility of skills that read content (browser-extract,browser-test).
常见问题
会记录哪些内容?
这项技能记录每一步的操作、参数和结果,以及快照和截图。
我可以重放这个会话吗?
可以。浏览器重放技能会使用已记录的轨迹来重复这些步骤。
快速检查时需要它吗?
这项技能说明,它适用于非一次性探测的会话。
详情
作者的原始描述
Open a named, traced browser session into an RVF cognitive container with a ruvector trajectory recording every action
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1580
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。