codex-status-bar: Instructions file for Codex

AGENTS.md

codex-status-bar AGENTS.md is an instructions file for Codex, OpenCode from yuriipalam/codex-status-bar. It costs 862 tokens per session, scanned A, original, MIT.

Repository-specific instructions for Codex Status Bar, a read-only macOS menu-bar app that displays local Codex activity.

In plain words
What is it for?
Use them when changing activity parsing, status labels, client badges, Swift code, shell scripts, tests, or release behavior.
Why use it?
They define the app's architecture, privacy limits, testing expectations, and safe handling of Codex's local files.

Instructions file for CodexOpenCode

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

This is yuriipalam/codex-status-bar's own configuration. It tells Codex and OpenCode how to work on codex-status-bar 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 codex-status-bar configures →

Reuse

Borrowing it

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

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 codex-status-bar AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yuriipalam/codex-status-bar/agents-md"><img src="https://agentmods.dev/badge/instructions/yuriipalam/codex-status-bar/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 862 This file is loaded in full into every session.
When invoked 862 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.00862 $0.00862
Opus 5.5 $0.00345 $0.00345
Sonnet 5.5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

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

Security

Grade A, and why

codex-status-bar 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 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.

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 · 91 lines

How it starts

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

Repository Instructions

Read README.md before making changes. Follow the product behavior, privacy boundaries, build commands, distribution notes, and local-state assumptions documented there.

Engineering Expectations

  • Prefer the existing SwiftPM layout: keep platform-independent parsing, state, formatting, and presentation logic in Sources/CodexBarCore, and keep AppKit/menu-bar wiring in Sources/CodexBar.
  • Use Swift and macOS best practices for a small native menu-bar app: value types for pure model/presentation state, dependency injection for filesystem/environment readers, main-thread AppKit updates, and no unnecessary global state.
  • Keep Codex Status Bar local-first and read-only for Codex activity data. Do not add network calls, telemetry, hooks, or writes to session JSONL/global state.
  • Treat Codex local files as implementation details, not a stable public API. Add or update focused tests when parsing new JSONL events, state files, metadata fields, or status labels.
  • Use originator only for visible APP/CLI/IDE client badges. Do not fall back to noisy source metadata for badge display.
  • For shell scripts, fail fast on errors, quote paths, avoid destructive commands, and keep release packaging reproducible from ./build.sh --dmg.
  • For release packaging, assemble, sign, and verify the app in a clean staging directory, then publish final artifacts into build/. In-place local app copies are fine for development, but the DMG should come from the verified staged app.

Verification

Run the narrowest relevant checks for the change:

swift test
./build.sh --release

For packaging changes, also run:

./build.sh --dmg
hdiutil verify build/CodexStatusBar.dmg

For launch or AppKit behavior changes, run:

./script/build_and_run.sh --verify

Generated build artifacts under .build/, build/, dist/, .swiftpm/, and DerivedData/ should stay untracked.

Release Procedure

Only the maintainer publishes releases. App bundle versions are controlled by VERSION and BUILD_NUMBER:

Read the full file on GitHub · 91 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 · 91 lines · 862 tokens per session scan A 32139747ee0f

Subscribe to this mod's changes

codex-status-bar AGENTS.md is an instructions file published in the GitHub repository yuriipalam/codex-status-bar (11 stars, last pushed 3mo ago), licensed MIT. It adds 862 tokens to every session, about $0.0034 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

codex-status-bar AGENTS.md compared with instructions from other repositories

codex-status-bar AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-status-bar AGENTS.mdyuriipalam/codex-status-barInstructions file113mo agoMITA862Codex, 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,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot