milady: Instructions file for Codex

AGENTS.md

milady AGENTS.md is an instructions file for Codex, OpenCode from milady-ai/milady. It costs 5,601 tokens per session, scanned A, original, MIT.

Project instructions stored in an AGENTS.md file for working on the milady-ai/milady codebase. They describe the project, commands, naming rules, and required visual checks for its web interface.

In plain words
What is it for?
Use them when developing milady, especially when changing the cloud frontend, where desktop and mobile screenshots must be reviewed.
Why use it?
They give a coding agent the repository-specific rules it needs to make changes and verify them correctly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/milady-ai/milady/agents-md"><img src="https://agentmods.dev/badge/instructions/milady-ai/milady/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,601 This file is loaded in full into every session.
When invoked 5,601 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.05601 $0.05601
Opus 5.5 $0.02240 $0.02240
Sonnet 5.5 $0.01120 $0.01120
Haiku 4.5 $0.00560 $0.00560

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

Security

Grade A, and why

milady 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 · 326 lines

How it starts

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

Milady — Project Codex Guidance

Milady is a local-first AI assistant built on elizaOS. It wraps the elizaOS runtime with a CLI, desktop app (Electrobun), web dashboard, and platform connectors (Telegram, Discord, WeChat, etc.). Inherits ~/.codex/AGENTS.md.

Cloud frontend visual review (REQUIRED for any UI change)

Any change in eliza/packages/cloud-frontend/ MUST go through the manual-review loop before being declared done. Automated tests catch what they assert; hover regressions, palette drift, broken empty states, and mobile layout breaks slip through. The harness produces evidence — you produce the verdicts.

How to run

bun run --cwd eliza/packages/cloud-frontend audit:cloud

This runs tests/e2e/aesthetic-audit.spec.ts headlessly across every route in src/App.tsx (53 routes × desktop + mobile × rest + hover ≈ 200 screenshots). The injected-ethereum login flow is wired into the spec so dashboard pages render their authed content; admin pages are dev-open via import.meta.env.DEV. Output lands in:

eliza/packages/cloud-frontend/aesthetic-audit-output/
  desktop/<slug>.png            rest screenshot
  desktop/<slug>--hover.png     hover state (primary button focused)
  mobile/<slug>.png
  mobile/<slug>--hover.png
  manual-review/<slug>.md       REQUIRED per-page verdict markdown
  contact-sheet.html            grid view of every shot + flagged issues
  report.json                   machine-readable audit data

Required loop (run 5+ iterations until every page hits verdict=good)

  1. Run audit:cloud.
  2. Open contact-sheet.html. Walk every page touched by your change (and every page reachable through transitive deps — header, footer, theme, buttons).
  3. For each page, open manual-review/<slug>.md and fill in:
    • Visual issues (anything that looks wrong or off-brand)
    • Color / hover violations (orange→black or any blue is banned)
    • Layout breaks (viewport + element)
    • Interaction targets the e2e suite should cover
    • Verdict: good · needs-work · needs-eyeball · broken
  4. Fix the issues.
  5. Commit screenshots + reviews + code together.
  6. Re-run the audit. Repeat. Do not declare done until every page is good.

Read the full file on GitHub · 326 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 · 326 lines · 5,601 tokens per session scan A fd147d8f0a1a

Subscribe to this mod's changes

milady AGENTS.md is an instructions file published in the GitHub repository milady-ai/milady (356 stars, last pushed 22d ago), licensed MIT. It adds 5,601 tokens to every session, about $0.0224 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.

Related

milady AGENTS.md compared with instructions from other repositories

milady AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
milady AGENTS.mdmilady-ai/miladyInstructions file35622d agoMITA5,601Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,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