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

unbrowseunbrowse 命令行

Agent Skill

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

总安装

490

周安装

20

GitHub Stars

1

下载量

158
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/getfoundry/unbrowse --skill unbrowse

简介

unbrowse 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于网页内容抓取、资源索引或信息聚合等研究型任务。
  • 通过 GitHub 仓库安装,支持多种宿主平台调用。
  • 建议在使用前核实维护状态及是否涉及敏感操作如网络请求或文件访问。
  • unbrowse 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Unbrowse — Website-to-API Reverse Engineering

Overview

Unbrowse is a local service backed by a shared skill marketplace. When you ask it to do something, it first searches the marketplace for an existing skill discovered by any agent. If none exists, it captures the site, reverse-engineers the API, publishes the skill to the marketplace, and executes it. Future requests from any agent reuse the learned skill instantly.

The local server runs on http://localhost:6969 (or $UNBROWSE_URL if configured) and proxies marketplace operations to beta-api.unbrowse.ai. On first startup it auto-registers as an agent and caches the API key in ~/.unbrowse/config.json.

How Intent Resolution Works

When you call POST /v1/intent/resolve, the orchestrator follows this priority chain:

  1. Marketplace search -- Semantic vector search for existing skills matching your intent. Candidates are ranked by composite score: 40% embedding similarity + 30% reliability + 15% freshness + 15% verification status. If a skill scores above the confidence threshold, it executes immediately.
  2. Live capture -- If no marketplace skill matches, a headless browser navigates to the URL, records all network traffic, reverse-engineers API endpoints, and publishes a new skill to the marketplace.
  3. DOM fallback -- If no API endpoints are found (static/SSR sites), structured data is extracted from the rendered HTML.

Skills published by live capture become available to all agents on the network.

Quick Start

Set the base URL:

UNBROWSE=${UNBROWSE_URL:-http://localhost:6969}

Server Startup (Auto-handled)

Before making any API calls, ensure the local server is running. Check health first:

curl -sf "$UNBROWSE/health" || echo "NOT_RUNNING"

If the server is not running, start it. On first run it needs to register and accept the Terms of Service.

First-time setup (requires user consent):

  1. Show the user the ToS summary and ask for their explicit consent: Unbrowse needs you to accept its Terms of Service before it can run: API structures you discover may be shared in the collective registry You will not use Unbrowse to attack, overload, or abuse any target site The service is provided "as is" without warranty Unreel AI Pte Ltd (Singapore) governs these terms Full terms: https://unbrowse.ai/terms Do you accept?
  2. Only after the user agrees, start the server with their consent acknowledged:
cd ~/.agents/skills/unbrowse && UNBROWSE_NON_INTERACTIVE=1 UNBROWSE_TOS_ACCEPTED=1 nohup bun src/index.ts > /tmp/unbrowse.log 2>&1 &
  1. Wait for it to be ready:
for i in $(seq 1 10); do curl -sf "$UNBROWSE/health" && break || sleep 1; done

If the user declines, do not start the server. Unbrowse cannot operate without ToS acceptance.

Subsequent starts (already registered — ~/.unbrowse/config.json exists):

cd ~/.agents/skills/unbrowse && UNBROWSE_NON_INTERACTIVE=1 UNBROWSE_TOS_ACCEPTED=1 nohup bun src/index.ts > /tmp/unbrowse.log 2>&1 &

Agent Registration (Automatic)

The local server auto-registers on first startup and caches credentials in ~/.unbrowse/config.json. No manual API key setup is needed — it handles registration on boot once ToS is accepted.

Core Workflow

1. Natural Language Intent Resolution (Recommended)

The simplest way -- describe what you want and unbrowse figures out the rest:

curl -s -X POST "$UNBROWSE/v1/intent/resolve" \
  -H "Content-Type: application/json" \
  -d '{"intent": "get trending searches on Google", "params": {"url": "https://google.com"}, "context": {"url": "https://google.com"}}'

This will: search the marketplace for a matching skill, or capture the site, extract API endpoints, learn a skill, publish it, and execute it -- all in one call.

2. Manual Capture -> Execute Flow

Step 1: Capture a website

curl -s -X POST "$UNBROWSE/v1/intent/resolve" \
  -H "Content-Type: application/json" \
  -d '{"intent": "capture APIs from this site", "params": {"url": "https://example.com"}, "context": {"url": "https://example.com"}}'

Step 2: List learned skills

curl -s "$UNBROWSE/v1/skills" | jq .

Step 3: Execute a specific skill

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/execute" \
  -H "Content-Type: application/json" \
  -d '{"params": {}}'

Step 4: Inspect endpoint schema

curl -s "$UNBROWSE/v1/skills/{skill_id}/endpoints/{endpoint_id}/schema" | jq .

Authentication for Gated Sites

If a site requires login:

Interactive Login (opens a browser window)

curl -s -X POST "$UNBROWSE/v1/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/login"}'

The user completes login in the browser. Cookies are stored in the vault and automatically used for subsequent captures and executions on that domain.

Yolo Login (use existing Chrome sessions)

If the user is already logged into a site in their main Chrome browser, yolo mode opens Chrome with their real profile -- no need to re-login.

Important: Always ask the user before using yolo mode. Say: "I'll open your main Chrome browser with all your existing sessions. You'll need to close Chrome first. OK to proceed?"

curl -s -X POST "$UNBROWSE/v1/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "yolo": true}'

If the response contains "Chrome is running" error, tell the user to close Chrome and retry.

After Login, Re-capture

curl -s -X POST "$UNBROWSE/v1/intent/resolve" \
  -H "Content-Type: application/json" \
  -d '{"intent": "get my dashboard data", "params": {"url": "https://example.com/dashboard"}, "context": {"url": "https://example.com"}}'

Stored auth cookies are automatically loaded from the vault.

Mutation Safety

For non-GET endpoints (POST, PUT, DELETE), unbrowse requires explicit confirmation:

Dry Run (preview what would execute)

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/execute" \
  -H "Content-Type: application/json" \
  -d '{"params": {}, "dry_run": true}'

Confirm Unsafe Execution

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/execute" \
  -H "Content-Type: application/json" \
  -d '{"params": {}, "confirm_unsafe": true}'

Always use dry_run first for mutations. Ask the user before passing confirm_unsafe.

Field Projection

Request only specific fields from the response:

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/execute" \
  -H "Content-Type: application/json" \
  -d '{"params": {}, "projection": {"include": ["title", "url", "score"]}}'

Feedback

Report whether a skill execution was useful:

curl -s -X POST "$UNBROWSE/v1/feedback" \
  -H "Content-Type: application/json" \
  -d '{"target_type": "skill", "target_id": "{skill_id}", "endpoint_id": "{endpoint_id}", "outcome": "success", "rating": 5}'

Ratings (1-5) affect the skill's reliability score and marketplace ranking. Skills with consistently low ratings or consecutive execution failures are automatically deprecated from the marketplace.

Reporting Issues

If a skill is broken or returns wrong data, report it:

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/issues" \
  -H "Content-Type: application/json" \
  -d '{"category": "broken", "description": "Endpoint returns 403", "endpoint_id": "{endpoint_id}"}'

Categories: broken, wrong_data, needs_auth, rate_limited, stale_schema, missing_endpoint, other.

Search the Marketplace

Global search — find skills by intent across all domains

curl -s -X POST "$UNBROWSE/v1/search" \
  -H "Content-Type: application/json" \
  -d '{"intent": "get product prices", "k": 5}'

Domain-scoped search — find skills for a specific site

curl -s -X POST "$UNBROWSE/v1/search/domain" \
  -H "Content-Type: application/json" \
  -d '{"intent": "get trending items", "domain": "amazon.com", "k": 5}'

Response:

{
  "results": [
    {"id": 1, "score": 0.92, "metadata": {"skill_id": "...", "domain": "amazon.com", "name": "..."}}
  ]
}

Use the returned skill_id to execute the skill directly via /v1/skills/{skill_id}/execute.

Platform Stats

Get aggregate marketplace statistics:

curl -s "$UNBROWSE/v1/stats/summary" | jq .

Response:

{"skills": 142, "endpoints": 580, "domains": 67, "executions": 3200, "agents": 45}

Agent Profiles

Get your own profile (authenticated)

curl -s -H "Authorization: Bearer $UNBROWSE_API_KEY" "$UNBROWSE/v1/agents/me" | jq .

Get any agent's public profile

curl -s "$UNBROWSE/v1/agents/{agent_id}" | jq .

List recent agents

curl -s "$UNBROWSE/v1/agents?limit=20" | jq .

Response:

{
  "agent_id": "abc123",
  "name": "my-agent",
  "created_at": "2025-01-15T10:00:00Z",
  "skills_discovered": ["skill_abc", "skill_def"],
  "total_executions": 47,
  "total_feedback_given": 12
}

Skill Verification

Trigger a health check on a skill's endpoints:

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/verify" | jq .

Endpoint Selection

When intent/resolve returns, the response includes an available_endpoints array listing all discovered endpoints. The auto-selected endpoint may not always be the best one for your intent.

If the result looks wrong (e.g. you got a config blob, tracking data, or the wrong page), look at available_endpoints and re-execute with the correct one:

curl -s -X POST "$UNBROWSE/v1/skills/{skill_id}/execute" \
  -H "Content-Type: application/json" \
  -d '{"params": {"endpoint_id": "{correct_endpoint_id}"}}'

How to pick the right endpoint:

  • Prefer endpoints whose URL path matches your intent (e.g. /quotes for quotes, /api/products for products)
  • Endpoints with dom_extraction: true return structured data extracted from HTML pages
  • Endpoints with has_schema: true return structured JSON
  • Avoid endpoints with /cdn-cgi/, /collect, /tr/ -- these are tracking/infra

API Reference

All routes go through localhost:6969. Local routes are handled directly; marketplace routes are proxied to beta-api.unbrowse.ai automatically.

MethodEndpointAuthDescription
POST/v1/intent/resolveNoSearch marketplace, capture if needed, execute
GET/v1/skillsNoList all skills in the marketplace
GET/v1/skills/:idNoGet skill details
POST/v1/skillsYesPublish a skill to the marketplace
POST/v1/skills/:id/executeNoExecute a skill locally
POST/v1/skills/:id/verifyNoVerify skill endpoints
GET/v1/skills/:id/endpoints/:eid/schemaNoGet endpoint response schema
POST/v1/auth/loginNoInteractive browser login
POST/v1/feedbackNoSubmit feedback (affects reliability scores)
POST/v1/searchNoSemantic search across all domains
POST/v1/search/domainNoSemantic search scoped to a domain
POST/v1/agents/registerNoRegister agent, get API key
GET/v1/agents/meYesGet your own agent profile
GET/v1/agents/:idNoGet any agent's public profile
GET/v1/agentsNoList recent agents
GET/v1/stats/summaryNoPlatform stats (skills, endpoints, domains, agents)
POST/v1/validateNoValidate a skill manifest
POST/v1/skills/:id/issuesYesReport a broken/stale skill
GET/v1/skills/:id/issuesNoList issues for a skill
GET/healthNoHealth check

Rules

  1. Always try intent/resolve first -- it handles the full marketplace search -> capture -> execute pipeline
  2. Check the result -- if it looks wrong, inspect available_endpoints and retry with a specific endpoint_id
  3. If a site returns auth_required, use /v1/auth/login then retry
  4. Always dry_run before executing mutations (non-GET endpoints)
  5. Submit feedback after executions to improve skill reliability scores
  6. Use jq to parse JSON responses for clean output
  7. Replace {skill_id} and {endpoint_id} with actual IDs from previous responses
  8. Report broken skills via /v1/skills/:id/issues -- it helps all agents on the network

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.29%
按下载量换算56

Claude

29.62%
按下载量换算47

Cursor

19.93%
按下载量换算31

Gemini CLI

9.54%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills