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,285 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,285 This file is loaded in full into every session.
When invoked 3,285 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.03285 $0.03285
Opus 5.5 $0.01314 $0.01314
Sonnet 5 $0.00657 $0.00657
Haiku 4.5 $0.00329 $0.00329

Measured 3d ago against content hash c9efce1c14d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-25, 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 3d 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. 3d ago Changed · +4 lines · +57 tokens per session c9efce1c14d5
  2. 6d 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,285 tokens to every session, about $0.0131 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,406 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, repository design references, quickstart — add a new integration in 5 steps and integration architecture.

github/spec-kit · 7,326 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 6,985 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens