ghostex-embedded-browser-use

ghostex-embedded-browser-use is a skill for Claude Code, Codex from maddada/Ghostex. It costs 89 tokens per session (763 once invoked), scanned A, original, MIT.

A guide for controlling web pages inside Ghostex, a desktop app with an embedded browser, through its command line. It covers opening pages, inspecting page content, interacting with controls, reading console logs, and taking screenshots.

In plain words
What is it for?
Use it to open or reuse browser panes, select pages, inspect the page structure, click and fill forms, run page code, debug errors, and capture screenshots.
Why use it?
It lets an agent work with Ghostex's built-in browser without starting a separate browser automation system.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/maddada/ghostex/ghostex-embedded-browser-use
Any agent
npx skills add maddada/Ghostex --skill ghostex-embedded-browser-use
Clone the repo
git clone --depth 1 https://github.com/maddada/Ghostex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghostex-embedded-browser-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-embedded-browser-use.svg)](https://agentmods.dev/skills/maddada/ghostex/ghostex-embedded-browser-use)
Your own site
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-embedded-browser-use"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-embedded-browser-use.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00089 $0.00763
Opus 5 $0.00044 $0.00381
Sonnet 5 $0.00018 $0.00153
Haiku 4.5 $0.00009 $0.00076

Measured 4d ago against content hash 1dfa4ba587b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ghostex-embedded-browser-use scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ghostex-embedded-browser-use/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ghostex-embedded-browser-use

Use Ghostex's CEF DevTools bridge for pages rendered inside Ghostex. This route does not require a second browser automation runtime.

Enter through the ghostex CLI, not a configured MCP integration. Do not add a persistent mcp_servers.ghostex-browser entry. The temporary stdio bridge speaks MCP internally because that is the embedded page-control protocol, but launch it only through ghostex browser mcp for the current task.

Requirements

  • Ghostex must be running before the CLI-launched bridge can attach to CEF.
  • A pane can be created or reused with ghostex browser open <url>.
  • The Ghostex CLI is bundled with the desktop app and linked on app startup.
  • Install this skill with ghostex browser install-skill when needed.

CLI transport

Launch the bridge directly from the CLI for the current task:

ghostex browser mcp

If Ghostex uses a non-default CEF remote-debugging port, pass it explicitly:

ghostex browser mcp --port 9333

The same value can be provided as GHOSTEX_CEF_REMOTE_DEBUGGING_PORT.

Canonical loop

  1. Open or reuse a suitable pane with ghostex browser open <url>.
  2. Call ghostex_list_pages and select the intended pane with ghostex_select_page when multiple pages exist.
  3. Read ghostex_console_logs before and after interactions when debugging.
  4. Call ghostex_snapshot and choose stable @e element refs.
  5. Perform one action with ghostex_click, ghostex_fill, ghostex_press_key, or ghostex_navigate.
  6. Re-run ghostex_snapshot after navigation or a major DOM change. Verify the expected page state before continuing.
  7. Use ghostex_evaluate for focused inspection and ghostex_screenshot when visual evidence matters.

Opening panes

  • ghostex browser open <url> defaults to the agent process cwd as the project path and reuses a same-origin pane in that project.
  • Pass --project-path "$PWD" or --project-id <id> when the task belongs to a specific Ghostex project or worktree.
  • Keep the returned browser session id and the MCP page id from ghostex_list_pages; reuse them instead of opening duplicate panes.
  • Use --reuse exact for exact-URL reuse, or --new only when a separate pane is intentional.

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 80 lines · 89 tokens per session scan A 1dfa4ba587b2

Subscribe to this mod's changes

ghostex-embedded-browser-use is a skill published in the GitHub repository maddada/Ghostex (753 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 763 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

go2rtc-cameras

Multi-camera RTSP to WebRTC streaming via go2rtc.

SharpAI/DeepCamera · 18 tokens

web-browse

Drive a headless browser to navigate pages, read content, click, and fill forms — for sites that need JavaScript rendering or interaction beyond a plain HTTP fetch.

initializ/forge · 37 tokens

br-cors-public-client

Configure better-route 1.1 CORS for browser, mobile, and embedded WordPress REST clients. Use for CorsPolicy, CorsMiddleware, WordPressCorsBridge, allowed origins/methods/headers, credentials, OPTIONS preflight, Authorization, X-WP-Nonce, Idempotency-Key, If-Match, If-None-Match, X-Request-ID, core WordPress CORS…

Lonsdale201/wp-agent-skills · 120 tokens

web-crawl

Get data from websites with the least necessary complexity. Use for quick lookups, visible-page extraction, search results, tables, pagination, detail-page traversal, downloadable files (Excel/CSV/PDF/ZIP), embedded page state, internal JSON/XHR APIs, bulk collection, reusable crawler generation, and delivery in any…

KuiChi-x/reverseloom · 108 tokens

borkdude

Guidance for selecting the right ClojureScript runtime across scripting, browser, Node, and embedded use.

plurigrid/asi · 27 tokens