codexia AGENTS.md

Project-specific instructions for agents working on Milisp or Codexia, including its tools, technologies, file structure, and common commands.

In plain words
What is it for?
They guide work in a React, TypeScript, Tailwind, shadcn, Zustand, and Tauri project, including which checks and commands to use for frontend or Rust changes.
Why use it?
They give coding agents the local conventions needed to make compatible changes and avoid known project mistakes.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/milisp/codexia/agents-md
Clone the repo
git clone --depth 1 https://github.com/milisp/codexia

Made for: Codex, OpenCode.

Per session 656 This file is loaded in full into every session.
When invoked 656 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00656 $0.00656
Opus 5 $0.00328 $0.00328
Sonnet 5 $0.00131 $0.00131
Haiku 4.5 $0.00066 $0.00066

Measured yesterday against content hash ebd435a018f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codexia 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 yesterday.

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

How it starts

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

AGENTS.md

Project Info

  • Agent os for codex cli and claude code cli - agent
  • use codex app-server and claude-agent-sdk-rs to 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 .tsx file 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 output
  • bunx tsc --noEmit - test frontend if frontend change
  • bunx react-doctor@latest --no-telemetry --category Bugs - fix frontend if frontend change
  • bunx --bun shadcn@latest add <dep> - add shadcn dep
  • cargo check -p codexia if rust code change
  • only cargo build when 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 @/types etc.

Read the full file on GitHub · 67 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. yesterday First seen · 67 lines · 656 tokens per session scan A ebd435a018f0

Subscribe to this mod's changes

codexia AGENTS.md is an instructions file published in the GitHub repository milisp/codexia (903 stars, last pushed 4d ago), licensed MIT. It adds 656 tokens to every session, about $0.0033 per session on Opus 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.