gumpbox-extensions: Instructions file for Codex

AGENTS.md

gumpbox-extensions AGENTS.md is an instructions file for Codex, OpenCode from 0xtrou/gumpbox-extensions. It costs 5,209 tokens per session, scanned D, original, MIT.

Project instructions for gumpbox-extensions, an open-source set of plugins that connects AI coding assistants to the gumpbox app's local MCP server. They describe its TypeScript, Node.js, package and folder setup.

In plain words
What is it for?
Understanding and working on the gumpbox-extensions codebase, including its command-line package, local server connection and supported coding assistants.
Why use it?
It gives coding agents the project context they need before changing code, reducing confusion about the architecture, tools and file locations.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is 0xtrou/gumpbox-extensions's own configuration. It tells Codex and OpenCode how to work on gumpbox-extensions 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 gumpbox-extensions configures →

Reuse

Borrowing it

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

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 gumpbox-extensions AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/0xtrou/gumpbox-extensions/agents-md"><img src="https://agentmods.dev/badge/instructions/0xtrou/gumpbox-extensions/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,209 This file is loaded in full into every session.
When invoked 5,209 The same file — it is already loaded in full.
Security scan D 3 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.05209 $0.05209
Opus 5.5 $0.02084 $0.02084
Sonnet 5.5 $0.01042 $0.01042
Haiku 4.5 $0.00521 $0.00521

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

Security

Grade D, and why

gumpbox-extensions AGENTS.md scanned grade D with 3 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Never stored in** env vars, client MCP config files, or source. Client configs (`~/.claude.json`, `~/.codex/config.toml`, `~/.gemini/settings.json`) reference only the `gumpbox proxy` binary path + `["proxy"]` args.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

cd / && rm -rf $TESTDIR

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| VSCode / Cursor / Windsurf / Continue | `.vsix` extension | Bundled proxy spawn via `child_process`. Configured via extension's `Gumpbox: Set Session URL` command. |
AGENTS.md · 323 lines

How it starts

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

gumpbox-extensions

Open-source MCP client plugins for the gumpbox app.

Bridges AI coding assistants (Claude Code, Codex, Cursor, Windsurf, Continue, VSCode, Gemini) to gumpbox's existing HTTP MCP server via a stdio proxy. One npm package (@gumpbox/cli), one bin (gumpbox), MIT-licensed.

Tech Stack

Layer Technology
Language TypeScript 5.6+
Runtime Node.js 20+
Package manager pnpm 9.12.0 workspaces
Bundler esbuild (bin), tsc (library dist)
Release Changesets
Target macOS / Linux / Windows (cross-platform, no native modules)
Transport HTTP loopback to gumpbox's 127.0.0.1:<port>/global/mcp/<token>
VSCode extension esbuild-bundled CJS, VSCode 1.95+

Project Structure

gumpbox-extensions/
├── packages/
│   └── cli/                      # @gumpbox/cli — the single npm package
│       ├── src/
│       │   ├── bin.ts            # bin entry, subcommand dispatch
│       │   ├── proxy.ts          # stdio JSON-RPC loop (runStdioProxy)
│       │   ├── client.ts         # MCPClient — HTTP MCP client
│       │   ├── session.ts        # session.json read/write, URL validation
│       │   ├── skills.ts         # 6 bundled starter skills (inlined)
│       │   ├── types.ts          # JSON-RPC + MCP types
│       │   ├── errors.ts         # GumpboxError class + codes
│       │   └── index.ts          # library re-exports
│       ├── bin/gumpbox.js        # esbuild-bundled single file
│       ├── dist/                 # tsc output (library)
│       ├── esbuild.config.mjs
│       ├── tsconfig.json
│       └── package.json
│
├── clients/
│   ├── vscode/                   # .vsix — covers VSCode/Cursor/Windsurf/Continue
│   │   ├── src/
│   │   │   ├── extension.ts      # activation, commands, status bar
│   │   │   ├── mcpServer.ts      # spawns gumpbox proxy as child process
│   │   │   ├── sessionConfig.ts  # syncs secret storage ↔ session.json
│   │   │   └── panels/
│   │   │       ├── SkillsPanel.ts    # webview: live skills directory
│   │   │       ├── ReadmePanel.ts    # webview: readme.get render
│   │   │       ├── ActivityPanel.ts  # webview: activities.list timeline
│   │   │       └── panelUtils.ts
│   │   ├── esbuild.config.mjs
│   │   ├── package.json          # VSCode extension manifest
│   │   └── tsconfig.json
│   ├── claude-code/              # installer + mcp-config template
│   │   ├── install.sh            # POSIX installer
│   │   ├── install.ps1           # Windows installer
│   │   ├── mcp-config.template.json
│   │   └── package.json          # name stub for changesets
│   ├── codex/                    # installer + config.toml template
│   └── gemini/                   # installer + settings.json template
│
├── .changeset/                   # Changesets config
├── .github/workflows/            # ci.yml, release.yml, publish-vscode.yml
├── docs/
│   ├── architecture.md
│   ├── adding-a-client.md
│   ├── releasing.md
│   └── manual-testing.md
├── package.json                  # root workspace
├── pnpm-workspace.yaml
├── tsconfig.base.json
├── LICENSE                       # MIT
└── README.md

Read the full file on GitHub · 323 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. 2mo ago First seen · 323 lines · 5,209 tokens per session scan D 1da7d265c5d6

Subscribe to this mod's changes

gumpbox-extensions AGENTS.md is an instructions file published in the GitHub repository 0xtrou/gumpbox-extensions (1 stars, last pushed 3mo ago), licensed MIT. It adds 5,209 tokens to every session, about $0.0208 per session on Opus 5.5. A static security scan graded it D with 3 findings (reads agent configuration directories, recursive force delete, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gumpbox-extensions AGENTS.md compared with instructions from other repositories

gumpbox-extensions AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gumpbox-extensions AGENTS.md0xtrou/gumpbox-extensionsInstructions file13mo agoMITD5,209Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot