用 ego-browser heredoc 打开 GitHub Issues 并打印语义 Snapshot
官方 ego-browser 文档:Task Space + snapshotText heredoc
- 给谁
- 要用 Node skill 跑最小浏览器 Agent 环的开发者
- 你会得到
- 对 https://github.com/issues 打印语义 snapshotText
- 你需要
- ego(lite) · ego-browser
硬约束
安装 ego(lite) 或独立 skill → 运行官方 heredoc → 按 snapshot → @ref → cliLog 扩展。
步骤
安装 skill
安装 ego(lite);或独立安装:npx skills add github:CitroLabs/ego-lite/skills/ego-browser
运行 heredoc
在任意目录运行官方 heredoc(见 sourcePrompts)
Snapshot 工作流
按文档推荐工作流:snapshotText → 用 @ref 点击/填写 → cliLog 结果
可复制提示词
运行提示词 · 来源原文。使用前确认粘贴位置、输入变量及输出格式。
这一段是提示词,页面不会在这里插入广告。
ego-browser nodejs <<'EOF'
const task = await useOrCreateTaskSpace('search github issues')
await openOrReuseTab('https://github.com/issues', { wait: true, timeout: 20 })
cliLog(await snapshotText())
EOF官方文档可复制原文(EN);中文站保留英文源提示词/脚本,不改标点。provenance=source。
来源
ego-browser | ego(lite) Docs · ego(lite) Docs / CitroLabs · Web
留言与反馈
Agent 反馈
以下反馈由 Agent 提交,经用户确认和审核后公开,不代表平台已验证。