ai-dial-ui-kit: Instructions file for Codex

AGENTS.md

ai-dial-ui-kit AGENTS.md is an instructions file for Codex, OpenCode from epam/ai-dial-ui-kit. It costs 3,290 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for AI agents working in the AI DIAL UI Kit repository. It explains the project, coding rules, checks, security practices, and process for changing components.

In plain words
What is it for?
Use it when an agent is changing React or TypeScript components, stories, exports, or tests in this project.
Why use it?
It helps an agent follow this repository's conventions and verify changes instead of treating it like an unknown codebase.

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 epam/ai-dial-ui-kit's own configuration. It tells Codex and OpenCode how to work on ai-dial-ui-kit 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 ai-dial-ui-kit configures →

Reuse

Borrowing it

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

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 ai-dial-ui-kit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/epam/ai-dial-ui-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/epam/ai-dial-ui-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,290 This file is loaded in full into every session.
When invoked 3,290 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.03290 $0.03290
Opus 5.5 $0.01316 $0.01316
Sonnet 5.5 $0.00658 $0.00658
Haiku 4.5 $0.00329 $0.00329

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

Security

Grade A, and why

ai-dial-ui-kit 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 27d 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 · 223 lines

How it starts

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

AI agents — AI DIAL UI Kit

This file is read by Cursor, Codex, and other agent harnesses alongside project context. It defines how AI assistants should work in this repository.

Product

  • What: @epam/ai-dial-ui-kit — React 19 + TypeScript component library for AI DIAL interfaces.
  • Build: Vite library mode, Tailwind + SCSS, public API via src/index.ts.
  • Docs & dev: Storybook (npm run storybook), tests with Vitest + Testing Library (npm run test).

Agent principles

  1. Read before edit — Open related files (component, stories, spec, types, src/index.ts) before changing behavior or API.
  2. Minimal diffs — Solve the task only; no unrelated refactors or reformatting of untouched code.
  3. Verify — After substantive changes: npm run typecheck (full TypeScript check; separate from ESLint), npm run lint, npm run test (and Storybook if UI/stories changed).
  4. Security — Do not commit secrets; do not paste real tokens into chat; treat .env and keys as sensitive.
  5. Delegation mindset — For large features, split: plan → implement component → stories → tests → export; ask the user if scope is unclear.

Component work checklist

  • Naming: Exported components use the Dial* prefix (e.g. DialButton, DialInput).
  • Files: Prefer colocating Component.tsx, Component.stories.tsx, Component.spec.tsx under src/components/<Name>/.
  • API: Extend native HTML/React props where appropriate; export prop types when consumers need them.
  • Styles: Tailwind + existing tokens/utilities; keep a11y (labels, roles, keyboard) in mind.
  • Barrel: Add public exports to src/index.ts (and export type for types).
  • Public class: A generation 2.0 component stamps its DIAL_KIT_CLASS entry on the element that draws it (see Public class names).

When to add or update

Change Also do
New public component Storybook story, spec, entry in src/index.ts
New public 2.0 component A DIAL_KIT_CLASS entry stamped on its root, a case in src/constants/public-class-names.spec.tsx, and a row in the README table (see Public class names)
Visual / interaction change Update stories; adjust or add tests
New interactive control Accessible name + target size (see Accessibility rules)
Peer dependency surface Document in README or story descriptions if needed
Breaking change CHANGELOG.md entry + migration guide (see below)

Read the full file on GitHub · 223 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. 27d ago Changed · +9 tokens per session 09edf477da67
  2. 1mo ago Changed · -4 tokens per session 1671eb6bd782
  3. 1mo ago Changed · +4 lines · +57 tokens per session c9efce1c14d5
  4. 1mo ago First seen · 219 lines · 3,228 tokens per session scan A 843c943536c5

Subscribe to this mod's changes

ai-dial-ui-kit AGENTS.md is an instructions file published in the GitHub repository epam/ai-dial-ui-kit (10 stars, last pushed today), licensed Apache-2.0. It adds 3,290 tokens to every session, about $0.0132 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-09-19.

Related

ai-dial-ui-kit AGENTS.md compared with instructions from other repositories

ai-dial-ui-kit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-dial-ui-kit AGENTS.mdepam/ai-dial-ui-kitInstructions file10todayApache-2.0A3,290Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot