Agent Skillsholaboss-ai/holaOS › browser-core-efficient

browser-core-efficient

GitHub

优化嵌入式浏览器操作效率,通过减少轮次和状态快照,优先使用精准定位动作而非盲目浏览。提供工具选择、状态管理及等待策略指南,确保可靠且低开销的交互循环。

runtime/harnesses/src/embedded-skills/browser-core-efficient/SKILL.md holaboss-ai/holaOS

Trigger Scenarios

需要在嵌入式浏览器中进行高效交互 优化浏览器自动化脚本以减少API调用

Install

npx skills add holaboss-ai/holaOS --skill browser-core-efficient -g -y
More Options

Non-standard path

npx skills add https://github.com/holaboss-ai/holaOS/tree/main/runtime/harnesses/src/embedded-skills/browser-core-efficient -g -y

Use without installing

npx skills use holaboss-ai/holaOS@browser-core-efficient

指定 Agent (Claude Code)

npx skills add holaboss-ai/holaOS --skill browser-core-efficient -a claude-code -g -y

安装 repo 全部 skill

npx skills add holaboss-ai/holaOS --all -g -y

预览 repo 内 skill

npx skills add holaboss-ai/holaOS --list

SKILL.md

Frontmatter
{
    "name": "browser-core-efficient",
    "description": "Use when working in the embedded browser and you want the cheapest reliable interaction loop."
}

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

  1. If the target is already known, use browser_act directly with locator signals.
  2. If the target is semantically known but the page is large, use browser_find.
  3. Use browser_get_state only for orientation or when the target is still unclear.
  4. After page-changing actions, use wait_for on the action itself when possible.
  5. Re-read state only if the action result is ambiguous.

Tool Selection

  • Prefer browser_act over index-based tools when text, label, role, selector, or ref can identify the target.
  • Prefer browser_find before browser_get_state when you know what you want but not where it is.
  • Use browser_click and browser_type only when you already have a stable index from a fresh state snapshot.
  • Use browser_select_tab and browser_close_tab instead of spending extra calls re-orienting around tabs.
  • Use browser_wait for explicit stabilization, especially for URL changes, DOM changes, and download completion.

State Discipline

  • Default to browser_get_state with 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_for over a separate follow-up wait call.
  • Use interactive or domcontentloaded after lightweight transitions.
  • Use full load completion only when the page truly needs it.
  • Use download_started and download_completed for browser-triggered downloads instead of manual polling through state reads.

Escalation Rules

  • Escalate to browser_get_state detail=standard only when compact state is insufficient.
  • Escalate to include_page_text=true only when the page content itself is the task output.
  • Escalate to browser_evaluate for 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.

Version History

  • f52b580 Current 2026-07-25 05:13

Same Skill Collection

apps/desktop/electron/default-skills/audience-analyst/SKILL.md
apps/desktop/electron/default-skills/content-planner/SKILL.md
apps/desktop/electron/default-skills/content-writer/SKILL.md
apps/desktop/electron/default-skills/data-analyst/SKILL.md
apps/desktop/electron/default-skills/email-writer/SKILL.md
apps/desktop/electron/default-skills/idea-generator/SKILL.md
apps/desktop/electron/default-skills/image-generator/SKILL.md
apps/desktop/electron/default-skills/meeting-notes/SKILL.md
apps/desktop/electron/default-skills/performance-reporter/SKILL.md
apps/desktop/electron/default-skills/prd-writer/SKILL.md
apps/desktop/electron/default-skills/proposal-writer/SKILL.md
apps/desktop/electron/default-skills/summarizer/SKILL.md
apps/desktop/electron/default-skills/tone-adapter/SKILL.md
apps/desktop/electron/default-skills/translator/SKILL.md
apps/desktop/electron/default-skills/trend-spotter/SKILL.md
apps/desktop/electron/default-skills/video-generator/SKILL.md
apps/desktop/electron/default-skills/web-researcher/SKILL.md
runtime/harnesses/src/embedded-skills/app-builder-sdk/SKILL.md
runtime/harnesses/src/embedded-skills/browser-qa/SKILL.md
runtime/harnesses/src/embedded-skills/build-dashboard/SKILL.md
runtime/harnesses/src/embedded-skills/capability-creator/SKILL.md
runtime/harnesses/src/embedded-skills/create-teammate/SKILL.md
runtime/harnesses/src/embedded-skills/customize-capability/SKILL.md
runtime/harnesses/src/embedded-skills/frontend-design/SKILL.md
runtime/harnesses/src/embedded-skills/interface-design/SKILL.md
runtime/harnesses/src/embedded-skills/mcp-configurator/SKILL.md
runtime/harnesses/src/embedded-skills/skill-creator/SKILL.md
runtime/harnesses/src/embedded-skills/skill-installer/SKILL.md
runtime/harnesses/src/embedded-skills/stop-slop/SKILL.md

Metadata

Files
0
Version
f6013b5
Hash
15dc7858
Indexed
2026-07-25 05:13

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 03:04
浙ICP备14020137号-1 $Гость$