Borrowing it
Nothing to install: this file belongs to distsystem/codex-desktop-linux. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/distsystem/codex-desktop-linux/main/AGENTS.mdgit clone --depth 1 https://github.com/distsystem/codex-desktop-linuxWrote 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.
[](https://agentmods.dev/instructions/distsystem/codex-desktop-linux/agents-md)<a href="https://agentmods.dev/instructions/distsystem/codex-desktop-linux/agents-md"><img src="https://agentmods.dev/badge/instructions/distsystem/codex-desktop-linux/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.
<a href="https://agentmods.dev/instructions/distsystem/codex-desktop-linux/agents-md"><img src="https://agentmods.dev/badge/instructions/distsystem/codex-desktop-linux/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01840 | $0.01840 |
| Opus 5.5 | $0.00736 | $0.00736 |
| Sonnet 5.5 | $0.00368 | $0.00368 |
| Haiku 4.5 | $0.00184 | $0.00184 |
Grade A, and why
codex-desktop-linux 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Purpose
This repository repackages OpenAI's signed official Linux chatgpt package as
the independently named codex-desktop distribution. It preserves the
official ELF/Electron payload and bundled tools, adds disabled-by-default Linux
features, builds deb/RPM/pacman/AppImage/Nix outputs, and ships a Rust update
manager that rebuilds from the signed stable APT repository.
Non-negotiable rules
- Support only the latest signed stable OpenAI Linux package on
amd64andarm64. Remove obsolete drift paths in the same change. - Trust
InReleasethrough the pinned repository key, then verifyPackagesand package SHA-256 values by default, including explicitly supplied local packages.latestURLs are never a trust root. A local-package build may skip this official verification for that invocation only via--skip-oai-official-sig-verificationonly; retain structural checks and record the skip in build provenance. With no flag, all builds verify without prompting or reading user input, including interactive local builds. Never silently fall back to a skip after verification failure. - Never execute upstream maintainer scripts. Extract the data payload only.
- A clean build with no enabled ASAR feature and no required core patch must
preserve
resources/app.asarbyte-for-byte. - Keep the output identity
codex-desktopunder/opt/codex-desktop; do not install the upstream APT source, key, package identity, or maintainer scripts. - Keep the user-facing desktop name ChatGPT Community and its distinct
community icon;
ChatGPTwithout the qualifier identifies the upstream app. - The core patch registry contains only reproduced launch/work blockers with required regression tests; otherwise it stays empty.
- Experimental or workflow-specific behavior belongs in
linux-features/and remains disabled in committed configuration. - Known retired feature IDs are ignored; arbitrary unknown IDs remain errors.
- Do not edit generated output (
codex-app/,dist/, candidates,target/).
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.
- 10d ago Changed · -32 lines · -420 tokens per session 455515ba34be
- 2mo ago First seen · 201 lines · 2,260 tokens per session scan A a023254766db
codex-desktop-linux AGENTS.md is an instructions file published in the GitHub repository distsystem/codex-desktop-linux (17 stars, last pushed 9d ago), licensed MIT. It adds 1,840 tokens to every session, about $0.0074 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-30.
codex-desktop-linux AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-desktop-linux AGENTS.mddistsystem/codex-desktop-linux | Instructions file | 17 | 9d ago | MIT | A | 1,840 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |