通用编程11k · #11678
browser-core-efficient
它能做什么
这项技能教 AI 在工作区内置浏览器中,以最快且可靠的方式点击、输入和阅读页面。适合经常执行浏览器任务的人。
适用场景
- ✓当你的智能体需要在内置浏览器中点击、输入或阅读页面时。
- ✓当浏览器任务因为步骤过多或截图过多而显得缓慢时。
- ✓当你希望智能体只用一次可靠的操作就能找到页面上的目标时的时候。
技能链接
https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/browser-core-efficient/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/browser-core-efficient/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add holaboss-ai/holaOS --skill browser-core-efficient
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/holaboss-ai/holaOS/main/runtime/harnesses/src/embedded-skills/browser-core-efficient/SKILL.md -o SKILL.md
可以这样问 AI
“请在内置浏览器中打开定价页面,并告诉我 Pro 套餐的价格,不要截图。”
每周 5 个新技能,1 分钟读完。
工作原理
当 AI 已经知道目标位置时,会直接前往该位置。它读取的是精简的页面摘要,而不是大量的页面快照,并且只在页面正在变化时才等待。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Browser Core Efficient
Use this skill when operating the workspace-embedded browser and efficiency matters.
Goals
- reduce browser tool round trips
- reduce large state snapshots
- reduce unnecessary screenshots and page text reads
- prefer reliable one-call actions over browse-then-browse-again loops
Default Loop
- If the target is already known, use
browser_actdirectly with locator signals. - If the target is semantically known but the page is large, use
browser_find. - Use
browser_get_stateonly for orientation or when the target is still unclear. - After page-changing actions, use
wait_foron the action itself when possible. - Re-read state only if the action result is ambiguous.
Tool Selection
- Prefer
browser_actover index-based tools when text, label, role, selector, or ref can identify the target. - Prefer
browser_findbeforebrowser_get_statewhen you know what you want but not where it is. - Use
browser_clickandbrowser_typeonly when you already have a stable index from a fresh state snapshot. - Use
browser_select_tabandbrowser_close_tabinstead of spending extra calls re-orienting around tabs. - Use
browser_waitfor explicit stabilization, especially for URL changes, DOM changes, and download completion.
State Discipline
- Default to
browser_get_statewith compact detail. - Do not request page text unless the task is primarily about reading content.
- Do not request screenshots unless DOM-first signals are insufficient.
- When a fact may live in custom-element attributes,
data-*attributes,hrefs, or hydration data rather than visible text, inspect that targeted page-local DOM source before concluding the fact is unavailable. - If a page change likely invalidated earlier refs or indexes, treat them as stale and re-locate the target.
Wait Discipline
- Prefer action-local
wait_forover a separate follow-up wait call. - Use
interactiveordomcontentloadedafter lightweight transitions. - Use full load completion only when the page truly needs it.
- Use
download_startedanddownload_completedfor browser-triggered downloads instead of manual polling through state reads.
Escalation Rules
- Escalate to
browser_get_state detail=standardonly when compact state is insufficient. - Escalate to
include_page_text=trueonly when the page content itself is the task output. - Escalate to
browser_evaluatefor narrow read-only extraction when the required fact is likely present in page-local attributes or hydration data but not exposed cleanly through visible text. - Escalate to screenshots for visual ambiguity, layout validation, canvas/chart/PDF content, or explicit user-visible confirmation.
- Escalate to debug or observability tools only after the cheaper path fails.
常见问题
它会减少截图吗?
会。当较小的检查就足够时,该技能会避免不必要的截图和完整的页面读取。
如果 AI 不知道目标在哪里怎么办?
它会先在页面中搜索该项目,之后才会读取更完整的页面摘要。
它只能在工作区浏览器中使用吗?
是的。它是为工作区内嵌的浏览器编写的。
详情
作者的原始描述
Use when working in the embedded browser and you want the cheapest reliable interaction loop.
repo: holaboss-ai/holaOS
热度
- GitHub 星标
- 11k
- 排名
- #11678
- 许可证
- —
- 更新时间
- 2026/10/28
评论
- …