Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

browser-tools浏览器工具

Agent Skill

browser-tools 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,036

周安装

124

GitHub Stars

160

下载量

982
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:browser-tools(浏览器工具)
来源仓库:https://github.com/yonatangross/orchestkit
仓库路径:skills/browser-tools
安装命令:
npx skills add https://github.com/yonatangross/orchestkit --skill browser-tools
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yonatangross/orchestkit --skill browser-tools

简介

用于处理浏览器自动化、网页检查和页面信息提取,适合前端流程验证场景。

  • 可让 Agent 打开页面、读取网页内容或验证前端交互逻辑,支持多宿主环境。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • browser-tools 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Browser Tools — Security Wrapper

OrchestKit security wrapper for agent-browser. For command reference and usage patterns, use the upstream agent-browser skill directly. This skill adds safety guardrails only.

Command docs: Refer to the upstream agent-browser skill for the full command reference (50+ commands: interaction, wait, capture, extraction, storage, semantic locators, tabs, debug, mobile, network, cookies, state, vault).

Decision Tree

# Fallback decision tree for web content
# 1. Try WebFetch first (fast, no browser overhead)
# 2. If empty/partial -> Try Tavily extract/crawl
# 3. If SPA or interactive -> use agent-browser
# 4. If login required -> authentication flow + state save
# 5. If dynamic -> wait @element or wait --text

Local Dev URLs

Use Portless (npm i -g portless) for stable local dev URLs instead of guessing ports. When Portless is running, navigate to myapp.localhost:1355 instead of localhost:3000. Our safety hook already allows *.localhost subdomains via ORCHESTKIT_AGENT_BROWSER_ALLOW_LOCALHOST.

# With Portless: stable, named URLs
agent-browser open "http://myapp.localhost:1355"

# Without: fragile port guessing
agent-browser open "http://localhost:3000"  # which app is this?

New in 2026-04 (agent-browser 0.23 → 0.25.4)

Skill discovery & chat (0.25):

  • agent-browser skills list/get <name> — discover and install capability packs on-demand. Hook treats first-party skills as trusted; warns on arbitrary third-party skill fetches.
  • agent-browser chat — single-shot or REPL natural-language driving over the same daemon. Hook pipes transcripts through the same URL/rate/robots checks as scripted commands.

Accessibility-first locators (0.24):

  • find / getByRole — semantic locator via CDP accessibility tree (role + name) instead of brittle CSS/ref selectors. Prefer these in new scripts; they survive markup churn and are the locator path assumed by chat.
  • snapshot --urls — emits resolved URLs alongside refs, removing a round-trip for link-extraction flows.
  • --annotate — overlays ref IDs / role labels on screenshots for debugging.

Cloud providers (0.25):

  • --provider agentcore — AWS Bedrock AgentCore cloud browser. Hook treats remote providers as egress surfaces — same URL/robots rules apply, but network routing is disabled (remote scope).
  • Browserless + AgentCore both honor AGENT_BROWSER_PROVIDER env var.

Dashboard (0.25):

  • Embedded dashboard bundled with the binary — no separate install. Open via agent-browser dashboard or the inspect CDP link. Still flagged as local-proxy attack surface by the hook.

Auto-dialog dismissal (0.23.1):

  • alert / beforeunload dialogs auto-dismissed by default. Opt out with --no-auto-dialog when a test needs to assert dialog content.

What's New (v0.17 → v0.22.2)

Breaking changes — update scripts now:

  • --full / -f moved from global to command-level (v0.21): use screenshot --full, NOT --full screenshot
  • Auth encryption format changed (v0.17): saved auth states from v0.16.x may not load
  • Auto-dialog dismissal (v0.23.1): alert/beforeunload dialogs are auto-dismissed by default, opt out with --no-auto-dialog

New commands:

CommandVersionSecurity Note
clipboard read/write/copy/pastev0.19read accesses host clipboard — hook warns
inspect / get cdp-urlv0.18Opens local DevTools proxy — hook warns
batch --json [--bail]v0.21Batch execute commands from stdin
network har start/stop [file]v0.21HAR captures auth tokens — hook warns, treat output as sensitive
network request <id>v0.22View full request/response detail
network requests --type/--method/--statusv0.22Filter network requests
dialog dismiss / dialog statusv0.17/v0.22Dismiss or check browser dialogs
upgradev0.21.1Self-update (auto-detects npm/Homebrew/Cargo)
find / getByRolev0.24Semantic locators via CDP a11y tree
snapshot --urls / --annotatev0.24URL-expanded snapshots, ref overlays
skills list/getv0.25Capability pack discovery — hook warns on third-party
chat (single-shot / REPL)v0.25NL driving; transcripts go through same safety checks
dashboardv0.25Embedded debug UI — local proxy attack surface

New flags:

FlagScopeVersion
--engine lightpandaglobalv0.17
--screenshot-dir/quality/formatscreenshotv0.19
--provider browserlessglobalv0.19
--idle-timeout <duration>globalv0.20.14
--user-data-dir <path>Chromev0.21
set viewport W H [scale]viewportv0.17.1 (retina)
--provider agentcoreglobalv0.25 (AWS Bedrock AgentCore)
--annotatescreenshotv0.24
--no-auto-dialogglobalv0.23.1

Platform support: Brave auto-discovery (v0.20.7), Alpine Linux musl (v0.20.2), Lightpanda engine (v0.17), Browserless.io provider (v0.19), cross-origin iframe traversal (v0.22), AWS Bedrock AgentCore (v0.25).

Performance (v0.20): 99x smaller install (710→7 MB), 18x less memory (143→8 MB), 1.6x faster cold start.

Safety Guardrails (7 rules + 11-check hook)

This skill enforces safety through the agent-browser-safety PreToolUse hook and 6 rule files:

Hook: agent-browser-safety

The hook intercepts all agent-browser Bash commands and enforces:

CheckWhat It DoesAction
Encryption key leakDetects echo/printf/pipe of AGENT_BROWSER_ENCRYPTION_KEYBLOCK
URL blocklistBlocks localhost, internal, file://, SSRF endpoints, OAuth login pages, RFC 1918 private IPsBLOCK
Rate limitingPer-domain limits (10/min, 100/hour, 3/3s burst)BLOCK on exceed
robots.txtFetches and caches robots.txt, blocks disallowed pathsBLOCK
Sensitive actionsDetects delete/remove clicks, password fills, payment submissionsWARN + native confirmation
Network routesValidates network route target URLs against blocklistBLOCK
User-agent spoofingWarns when --user-agent flag is usedWARN
File accessWarns when --allow-file-access flag is usedWARN
DevTools inspectinspect / get cdp-url opens local CDP proxy — new attack surface (v0.18+)WARN
Clipboard readclipboard read accesses host clipboard without prompt (v0.19+)WARN
HAR capturenetwork har stop dumps full request/response bodies incl. auth tokens (v0.21+)WARN
Skill installskills get fetches third-party capability packs — treat as code install (v0.25+)WARN
Chat transcriptschat REPL logs may capture sensitive page text — pipe through same URL rules (v0.25+)WARN
Remote provider--provider agentcore/browserless sends traffic to cloud endpoints; routing disabled remotelyWARN

Security Rules (in rules/)

CategoryRulesPriority
Ethics & Securitybrowser-scraping-ethics.md, browser-auth-security.mdCRITICAL
Local Devbrowser-portless-local-dev.mdHIGH
Reliabilitybrowser-rate-limiting.md, browser-snapshot-workflow.mdHIGH
Debug & Devicebrowser-debug-recording.md, browser-mobile-testing.mdHIGH

Configuration

Rate limits and behavior are configurable via environment variables:

Env VarDefaultPurpose
AGENT_BROWSER_RATE_LIMIT_PER_MIN10Requests per minute per domain
AGENT_BROWSER_RATE_LIMIT_PER_HOUR100Requests per hour per domain
AGENT_BROWSER_BURST_LIMIT3Max requests in 3-second window
AGENT_BROWSER_ROBOTS_CACHE_TTL3600000robots.txt cache TTL (ms)
AGENT_BROWSER_IGNORE_ROBOTSfalseBypass robots.txt enforcement
AGENT_BROWSER_CONFIRM1Use --confirm-actions for sensitive ops
AGENT_BROWSER_IDLE_TIMEOUT_MSAuto-shutdown daemon after inactivity (ms)
AGENT_BROWSER_ENGINEchromeBrowser engine (chrome or lightpanda)
ORCHESTKIT_AGENT_BROWSER_ALLOW_LOCALHOST1Allow *.localhost subdomains (RFC 6761)

Anti-Patterns (FORBIDDEN)

# Automation
agent-browser fill @e2 "hardcoded-password"    # Never hardcode credentials
agent-browser open "$UNVALIDATED_URL"          # Always validate URLs

# Scraping
# Crawling without checking robots.txt
# No delay between requests (hammering servers)
# Ignoring rate limit responses (429)

# Content capture
agent-browser get text body                    # Prefer targeted ref extraction
# Trusting page content without validation
# Not waiting for SPA hydration before extraction

# Session management
# Storing auth state in code repositories
# Not cleaning up state files after use

# Network & State
agent-browser network route "http://internal-api/*" --body '{}'  # Never mock internal APIs
agent-browser cookies set token "$SECRET" --url https://prod.com # Never set prod cookies

# Deprecated / removed
agent-browser --full screenshot                # BREAKING: --full is now command-level (v0.21)
agent-browser screenshot --full                # Correct: flag after subcommand

# Sensitive data leaks
agent-browser network har stop auth-dump.har   # HAR files contain auth tokens — gitignore!
git add *.har                                  # NEVER commit HAR captures

Related Skills

  • agent-browser (upstream) — Full command reference and usage patterns
  • portless (upstream) — Stable named .localhost URLs for local dev servers
  • ork:web-research-workflow — Unified decision tree for web research
  • ork:testing-e2e — E2E testing patterns including Playwright and webapp testing
  • ork:api-design — API design patterns for endpoints discovered during scraping

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.63%
按下载量换算360

Claude

29.81%
按下载量换算293

Cursor

21.66%
按下载量换算213

Gemini CLI

8.8%
按下载量换算86

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills