跳到正文
Skillpedia
智能体70k · #3129

browser

它能做什么

这个工具让 AI 可以操作真实的网页浏览器。它可以访问网站、填写表单、点击按钮,甚至截取屏幕截图,就像真人在使用浏览器一样。

适用场景

  • ✓当你需要 AI 帮你填写网上的表单时。
  • ✓当你需要 AI 点击网站上的按钮或链接时。
  • ✓当你需要 AI 为网页拍一张照片(截图)时。

技能链接

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/shared-skills/skills/browser/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请打开我银行的首页并截图,然后在指定的字段中填入我的 CPF。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会使用一个专门的工具来控制你的浏览器。它可以看到屏幕上的内容,在你指定的位置点击,并且在执行购买等重要操作前请你确认。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Browser

One library, two engines. omowright ships inside this skill; choose the engine before you act:

You need Engine Entry point
A site the user is signed into, their open tabs, a form, a click-through, a screenshot, web QA, an extension popup attached — the user's own browser through BrowserSkill connectBrowserSkill()
A throwaway profile, bot-scoring evasion, a CAPTCHA, network interception, a QA flight trace, coordinate control, headless runs owned — a browser your code launches connectPipe() / connectCloakProfile() — references/owned-engine/README.md
A 403/WAF host the attached engine cannot open, a platform with a native reader, an archive snapshot neither the ultimate-browsing skill

Attached is the default, because it is the only engine carrying the user's logins and the only one where a human is a single call away. Never substitute one engine for the other silently: if the attached engine is not set up, run the onboarding script and tell the user its one remaining step.

Step 0 — which engine this session is allowed to use

When OMO_BROWSER_ENGINE is set (the OmO desktop app sets it for every session), it wins over the table above:

Value What you do
connected Use connectBrowserSkill() only. If the user's browser is not connected you get a "Connect your browser" error: relay it and stop. Never open another browser
builtin Do not call connectBrowserSkill(); use the app's in-app browser tools
none Do not do browser work. Say that agent browser access is off for this project
unset The table above, as before (terminal use)

While any engine is set, loadOmowright() returns a guarded library. The owned engine (connectPipe, connectCloakProfile, connect) and every other export that acts on a browser is refused, so the table above does not apply: do not look for a way around it, and tell the user what the session allows. Under connected the app sees what the browser is doing, and before a click, Enter or script that sends, posts, pays, orders, subscribes, deletes or closes an account, and before Enter in a message box, it asks the user first. A "No" fails the action with BrowserActionDeclinedError: report that, never retry it or go around it (session.tool() lets only reads through; evaluate is guarded too). If the user presses Stop, the next call throws BrowserUserStoppedError: tell the user browser use was stopped and start no new session this turn.

The guard prevents mistakes by a cooperating agent. It is not a security boundary: code that imports the raw entry (resolveOmowrightEntry()) is not guarded, and a host without the omo_browser_bridge tool cannot show state or honor Stop, though questions are still asked.

Step 1 — load omowright and prove the stack

const { loadOmowright } = await import("<skill-root>/scripts/omowright.mjs")
const { omowright } = await loadOmowright()          // { connectBrowserSkill, bskSnapshot, connectPipe, ... }
node "<skill-root>/scripts/browser-doctor.mjs" --json
State Meaning Next
ready CLI, daemon and a connected browser start a session
no-cli / no-daemon / no-extension something is missing node "<skill-root>/scripts/browser-install.mjs" [--browser=<id>] prepares everything it can for the browser the user uses, then prints the single step only the user can do (relaunch that browser and click Enable); relay it verbatim, wait, re-run the doctor
choose-browser the signals do not single out one browser (Safari/Firefox default, an idle default while another browser runs, several in use) nothing was installed; take the browser from memory or ask the user, then browser-install.mjs --browser=<id>
no-browser-support no Chromium-family profile on this machine say so and stop

Install into the browser the user actually uses, never into whatever happens to be on disk. Before installing, check your memory for the user's browser; otherwise read the doctor's browser (picked from the OS default browser, running apps and recent use — candidates shows the evidence). If memory and the doctor disagree, or the doctor says choose-browser, ask the user. Pass the answer as --browser=<id> and record it in memory. A Chrome that is merely installed is not their browser.

…

常见问题

如果网站要求输入账号和密码会怎么样?

如果你已经在浏览器中登录,AI 可以利用已有的登录状态。对于新的登录,或需要额外验证(比如验证码)的情况,AI 可能会请你帮忙。

AI 可以在我的浏览器里做任何事情吗?

AI 会按照你的指示行事。在执行购买或删除账号等操作之前,它不会在没有你确认的情况下擅自行动。它也只能与网站互动,不能随意执行其他操作。

我需要安装什么东西吗?

可能需要。如果是第一次使用,AI 可能会引导你在浏览器中安装一个扩展程序,以便它能够控制浏览器。

详情

作者的原始描述

Drives a real browser through the omowright library from the js eval kernel: sites the user is already signed into, forms and clicks, JS-rendered pages, screenshots, web QA, extension popups, a human handoff for login, CAPTCHA or OTP, and a browser you own for scraping, bot-scored targets, network capture and QA traces. Use for any interactive browser task; not for a plain search or an unblocked s

repo: code-yeongyu/oh-my-openagent

热度

GitHub 星标
70k
排名
#3129
许可证
NOASSERTION
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能