codexia
AGENTS.md927 starsChanged 8 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
use codex app-server and claude-agent-sdk-rs to connect Codexia
- Distinctive: line 10
Don't use emit_all
- Very specific: line 14
Don't break Fast Refresh: a .tsx file rendering UI must only export PascalCase components (no lowercase JSX-returning helpers), otherwise …
- Very specific: line 22
only cargo build when I ask
- Very specific: line 23
Don't run cargo fmt
- Very specific: line 48
use @/hooks @/types etc.
- Distinctive: line 51
when remove a key from zustand persist store, you must update store version and migrate
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project Info
- Agent os for
codex cliandclaude code cli- agent - use
codex app-serverandclaude-agent-sdk-rsto connect Codexia
Project tech
- Package manager: bun
- Framework: React + shadcn + tailwindcss + TypeScript + Tauri v2
- Don't use emit_all
- UI: use shadcn UI components first, Button, Input, etc.
- code comment language: English-only
- Zustand: for state management with persistence
- Don't break Fast Refresh: a
.tsxfile rendering UI must only export PascalCase components (no lowercase JSX-returning helpers), otherwise HMR falls back to a full page reload and drops in-flight events
Common Commands
bun tauri dev- read the backend outputbunx tsc --noEmit- test frontend if frontend changebunx react-doctor@latest --no-telemetry --scope changed- fix frontend if frontend changebunx --bun shadcn@latest add <dep>- add shadcn depcargo check -p codexiaif rust code change- only
cargo buildwhen I ask - Don't run
cargo fmt
Project Structure
codexia/
├── src/ # React frontend source
│ ├── components/ # UI components
│ ├── components/ui/ - shadcn UI components
│ ├── components/cc/ - claude-code components
│ ├── components/codex/` - codex components
│ ├── views/ # View components
│ ├── hooks/ # Custom React hooks
│ ├── store/ # Zustand state management
│ ├── services/ # Business logic services
│ └── types/ # TypeScript type definitions
├── src-tauri/ # Rust backend source
│ ├── src/
│ │ ├── lib.rs # Main Tauri application
│ ├── capabilities/ # Tauri capabilities
│ └── Cargo.toml # Rust dependencies
├── Cargo.toml # Workspace root Cargo.toml
├── crates/
│ ├── codex/ # Codex crate
│ ├── cc/ # Claude Code crate
│ ├── db/ # Database crate
│ └── shared/ # Shared crate
- use
@/hooks@/typesetc.
Skill
- when remove a key from zustand persist store, you must update store version and migrate
docs
- docs/ROADMAP-MULTI-CLIENT.md
web server
- new tauri command add a api to
web/src/handlers/ - invoke add to
src/services/tauri/
tailscale for remote control
- ios connect to desktop
cwd
cwd mean current working dir
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

