jacksonhuf/terminalsample/ontology-browser
Claude Code and agent skill by jacksonhuf/terminalsample
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Control the user's Chrome via Browser Extension — local bridge only (127.0.0.1), no remote server. Snapshot, navigate, click, fill, scripted capture.
Install
npx vskill@latest install jacksonhuf/terminalsample/ontology-browserSKILL.md
Ontology Browser(本机 Bridge + Chrome 扩展)
通过 本机轻量 Bridge(默认 http://127.0.0.1:9920)驱动用户 Chrome 中的扩展执行 DOM 操作。不需要单独部署远程中间服务器;Agent 与扩展都在同一台机器上,Bridge 只是本机 HTTP 守护进程。
前置条件
- 已安装 Python 包:
pip install "ontology-agent-platform[browser]"(或运行{baseDir}/../scripts/install.sh) - Chrome 已加载 Browser Extension,Options 里 Bridge URL =
BROWSER_BRIDGE_URL(默认http://127.0.0.1:9920),API 选 v1 - 本机 Bridge 已运行(见下方「启动 Bridge」)
启动 Bridge(本机即服务器)
验证:ontology-browser-client health
何时使用本 Skill
- 需要读取/操作用户已登录的 Web 页面(SSO、内网 ERP 等)
- 需要 snapshot、click、fill、声明式 script 采集
- 不要用 Playwright 另开无会话浏览器替代(会丢失 SSO)
推荐调用方式(CLI,Agent 用 exec 工具)
环境变量(可选):
1. 交互式 session(逐步操作)
2. 声明式 script(扩展自动逐步执行)
用 Python SDK 一次跑完(Agent 可 python3 -c 或调用 {baseDir}/scripts/run-script.py):
3. 直接 REST(任意语言)
POST $BROWSER_BRIDGE_URL/v1/browser/sessions— 创建 sessionPOST .../sessions/{id}/commands— 下发 goto / click / snapshot / finishGET .../sessions/pending— 扩展轮询用
故障排查
| 现象 | 处理 | |
|---|---|---|
| health 失败 | 运行 ontology-browser-client ensure-bridge | |
| snapshot 超时 | 确认扩展已连接、Bridge URL 与端口一致 | |
| 0 条数据 | interactive 模式需主动 snapshot/extract;scripted 需在 script 里 extract 或 finish 前传 records |
与 Ontology Admin 的关系
若本机已运行 ontology-admin --port 8080,可将 BROWSER_BRIDGE_URL=http://127.0.0.1:8080,无需再单独起 ontology-browser-bridge(Admin 内置 /v1/browser)。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ontology-browser/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jacksonhuf/terminalsample/ontology-browser)