ai-invictum-browser-bridge: Instructions file for Codex

AGENTS.md

ai-invictum-browser-bridge AGENTS.md is an instructions file for Codex, OpenCode from invictumhr/ai-invictum-browser-bridge. It costs 1,162 tokens per session, scanned A, original, MIT.

Repository instructions for Invictum Browser Bridge, a local system that lets an AI agent control a visible Chrome browser.

In plain words
What is it for?
Guiding browser-based development and use, including logins, file uploads, WordPress menus, WordPress editors, and Figma files.
Why use it?
They define the bridge’s accepted names and require the right guides and typed browser actions for tasks such as uploads and WordPress administration.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is invictumhr/ai-invictum-browser-bridge's own configuration. It tells Codex and OpenCode how to work on ai-invictum-browser-bridge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-invictum-browser-bridge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to invictumhr/ai-invictum-browser-bridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/invictumhr/ai-invictum-browser-bridge/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/invictumhr/ai-invictum-browser-bridge

Made for: Codex, OpenCode.

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 ai-invictum-browser-bridge AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/invictumhr/ai-invictum-browser-bridge/agents-md/github.svg)](https://agentmods.dev/instructions/invictumhr/ai-invictum-browser-bridge/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/invictumhr/ai-invictum-browser-bridge/agents-md"><img src="https://agentmods.dev/badge/instructions/invictumhr/ai-invictum-browser-bridge/agents-md/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 ai-invictum-browser-bridge AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/invictumhr/ai-invictum-browser-bridge/agents-md"><img src="https://agentmods.dev/badge/instructions/invictumhr/ai-invictum-browser-bridge/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,162 This file is loaded in full into every session.
When invoked 1,162 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01162 $0.01162
Opus 5.5 $0.00465 $0.00465
Sonnet 5.5 $0.00232 $0.00232
Haiku 4.5 $0.00116 $0.00116

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

Security

Grade A, and why

ai-invictum-browser-bridge AGENTS.md 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 1mo 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.

AGENTS.md · 89 lines

How it starts

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

Invictum Browser Bridge agent instructions

The phrases use IBB, use IBG, use Invictum Browser Bridge, and use Invictum Browser Gate all mean the same thing. Croatian equivalents such as koristi IBB, koristi IBG, koristi Invictum Browser Bridge, and koristi Invictum Browser Gate are recognized aliases. Read the entire AGENT_TRIGGER.md before the first browser action.

Before developing, starting, diagnosing, or using the Bridge, read the entire AGENT_USAGE.md.

Read the specialized guide that applies to the task:

  • Login, HTTP Basic Auth, and native JavaScript dialogs: AUTH_AND_DIALOGS.md.
  • Local file upload: docs/FILE_UPLOAD.md. Use only browser.set_file_input_files; never attempt to set FileList through JavaScript or a coordinate click.
  • Classic WordPress Appearance > Menus: docs/WORDPRESS_MENUS.md. Use typed browser.get_wordpress_menu and browser.edit_wordpress_menu; do not reorganize menus with coordinate dragging or raw JavaScript.
  • WordPress admin list tables, notices, Gutenberg, and Classic Editor: docs/WORDPRESS_ADMIN.md. Prefer typed WordPress actions and authoritative editor models.
  • Figma browser design files: docs/FIGMA.md. Run the typed healthcheck first, treat the rendered layer tree as virtualized/partial, and use screenshots for the WebGL canvas.
  • Advanced DOM/CSS work, custom widgets, event listeners, event capture, and raw-JavaScript fallback: docs/ADVANCED_BROWSER_TOOLS.md. Always prefer a typed action; raw JavaScript is an explicitly authorized R3 last resort.
  • Viewport, element, region, and full-page screenshots plus tutorial annotations: docs/SCREENSHOTS_AND_ANNOTATIONS.md.
  • Programmatic console, metadata-only network capture, mobile emulation, advanced gestures, and PDF export: docs/ADVANCED_AGENT_CAPABILITIES.md.
  • WHM/cPanel and other xterm-compatible browser terminals: docs/TERMINAL_AUTOMATION.md. Use only the typed terminal actions; buffer reads are R2 and every text/key input is R3. Never retry uncertain terminal input automatically.
  • MCP dry runs, idempotency, structured confirmation/elicitation, post-action context, strict stale relocation, conditional batching, and set-of-marks screenshots: docs/MCP_AGENT_ERGONOMICS.md.
  • Clean page text, natural-language element discovery, history navigation, same-origin page API calls, and policy-preserving batches: docs/AGENT_PRODUCTIVITY_ACTIONS.md.
  • Authenticated local control, durable audit/idempotency, per-domain boundaries, frame/navigation/performance/accessibility diagnostics, managed downloads, visual traces/diffs, experimental page WebMCP, and restart/sleep soak testing: docs/PRODUCTION_HARDENING_AND_DIAGNOSTICS.md.

AGENT_USAGE.md is authoritative for:

  • MCP, CLI, Agent SDK, and local control API usage;
  • automatic Bridge startup and recovery;
  • Native Messaging connectivity checks;
  • runtime capabilities reported by system.capabilities;
  • Chrome Site access and restricted pages;
  • automatic background-tab behavior and per-tab agent identity;
  • the bounded background-first readiness rule: wait 20 seconds, activate once only for a genuinely focus-gated renderer, then restore prior user focus when safe;
  • prefilled login, ephemeral HTTP Basic Auth, and native dialogs;
  • explicitly authorized local file upload without path leakage in audit logs;
  • typed WordPress menu/admin/editor workflows;
  • typed Figma document/layer/property inspection and safe selection;
  • advanced inspection, event capture, DOM/CSS mutation, and raw-JS fallback;
  • metadata-only network diagnostics, synthetic gestures, and PDF export;
  • explicitly authorized, bounded browser-terminal detection, readback, trusted input, waits, and recovery;
  • screenshots, annotations, and coordinate fallback;
  • the required reserve -> work -> browser.unlock_tab lifecycle;
  • policy, audit, and security boundaries;
  • authenticated loopback control, persistent operation/audit state, domain boundaries, managed downloads, page WebMCP, and resilience verification;
  • unit, integration, and real-Chrome verification.

Read the full file on GitHub · 89 lines

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. 1mo ago Changed · +6 lines · +108 tokens per session 52be2b1afea8
  2. 1mo ago First seen · 83 lines · 1,054 tokens per session scan A 4ab3e441d76e

Subscribe to this mod's changes

ai-invictum-browser-bridge AGENTS.md is an instructions file published in the GitHub repository invictumhr/ai-invictum-browser-bridge (0 stars, last pushed 1mo ago), licensed MIT. It adds 1,162 tokens to every session, about $0.0046 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-31.

Related

Other instructions, from other repositories