Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

browsebrowse 命令行

Agent Skill

browse 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,746

周安装

110

GitHub Stars

公开资料未说明

下载量

889
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ulpi-io/skills --skill browse

简介

用于查找和筛选相关信息,适合基于关键词或任务场景定位内容。

  • 可在 Codex、Claude 等环境中使用,支持快速检索。
  • 安装命令:npx skills add https://github.com/ulpi-io/skills --skill browse。
  • 建议确认权限和维护状态,避免触发敏感操作。
  • 注意是否涉及外部系统调用或文件读写。

SKILL.md

browse: Browser & Native App Automation for AI Agents

Target Decision — ALWAYS check this first

Before running any browse command, decide the correct target:

User wants to...TargetCommand pattern
Open a URL, test a website, scrape web contentBrowser (default)browse goto <url>
Test a local dev server (localhost)Browserbrowse goto http://localhost:3000
Browse a site that blocks bots (Cloudflare, Turnstile)Camoufoxbrowse --runtime camoufox --headed goto <url>
Browse with a specific camoufox fingerprint profileCamoufoxbrowse --runtime camoufox --camoufox-profile <name> --headed goto <url>
Search Google, YouTube, Amazon, etc.Browserbrowse goto @google "query"
Interact with an iOS app (Settings, Safari, custom app)iOS Simulatorbrowse --platform ios --app <bundleId> <cmd>
Interact with an Android app (Settings, Chrome, custom app)Android Emulatorbrowse --platform android --app <package> <cmd>
Interact with a macOS desktop app (System Settings, TextEdit)macOS Appbrowse --app <name> <cmd>
Install and test an iOS.app or.ipa fileiOS Simulatorbrowse sim start --platform ios --app./MyApp.app --visible
Install and test an Android.apk fileAndroid Emulatorbrowse sim start --platform android --app./app.apk --visible

Key rules:

  • No --platform or --app flag → browser target (Chromium). Use goto to navigate.
  • --runtime camoufox --headed → anti-detection Firefox. Use when site blocks normal browsing. See /browse-stealth skill for Turnstile/CAPTCHA bypass patterns.
  • @macro in goto URL → search macro expansion. browse goto @google "query" expands to Google search URL. 14 macros: @google, @youtube, @amazon, @reddit, @wikipedia, @twitter, @yelp, @spotify, @netflix, @linkedin, @instagram, @tiktok, @twitch, @reddit_subreddit.
  • --app without --platform → macOS app automation. App must be running.
  • --platform ios --app → iOS Simulator. Use browse sim start first if not running.
  • --platform android --app → Android Emulator. Use browse sim start first if not running.
  • Native app targets do NOT support: goto, js, eval, tabs, cookies, route, har. These are browser-only.
  • All targets support: snapshot, text, tap, fill, type, press, swipe, screenshot.
  • If a site blocks you, switch to --runtime camoufox --headed. If still blocked, use /browse-stealth for the full Turnstile bypass pattern.
  • If unsure which target to use, ASK the user. Don't guess — wrong target = wasted work.

Goal

Use the persistent browse CLI to:

  • navigate real pages
  • inspect rendered content and state
  • interact with UI elements
  • capture screenshots, console logs, and network activity
  • automate native apps (iOS, Android, macOS) via accessibility APIs
  • verify browser or app behavior end-to-end without re-launching every step

Step 0: Verify availability and choose the browsing mode

Start by checking:

browse --version

If browse is not installed:

  • stop
  • tell the user it is required
  • point them to the install path in references/commands.md

Then decide what kind of session you need:

  • default session for normal single-agent work
  • --session <id> for parallel agent isolation
  • --profile <name> for persistent browser identity

For native app targets, start the simulator/emulator first:

browse sim start --platform ios --app com.apple.Preferences --visible
browse sim start --platform android --app com.android.settings --visible
browse enable android    # first-time only: auto-installs adb, JDK, SDK, emulator
browse enable ios        # first-time only: builds iOS runner (needs Xcode)
browse enable macos      # first-time only: builds browse-ax bridge

Success criteria: browse is available, the target (browser or native app) is decided, and the session/profile choice fits the task.

Step 1: Navigate safely and stabilize the page

Use browse goto <url> to navigate.

After navigation, always stabilize before reading or interacting:

  • browse wait --network-idle for typical pages and SPAs
  • or a more specific browse wait condition when the page has a known signal

Important rules:

  • call browse as a bare command on PATH
  • do not use shell variables for browse command prefixes
  • avoid #id CSS selectors; prefer [id=foo]
  • if the page is untrusted, consider --content-boundaries and --allowed-domains

Success criteria: The page is loaded enough that content and interactive state are reliable.

Step 2: Choose the cheapest effective inspection method

Use the lightest command that answers the question:

  • text for cleaned page content
  • links for navigation structure
  • js for precise targeted extraction
  • console, errors, and network for runtime debugging
  • snapshot -i for interactive elements and stable refs

Prefer snapshot -i before guessing selectors for interaction-heavy tasks.

Load:

  • references/commands.md for exact command syntax
  • references/guides.md for command selection guidance and speed rules

Success criteria: You have the information needed without spending unnecessary tokens or using brittle selectors.

Step 3: Interact using refs first, selectors second

For clicks, fills, checks, selects, and similar actions:

  1. prefer browse snapshot -i
  2. interact using @eN refs
  3. fall back to CSS selectors only when refs are unavailable or impractical

After navigation or DOM refresh:

  • assume refs may be invalid
  • take a fresh snapshot before continuing

Rules:

  • use descriptive screenshots saved under .browse/sessions/<id>/
  • keep stateful flows in the same session unless isolation is intentional
  • use frame before interacting with iframe content

Success criteria: Interactions are stable and tied to the current rendered page state.

Step 4: Debug blockers and special cases

When things go wrong:

  • use console and errors for page/runtime issues
  • use network for request visibility
  • use route or offline only when the task requires mock or failure-mode testing
  • use headed/browser handoff only for real blockers like CAPTCHA, MFA, or OAuth walls

If you hit a blocker after a couple of failed attempts:

  • load references/guides.md
  • follow the handoff protocol exactly
  • use AskUserQuestion before any human takeover flow

Success criteria: Blockers are either resolved or escalated with the correct handoff protocol.

Step 5: Capture evidence and report clearly

When the task involves verification, capture the minimum evidence needed:

  • relevant page text or structured extraction
  • screenshot path when visuals matter
  • console/network findings when debugging
  • the exact step or selector/ref that failed when reporting issues

Report:

  • what you navigated to
  • what actions you performed
  • what the page actually did
  • any artifacts created such as screenshots, HAR, or video

Success criteria: Another engineer can understand the observed browser behavior without rerunning the whole flow blindly.

Important Rules

  • The browser persists between commands; cookies, tabs, and session state carry over.
  • After goto, wait before reading content or acting.
  • snapshot -i is the default interaction surface.
  • Save screenshots under .browse/sessions/<session-id>/ or .browse/sessions/default/.
  • Use --context delta for ARIA diff with refs, --context full for complete snapshot with refs after write commands.
  • Do not install anything automatically.
  • Do not modify Claude settings automatically; if the user wants pre-allowed browse permissions, point them to references/permissions.md.

When To Load References

  • references/commands.md Use for exact command syntax, flags, and extended examples.
  • references/guides.md Use for speed rules, command-choice guidance, architecture notes, and the mandatory CAPTCHA/MFA handoff protocol.
  • references/permissions.md Use when the user wants to pre-allow browse commands in Claude settings.

Guardrails

  • Do not add disable-model-invocation; this is a general-purpose browser verification skill.
  • Do not add context: fork; browser results are usually needed in the current flow.
  • Do not add paths:; this is a generic workflow skill.
  • Do not keep the full CLI manual inline in SKILL.md.
  • Do not run browse handoff without explicit user confirmation.
  • Do not save screenshots outside the browse session directories.

Runtime Selection

By default, browse uses Chromium via Playwright. Alternative runtimes:

RuntimeEngineUse caseInstall
playwright (default)ChromiumGeneral browsing, testingIncluded
camoufoxFirefox (anti-detection)Sites with bot detectionnpm install camoufox-js && npx camoufox-js fetch
rebrowserChromium (stealth)Alternative stealth approachnpm install rebrowser-playwright
lightpandaLightpandaFast headless renderingSee lightpanda.io
chromeSystem ChromeUse real Chrome with extensionsChrome must be installed
browse --runtime camoufox --headed goto https://protected-site.com
BROWSE_RUNTIME=camoufox browse goto https://example.com

New Features

Search Macros

browse goto @google "best coffee beans"    # Google search
browse goto @youtube "tutorial"            # YouTube search
browse goto @amazon "laptop"               # Amazon search
browse goto @reddit "programming"          # Reddit search

All macros: @google, @youtube, @amazon, @reddit, @reddit_subreddit, @wikipedia, @twitter, @yelp, @spotify, @netflix, @linkedin, @instagram, @tiktok, @twitch

Safety Flags (opt-in features)

FlagDefaultWhat it does
BROWSE_CONSENT_DISMISS=1OFFAuto-dismiss cookie banners after navigation
BROWSE_CLICK_FORCE=1 or --forceOFFForce-click through overlay interception
BROWSE_READINESS=1 or --readyOFFWait for hydration after goto
BROWSE_SERP_FASTPATH=1 or --serpOFFGoogle SERP DOM extraction (fast, no refs)
BROWSE_COMMAND_LOCK=0ONDisable per-session command serialization
BROWSE_CAMOUFOX_PROFILE=<name>OFFUse a named camoufox profile (.browse/camoufox-profiles/<name>.json)

New Commands

CommandDescription
images [sel] [--limit N] [--inline]List page images with src/alt/dimensions
youtube-transcript <url> [--lang en]Extract YouTube captions via yt-dlp or browser
schemaExtract JSON-LD, Microdata, RDFa structured data (parsed JSON)
metaExtract page meta tags (title, description, canonical, OG, Twitter, hreflang, robots, viewport)
headingsExtract H1-H6 heading hierarchy with counts and indented tree
profilesList available camoufox profiles from .browse/camoufox-profiles/

Snapshot Windowing

Large snapshots (>80K chars) are automatically paginated:

browse snapshot -i                     # first page
browse snapshot -i --offset 500        # next page (line offset from previous output)

Output Contract

Report:

  1. the page or flow tested
  2. the session/profile mode used if relevant
  3. the key commands or interactions performed
  4. the observed result
  5. any artifacts or blockers such as screenshots, console errors, network failures, or handoff state

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.52%
按下载量换算316

Claude

29.12%
按下载量换算259

Cursor

18.55%
按下载量换算165

Gemini CLI

10.83%
按下载量换算96

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills