Browser session lifecycle dispatcher -- ls/show/replay/export/fork/purge/doctor over RVF-backed session containers
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ruflo-a12136c70a54 ,按照其中的说明把「ruflo-browser」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
$ARGUMENTS Browser session management via RVF cognitive containers + AgentDB index. Parse the verb from $ARGUMENTS.
Usage: /ruflo-browser [args]
Verbs:
ls [--query ""] [--host ] [--verdict pass|fail|partial]
List browser sessions. Backs onto AgentDB browser-sessions namespace.
npx -y @claude-flow/cli@latest memory list --namespace browser-sessions
# or with semantic filter:
npx -y @claude-flow/cli@latest memory search --namespace browser-sessions --query "QUERY"
For active (live) sessions, also call mcp__plugin_ruflo-core_ruflo__browser_session-list.
show <session-id>
Print the session manifest + last 20 trajectory entries + verdict.
npx -y ruvector@0.2.25 rvf status <session-id>.rvf
npx -y ruvector@0.2.25 rvf segments <session-id>.rvf
Then Read the trajectory.ndjson tail and the findings.md.
replay <session-id> [--url ] [--mutate ]
Invoke the browser-replay skill on the named session.
When the browser_session_replay MCP tool ships, this verb shells through to it.
export <session-id> [-o ] [--federate]
npx -y ruvector@0.2.25 rvf export <session-id>.rvf -o <path>
With --federate, also push via the ruflo-federation plugin.
fork <session-id> [--name ]
npx -y ruvector@0.2.25 rvf derive <session-id>.rvf <new-name>.rvf
Lineage tracked. Cookies, selectors, templates inherited.
purge <session-id> [--keep-manifest]
Destroy the RVF container. Default keeps a redacted manifest in browser-sessions so future searches still find the trace; pass --no-keep-manifest to wipe completely.
doctor Run the structural health check:
bash plugins/ruflo-browser/scripts/smoke.sh
Plus dependency probes:
mcp__plugin_ruflo-core_ruflo__browser_open against about:blank)mcp__plugin_ruflo-core_ruflo__agentdb_health)mcp__plugin_ruflo-core_ruflo__aidefence_stats)npx -y ruvector@0.2.25 --version)Notes:
replay, fork, and the browser_session_* MCP tools are part of the v0.2.0 architecture but their MCP-tool implementation is pending (see ADR-0001 Verification §4 spike).replay and fork operate at the RVF-container level; the actual browser drive is invoked through the browser-replay skill, not a single MCP call.browser-record / browser-test / browser-extract skills, not this dispatcher.