ide-byebye: Instructions file for Codex

AGENTS.md

ide-byebye AGENTS.md is an instructions file for Codex, OpenCode from bo-516/ide-byebye. It costs 923 tokens per session, scanned A, original, MIT.

Project instructions for a browser-and-Node application, including code organization and security rules.

In plain words
What is it for?
Use them when changing shared, browser, or server code, especially features that handle file paths, requests, tokens, or privileged routes.
Why use it?
They help prevent unsafe file access, unauthorized server actions, duplicated code, and inconsistent JavaScript modules.

Instructions file for CodexOpenCode

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

This is bo-516/ide-byebye's own configuration. It tells Codex and OpenCode how to work on ide-byebye 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 ide-byebye configures →

Reuse

Borrowing it

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

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 ide-byebye AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bo-516/ide-byebye/agents-md"><img src="https://agentmods.dev/badge/instructions/bo-516/ide-byebye/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 923 This file is loaded in full into every session.
When invoked 923 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.00923 $0.00923
Opus 5.5 $0.00369 $0.00369
Sonnet 5.5 $0.00185 $0.00185
Haiku 4.5 $0.00092 $0.00092

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

Security

Grade A, and why

ide-byebye 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 27d 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 · 55 lines

How it starts

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

AGENTS.md

Structure & purity

  • Prefer pure functions. Side effects (DOM, fs, network, globals) live at the edges, not inside logic.
  • src/shared/ must run unchanged in both browser and Node: no window, no node:*, no DOM. Cross-env helpers go here so client and server agree on one implementation.
  • src/server/ is Node-only and handles untrusted payloads from the page. Treat every request body as attacker-controlled.
  • Split a file once it exceeds 200 lines; it MUST be split once it exceeds 400.

Module conventions

  • ESM only (import/export). No require, no CommonJS. The only exception is code emitted as a string for a CJS host (e.g. the VS Code bridge extension source).
  • Named exports only. Use export default only where the host tool requires it (webpack / Next.js loaders).
  • Reuse existing helpers (src/shared/util.ts, src/client/dialog/dialog-utils.ts, etc.) before writing a new one. Don't duplicate truncation, whitespace, locale, or path logic.

Code style

  • Declaration order: in one scope, declare every const before any let.
  • No type-check bypass: no @ts-ignore / @ts-expect-error / @ts-nocheck. Fix the type instead.
  • New or changed code adds no any / as any. Use unknown plus narrowing, or a real type.
  • Nest ternaries at most one level. Anything deeper becomes an early return, a lookup table, or a helper.
  • No magic values: route paths, DOM attribute names, storage keys, timeouts, and limits are named consts with a doc comment. Values used by both client and server live in src/shared/constants.ts.

Colors & styling

  • Colors are defined only as --cii-* tokens in src/client/lib/style-tokens.ts, each with a light and a dark value. Everything else uses var(--cii-*).
  • No hex / rgb() / hsl() / named color literals outside style-tokens.ts. Exceptions: vendor brand marks (agent-marks.ts) and console %c styles.
  • Need a new meaning? Add a new token; don't reuse one whose name means something else.
  • Inline el.style is only for values computed at runtime (position, size, transform, visibility). Everything else goes through a class.
  • Toggle conditional classes with classList.toggle(cls, cond), not string concatenation.

Read the full file on GitHub · 55 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. 27d ago Changed · +1 lines · +33 tokens per session b4a0b9ca4458
  2. 1mo ago Changed · +23 lines · +493 tokens per session 9a37143c0701
  3. 2mo ago First seen · 31 lines · 397 tokens per session scan A 74f7694c48d0

Subscribe to this mod's changes

ide-byebye AGENTS.md is an instructions file published in the GitHub repository bo-516/ide-byebye (30 stars, last pushed 7d ago), licensed MIT. It adds 923 tokens to every session, about $0.0037 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

ide-byebye AGENTS.md compared with instructions from other repositories

ide-byebye AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ide-byebye AGENTS.mdbo-516/ide-byebyeInstructions file307d agoMITA923Codex, 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