跳到正文
Skillpedia
自动化81k · #1580

browser-record

它能做什么

这项技能打开一个命名的浏览器会话,并将每一步操作记录为可重放的追踪记录。适合希望浏览器工作可以重复、便于审查的人,而不是一次性运行。

适用场景

  • ✓当你开始可能需要以后重复的浏览器工作时。
  • ✓当你希望保留每次点击和输入的追踪记录以便审查时。
  • ✓当其他浏览器技能(如提取或测试)需要一个已录制的会话作为基础时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-record/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-record/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. 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"
    
  2. Open the browser via mcp__plugin_ruflo-core_ruflo__browser_open with the URL.
  3. Snapshot the initial state: browser_snapshot for the accessibility tree, browser_screenshot for a baseline image.
  4. 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
    
  5. 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"
    
  6. 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_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.
  • The session id format is fixed: <YYYYMMDD-HHMMSS>-<task-slug>. Downstream /ruflo-browser ls parses this.
  • --with-dom is expensive (full HTML dump per nav). Off by default.
  • AIDefence gates apply at extraction time, not at navigation time. browser-record is 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能