TitanX AGENTS.md

TitanX AGENTS.md is an instructions file for Codex, OpenCode from CES-Ltd/TitanX. It costs 1,680 tokens per session, scanned A, original, Apache-2.0.

A project guide for TitanX's AionUi application, covering file organization, naming conventions, UI components, icons, and CSS practices. It sets rules for how new code should fit into the project.

In plain words
What is it for?
Use it when adding or reorganizing components, utilities, hooks, constants, types, styles, or interactive UI in the AionUi codebase.
Why use it?
It reduces inconsistent code structure and helps changes follow the application's existing conventions.

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/ces-ltd/titanx/agents-md
Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/TitanX

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ces-ltd/titanx/agents-md.svg)](https://agentmods.dev/instructions/ces-ltd/titanx/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ces-ltd/titanx/agents-md"><img src="https://agentmods.dev/badge/instructions/ces-ltd/titanx/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,680 This file is loaded in full into every session.
When invoked 1,680 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.01680 $0.01680
Opus 5 $0.00840 $0.00840
Sonnet 5 $0.00336 $0.00336
Haiku 4.5 $0.00168 $0.00168

Measured 4d ago against content hash 5da25266b54a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

TitanX 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 4d 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 · 133 lines

How it starts

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

AionUi - Project Guide

Code Conventions

File & Directory Structure

  • Directory size limit: A single directory must not exceed 10 direct children (files + subdirectories). Split by responsibility when approaching this limit.

See docs/conventions/file-structure.md for complete rules on directory naming, page module layout, and shared vs private code placement. Agents working in this repository must also read and follow the architecture skill (.claude/skills/architecture/SKILL.md) when creating files, modules, or making structure decisions.

Naming

  • Components: PascalCase (Button.tsx, Modal.tsx)
  • Utilities: camelCase (formatDate.ts)
  • Hooks: camelCase with use prefix (useTheme.ts)
  • Constants files: camelCase (constants.ts) — values inside use UPPER_SNAKE_CASE
  • Type files: camelCase (types.ts)
  • Style files: kebab-case or ComponentName.module.css
  • Unused params: prefix with _

UI Library & Icons

  • Components: @arco-design/web-react — no raw interactive HTML (<button>, <input>, <select>, etc.)
  • Icons: @icon-park/react

CSS

  • Prefer UnoCSS utility classes; complex styles use CSS Modules (ComponentName.module.css)
  • Colors must use semantic tokens from uno.config.ts or CSS variables — no hardcoded values
  • Arco overrides go in the component's CSS Module via :global() — no global override files
  • Global styles only in src/renderer/styles/

See docs/conventions/file-structure.md for full CSS and UI library rules.

TypeScript

  • Strict mode enabled — no any, no implicit returns
  • Use path aliases: @/*, @process/*, @renderer/*, @worker/*
  • Prefer type over interface (per Oxlint config)
  • English for code comments; JSDoc for public functions

Architecture

Three process types — never mix their APIs:

  • src/process/ — main process, no DOM APIs
  • src/renderer/ — renderer, no Node.js APIs
  • src/process/worker/ — fork workers, no Electron APIs

Read the full file on GitHub · 133 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. 4d ago First seen · 133 lines · 1,680 tokens per session scan A 5da25266b54a

Subscribe to this mod's changes

TitanX AGENTS.md is an instructions file published in the GitHub repository CES-Ltd/TitanX (47 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 1,680 tokens to every session, about $0.0084 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.