Codex-X: Instructions file for Codex

AGENTS.md

Codex-X AGENTS.md is an instructions file for Codex, OpenCode from yynxxxxx/Codex-X. It costs 337 tokens per session, scanned A, original, MIT.

Repository instructions for writing changelogs, release notes, and in-app update messages. They explain how to describe verified user-visible changes in short, clear entries.

In plain words
What is it for?
Use them when editing CHANGELOG.md, GitHub Release text, or application update messages, and when recording technical investigation separately.
Why use it?
They prevent release notes from presenting guesses, unfinished work, internal debugging details, or duplicate changes as delivered facts.

Instructions file for CodexOpenCode

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

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

About the project

Codex-X is a cross-platform desktop tool for managing OpenAI Codex Desktop and Codex CLI settings, including prompts, providers, sessions, Skills, MCP servers, and TOML configuration. Codex users use it to view and switch these settings through a graphical interface instead of editing files repeatedly. The catalogue entry adds an instruction for use with this Codex management workflow.

yynxxxxx/Codex-X · 4,400 stars · on GitHub · codex-x.site

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yynxxxxx/codex-x/agents-md"><img src="https://agentmods.dev/badge/instructions/yynxxxxx/codex-x/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 337 This file is loaded in full into every session.
When invoked 337 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.00337 $0.00337
Opus 5.5 $0.00135 $0.00135
Sonnet 5.5 $0.00067 $0.00067
Haiku 4.5 $0.00034 $0.00034

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

Security

Grade A, and why

Codex-X 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 12d 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 · 14 lines

What it actually says

项目协作约定

更新日志和发布说明

编辑 CHANGELOG.md、GitHub Release 说明或应用内更新说明前,阅读并遵循 更新日志写作指南。

  • 面向普通用户写作,优先说明用户能看到的变化、获得的改善,以及需要采取的操作。
  • 每条围绕一个用户问题或收益,用简短、具体的句子。不要把同一修复的代码细节拆成多条,也不要换个说法重复。
  • 正式发布时,将同一版本的各次 local 迭代汇总为一个版本条目;合并重复内容,保留最终实际交付的变化。
  • 只写已完成、可核实的事实。排查假设、尚未验证的原因和搁置的问题不能写成“已经修复”;编译通过也不能替代实际效果验证。
  • 不在用户更新说明中堆放内部变量名、错误堆栈、函数名、实现过程或调试术语。仅在用户需要识别某项设置或执行操作时保留必要名称。
  • 本次发布说明只总结本次变化,不重复粘贴历史版本,不把未发布或取消发布的候选版本写成已经发布。
  • 技术推理、排查过程、验证证据和未解决事项放到 docs/PROJECT_LOG.md 或对应技术文档,用户更新说明只保留相关结论和必要限制。
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. 12d ago First seen · 14 lines · 337 tokens per session scan A 9a3c1cfe7826

Subscribe to this mod's changes

Codex-X AGENTS.md is an instructions file published in the GitHub repository yynxxxxx/Codex-X (4,400 stars, last pushed 13d ago), licensed MIT. It adds 337 tokens to every session, about $0.0013 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-10-25.

Related

Codex-X AGENTS.md compared with instructions from other repositories

Codex-X AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Codex-X AGENTS.mdyynxxxxx/Codex-XInstructions file4.4k13d agoMITA337Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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