bugezy: Instructions file for Codex

AGENTS.md

bugezy AGENTS.md is an instructions file for Codex, OpenCode from fox100039-design/bugezy. It costs 530 tokens per session, scanned A, original, MIT.

A project-specific instruction set for Codex working on the BugEzy codebase. It defines reading order, decision boundaries, commit rules, and the project’s main technologies and folders.

In plain words
What is it for?
Use it when working on BugEzy tasks involving its Chrome extension, Cloudflare Workers API, React app, Supabase database, or MCP server.
Why use it?
It tells an agent what to inspect first, when to stop and ask the project owner, and which changes are outside its assigned scope.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to fox100039-design/bugezy. 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/fox100039-design/bugezy/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/fox100039-design/bugezy

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 bugezy AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fox100039-design/bugezy/agents-md.svg)](https://agentmods.dev/instructions/fox100039-design/bugezy/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/fox100039-design/bugezy/agents-md"><img src="https://agentmods.dev/badge/instructions/fox100039-design/bugezy/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 530 This file is loaded in full into every session.
When invoked 530 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.00530 $0.00530
Opus 5 $0.00265 $0.00265
Sonnet 5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured 8d ago against content hash 98279295f1d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bugezy 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 48 lines

What it actually says

AGENTS.md — BugEzy 工程規則

Codex 在 Zed 中的行為準則

基本規則

  1. 先讀任務:開工前先讀 job/job-MMDD.md 找到指派的 PM-XX
  2. 先讀架構:動手前先讀 ARCHITECTURE.mddocs/ 下的規格書
  3. 不猜測:不確定就問 FOX,不要假設
  4. 停工規則:遇到需要 FOX 決策的問題立即停工回報
  5. 範圍控制:只做被指派的任務,不自作主張擴大範圍
  6. 唯讀鐵律:Codex Chat(PM)不改程式碼,所有修改由 Codex 執行

Commit 規範

  • 格式:feat/fix/docs: 描述(日期)
  • 例:feat: Chrome 擴充截圖功能(2026-06-17)
  • 每個 PM 完成後 commit,不要累積

技術棧

  • Chrome 擴充:Manifest V3 + TypeScript
  • DOM 側錄:rrweb
  • 語音辨識:Web Speech API(優先)→ Groq Whisper API(降級)
  • 後端 API:Cloudflare Workers
  • 資料庫:Supabase(PostgreSQL)
  • 檔案儲存:Cloudflare R2
  • Web App:React + Vite
  • MCP Server:TypeScript + MCP SDK

目錄結構

extension/     Chrome 擴充(Manifest V3)
server/        Cloudflare Workers API
web/           React 報告頁
mcp-server/    MCP Server
docs/          規格文件
job/           每日任務檔

注意事項

  • 語音 API 成本敏感:優先用免費的 Web Speech API,不準時才降級 Groq
  • rrweb 錄 DOM 變化(JSON),不錄影片(省儲存)
  • MCP 用 Pull 模式(按需查詢),不要一次推送全量資料
  • 智能過濾:只擷取 console.error 和 4xx/5xx,不存 200 OK
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. 8d ago First seen · 48 lines · 530 tokens per session scan A 98279295f1d1

Subscribe to this mod's changes

bugezy AGENTS.md is an instructions file published in the GitHub repository fox100039-design/bugezy (0 stars, last pushed yesterday), licensed MIT. It adds 530 tokens to every session, about $0.0027 per session on Opus 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens