blowsh-mcp: Instructions file for Codex

AGENTS.md

blowsh-mcp AGENTS.md is an instructions file for Codex, OpenCode from mokhtarabadi/blowsh-mcp. It costs 3,390 tokens per session, scanned A, original, MIT.

A project instruction file for blowsh-mcp, an MCP server that lets AI agents browse modern JavaScript web pages through a text-based browser. It documents setup, safety rules, development commands, and verification steps.

In plain words
What is it for?
Use it when building, running, Docker-packaging, testing, or reviewing blowsh-mcp, including its web search, link extraction, batch fetching, and structured page extraction.
Why use it?
It gives agents the project context and operating rules needed to change the server safely and check that it still works.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions OpenCode.

This is mokhtarabadi/blowsh-mcp's own configuration. It tells Codex and OpenCode how to work on blowsh-mcp 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 blowsh-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mokhtarabadi/blowsh-mcp. 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/mokhtarabadi/blowsh-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mokhtarabadi/blowsh-mcp

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 blowsh-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mokhtarabadi/blowsh-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/mokhtarabadi/blowsh-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,390 This file is loaded in full into every session.
When invoked 3,390 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.03390 $0.03390
Opus 5.5 $0.01356 $0.01356
Sonnet 5.5 $0.00678 $0.00678
Haiku 4.5 $0.00339 $0.00339

Measured 20d ago against content hash d6011bb22518, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

blowsh-mcp 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 20d 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 · 143 lines

How it starts

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

blowsh-mcp — Project Context Hub

Project Overview

blowsh-mcp is a Model Context Protocol (MCP) server that exposes Browsh — a fully JavaScript-capable terminal browser backed by headless Firefox — to AI agents. It renders any modern web page after full JS execution and returns plain text, HTML, or Markdown. Current version is 2.6.0 (see CHANGELOG.md); 2.0.0 added web search, link extraction, batch fetching, structured extraction, an SSRF guard, and a TTL render cache.

Tech stack: TypeScript 7 (strict, NodeNext ESM), Node.js >= 20.18, @modelcontextprotocol/sdk 1.30, zod 4, axios, cheerio, html2markdown CLI (external binary), Browsh CLI + Firefox (external binaries), Docker (multi-stage fat image).

Setup & Dev Commands

  • Build: npm run build (tsc, outputs dist/)
  • Start: node dist/server.js (stdio MCP transport, default)
  • Singleton HTTP: MCP_TRANSPORT=http MCP_HOST=0.0.0.0 MCP_PORT=8107 node dist/server.js (in Docker; host publish stays -p 127.0.0.1:8107:8107)
  • Dev: npm run dev (tsx watch-less runner)
  • Docker build: docker build -t blowsh-mcp:latest .
  • Docker run (MCP over stdio — MUST include -i): docker run --rm -i blowsh-mcp:latest
  • Verify: build, docker build, then an MCP JSON-RPC smoke test over stdio (initialize → tools/list → tools/call)
  • Lint: none configured; strict tsc is the gatekeeper

Actionable Guardrails (Do's & Don'ts)

  • Don't run the server directly on this machine for fetch tests — Firefox/Browsh/html2markdown are NOT installed locally. -> Do test through Docker: docker run --rm -i blowsh-mcp:latest.
  • Don't use firefox-esr as a bare binary name for Browsh — it resolves /usr/bin/firefox-esr only. -> Do set BROWSH_FIREFOX_PATH=/usr/bin/firefox-esr in the Dockerfile (already done).
  • Don't return error strings as successful tool results — tools must throw FetchError so MCP responds with isError: true. -> Do propagate FetchError (with HTTP status when known) and let server.ts format it.
  • Don't bypass the SSRF guard (assertSafeUrl) when adding new fetch paths. -> Do call assertSafeUrl(url) before any URL reaches Browsh.
  • Don't execute Git commands like git add, git commit, or git push autonomously or try to guess when to stage code. -> Do execute Git commands ONLY when explicitly instructed by an Orchestrator task block. Otherwise, rely on the custom_context_stage_and_inject_diff MCP tool. -> Exception: git mv is permitted autonomously for moving task files between Kanban directories (backlog, in-progress, qa, completed, archive).
  • Don't read context-reports/ markdown files yourself. -> Do generate them using the MCP server — context reports via custom_context_read_source_files, tree reports via custom_context_create_tree_report ("create a tree of the project") — and hand the file path to the Manager.
  • Don't guess blindly when facing complex bugs, deadlocks, or silent timeouts. -> Do utilize the debug-instrumentation skill to inject strategic logs and trace the runtime execution path.
  • Don't write bash scripts without strict mode or mask errors with 2>/dev/null on data commands. -> Do follow the Defensive Shell Protocol: set -euo pipefail, ban error masking, sidecar isolation for Docker backups. See docs/conventions.md.
  • Don't perform financial mutations without snapshotting the prior state or allow nulls in monetary aggregations. -> Do follow the Universal Financial Ledger Standard: snapshot-on-write, $ifNull precedence, discrepancy alerting, deep config merging. See docs/conventions.md.
  • Don't leave task numbers in visible prompt prose, section headings, or skill instructions. -> Do keep task-number references in code comments, CHANGELOG entries, task files, history archives, and HTML comments only. See docs/conventions.md.
  • Don't carry over assumptions, partial results, or architectural hypotheses from a previous task. -> Do flush context and treat every task as contextually independent (Buffer Isolation directive in validation-phase).
  • Don't execute raw, informal, or non-English (Farsi) prompts directly. -> Do load the prompt-refactor skill to translate and expand the intent into an elite English spec first. (Note: If you receive a standard XML task block, skip this and execute normally).
  • Don't attempt to resolve cross-disciplinary ambiguity within a single persona. -> Do trigger the Multi-Agent Brainstorming Loop if the Manager explicitly requests brainstorming or a task exhibits cross-disciplinary ambiguity. Interpret the <brainstorming_session> results in backlog tasks as non-functional guidelines that govern execution.

Read the full file on GitHub · 143 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. 20d ago Changed · +14 tokens per session d6011bb22518
  2. 1mo ago Changed · +1 lines · +57 tokens per session 7dd50afe1628
  3. 1mo ago Changed · +2 lines · +57 tokens per session 93ec1bf50936
  4. 2mo ago Changed · +53 lines · +1,674 tokens per session 212eb99fb7e2
  5. 2mo ago First seen · 87 lines · 1,588 tokens per session scan A f72b036b60b1

Subscribe to this mod's changes

blowsh-mcp AGENTS.md is an instructions file published in the GitHub repository mokhtarabadi/blowsh-mcp (3 stars, last pushed 18d ago), licensed MIT. It adds 3,390 tokens to every session, about $0.0136 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

blowsh-mcp AGENTS.md compared with instructions from other repositories

blowsh-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blowsh-mcp AGENTS.mdmokhtarabadi/blowsh-mcpInstructions file318d agoMITA3,390Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode