tonic-ui: Instructions file for Codex

AGENTS.md

tonic-ui AGENTS.md is an instructions file for Codex, OpenCode from trendmicro-frontend/tonic-ui. It costs 1,028 tokens per session, scanned A, original, MIT.

Repository instructions for contributing to the Tonic UI project. They define when an agent may create branches, commits, pull requests, and Changesets, which are files that describe package releases.

In plain words
What is it for?
Use them when making Tonic UI changes, preparing a pull request, or adding a Changeset for package version updates.
Why use it?
They prevent unauthorized repository actions and keep pull requests and release metadata in the required format.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 tonic-ui AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/trendmicro-frontend/tonic-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/trendmicro-frontend/tonic-ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,028 This file is loaded in full into every session.
When invoked 1,028 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.01028 $0.01028
Opus 5.5 $0.00411 $0.00411
Sonnet 5.5 $0.00206 $0.00206
Haiku 4.5 $0.00103 $0.00103

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

Security

Grade A, and why

tonic-ui 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 8d 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 · 64 lines

How it starts

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

AGENTS.md

PR and Changeset Creation Policy

  • Commit, push, and create or update PRs only when the user explicitly requests the action. The workflow below does not grant authorization.

  • Open PRs from a dedicated branch (fix/<slug>, feat/<slug>, docs/<slug>), not from main.

  • Changeset files MUST contain the PR number: .changeset/tonic-ui-pr-<PR_NUMBER>.md. Never use a descriptive-only filename.

  • Use one changeset file per PR, without letter or descriptive suffixes. List all affected publishable packages and their bump types in that file.

  • If the PR number is unknown, provide only a changeset content draft. Do not create a placeholder file or open a PR merely to obtain the number.

  • The PR number is only known after PR creation, so the changeset is always added after the PR exists:

    1. Commit the code changes (without a changeset) and push the branch.
    2. Open the PR against main.
    3. Add .changeset/tonic-ui-pr-<PR_NUMBER>.md and commit it to the same PR branch.
  • Changeset format (Changesets conventions; package and bump type match the touched package):

    ---
    "@tonic-ui/react": patch
    ---
    
    fix(react/button): <summary of the fix>
    

Shared Agent Skills

OMP is the primary agent. skills/ owns eight repository contributor skills; plugins/ owns three independently installable application skills. .agents/skills/ and .claude/skills/ each contain the same eight direct relative discovery links to skills/<name>/ only. Edit the physical source, never the adapters. Application skills are exposed through their individual plugins, not native adapters; see the catalog.

Before starting a matching task, load the relevant skill's SKILL.md. Use more than one skill when the task spans multiple areas, and read its linked references when instructed. The paths below are relative to the repository root, not the CWD.

Task Skill instructions
Figma/screenshot token resolution and typography tonic-ui-tokens
Application frontend development highlights and optional release checks tonic-ui-dev
Consuming application upgrades; current v2-to-v3 migration guidance tonic-ui-upgrade
Library component structure, hooks, exports, browser E2E fixtures, and repository conventions tonic-ui-patterns
Library change plans, acceptance tests, PR preparation, and delivery tonic-ui-plan
Library PR descriptions, commit message drafts, and changesets tonic-ui-pr
Library slots, slotProps, useSlot, and legacy component/props migration tonic-ui-slots
Library sx, __sx, composeSx, and style precedence tonic-ui-sx
Token snapshot capture, freshness, regeneration, reviewed relations and report generation tonic-ui-tokens-maintenance
Library React component JSDoc and props types tonic-ui-types
Library version bumps, prereleases, and maintenance branches tonic-ui-version

Read the full file on GitHub · 64 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. 8d ago Changed · +1 lines · +32 tokens per session f2d310f49b39
  2. 9d ago First seen · 63 lines · 996 tokens per session scan A 3d38be263f17

Subscribe to this mod's changes

tonic-ui AGENTS.md is an instructions file published in the GitHub repository trendmicro-frontend/tonic-ui (133 stars, last pushed 7d ago), licensed MIT. It adds 1,028 tokens to every session, about $0.0041 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-11-20.

Related

tonic-ui AGENTS.md compared with instructions from other repositories

tonic-ui AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tonic-ui AGENTS.mdtrendmicro-frontend/tonic-uiInstructions file1337d agoMITA1,028Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode