codex-in-app-browser

codex-in-app-browser is a skill for Codex from PracticalSwan/agent-skills. It costs 111 tokens per session (1,070 once invoked), scanned A, original, MIT.

A skill for controlling Codex's built-in web browser, including opening pages, navigating, clicking, typing, taking screenshots, and reading page state.

In plain words
What is it for?
It is for testing local pages, visiting websites, interacting with page controls, capturing screenshots, and inspecting what a page shows.
Why use it?
It provides a documented way to operate the in-app browser when the session uses a non-OpenAI model and browser actions are requested.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Good fit It is for testing local pages, visiting websites, interacting with page controls, capturing screenshots, and inspecting what a page shows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/codex-in-app-browser
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.

Any agent
npx skills add PracticalSwan/agent-skills --skill codex-in-app-browser
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: 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 codex-in-app-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-in-app-browser/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/codex-in-app-browser)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/codex-in-app-browser"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-in-app-browser/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-in-app-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/codex-in-app-browser"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-in-app-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 55
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Agent Snooping · line 16
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.1 $0.00111 $0.01070
Opus 5.5 $0.00044 $0.00428
Sonnet 5.5 $0.00022 $0.00214
Haiku 4.5 $0.00011 $0.00107

Measured 2mo ago against content hash 9174f76755ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-in-app-browser 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 2mo 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.

codex-in-app-browser/SKILL.md · 103 lines

How it starts

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

Codex In-App Browser

The tool is mcp__node_repl__js. It is available in this session.

First: read the official skill

The official skill is authoritative. Read it before any browser work:

~/.codex/plugins/cache/openai-bundled/browser/<version>/skills/control-in-app-browser/SKILL.md

Find the latest <version> directory (for example 26.803.41515).

Bootstrap (once per session)

Send this as ONE line through mcp__node_repl__js:

if (globalThis.agent?.browsers == null) { const { setupBrowserRuntime } = await import("<plugin root>/scripts/browser-client.mjs"); globalThis.agent = await setupBrowserRuntime(); }

Replace <plugin root> with the browser plugin path. Then bind the in-app browser and read its documentation:

globalThis.iab = await agent.browsers.get("iab");
nodeRepl.write(await iab.documentation());

Read the complete documentation output before interacting with the page.

Rules

  • Send code as ONE line, or use @file:<path> with a trailing newline. The runtime fires on newline; input without a trailing newline silently does nothing.
  • Reuse the existing agent and iab bindings on later turns. Do not reinitialize.
  • open_in_codex only OPENS a tab. It cannot click, type, or read. Use mcp__node_repl__js for interaction.
  • Never start your own node_repl process and never write a side-channel driver. Use the tool you were given.

If the tool is missing

Stop and report that mcp__node_repl__js is not in the tool list. Do not build workarounds.

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/codex-in-app-browser and restart Codex after major changes.

Read the full file on GitHub · 103 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. 2mo ago Changed 9174f76755ad
  2. 2mo ago Changed eaca1f202cbc
  3. 2mo ago Changed b1d0e9b62fd4
  4. 3mo ago First seen · 103 lines · 111 tokens per session scan A 6f2f577093d0

Subscribe to this mod's changes

codex-in-app-browser is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 15d ago), licensed MIT. It adds 111 tokens to every session and 1,070 once invoked, about $0.0004 per session on Opus 5.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

codex-in-app-browser compared with skills from other repositories

codex-in-app-browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-in-app-browserPracticalSwan/agent-skillsSkill2515d agoMITA111Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code
browser-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA53Claude Code