b24ui: Instructions file for Codex

AGENTS.md

b24ui AGENTS.md is an instructions file for Codex, OpenCode from bitrix24/b24ui. It costs 3,000 tokens per session, scanned A, original, MIT.

Repository instructions for b24ui, a Bitrix24 UI component library built for Nuxt and Vue applications. They describe the project structure, its main technologies, development assumptions, and available commands.

In plain words
What is it for?
Use them when developing or reviewing b24ui code, preparing the project, running its playgrounds or documentation site, linting, and testing Vue components.
Why use it?
They give a coding agent the local conventions needed to make changes in the right folders and run the relevant checks. This reduces mistakes when working on components, composables, themes, tests, or documentation.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bitrix24/b24ui/agents-md"><img src="https://agentmods.dev/badge/instructions/bitrix24/b24ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,000 This file is loaded in full into every session.
When invoked 3,000 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.03000 $0.03000
Opus 5.5 $0.01200 $0.01200
Sonnet 5.5 $0.00600 $0.00600
Haiku 4.5 $0.00300 $0.00300

Measured 1mo ago against content hash 921b82570b7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

b24ui 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 1mo 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 · 156 lines

How it starts

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

AGENTS.md

This file provides guidance for AI coding agents working on the Bitrix24 UI repository.

Project Overview

Bitrix24 UI is a component library built on Reka UI, Tailwind CSS, and Tailwind Variants. It provides accessible, themeable components for both Nuxt and Vue applications.

Project Structure

src/
├── runtime/
│   ├── components/     # Vue components (PascalCase.vue)
│   ├── composables/    # Composables (use*.ts)
│   ├── types/          # TypeScript types
│   └── utils/          # Utility functions
├── theme/              # Tailwind Variants themes (kebab-case.ts)
└── module.ts
test/
├── components/         # Component tests (*.spec.ts)
│   └── __snapshots__/  # Auto-generated snapshots
└── component-render.ts
docs/
└── content/docs/2.components/  # Documentation (*.md)
playgrounds/
└── nuxt/app/pages/components/  # Playground pages

Commands

pnpm run dev:prepare  # Generate type stubs (run after install)
pnpm run dev          # Nuxt playground
pnpm run dev:vue      # Vue playground
pnpm run repl         # REPL playground
pnpm run demo         # Demo playground
pnpm run docs         # Documentation site
pnpm run lint         # Check linting
pnpm run lint:fix     # Fix linting
pnpm run typecheck    # Type checking
pnpm run test         # Run tests
pnpm run skill:sync   # Regenerate skills/index.json from the skill tree

CLI for Scaffolding

Use the CLI to create new components:

pnpm cli make component <name> [options]

Options:

  • --primitive - Primitive component (uses Reka UI Primitive)
  • --prose - Prose/typography component
  • --content - Content component
  • --template - Generate specific template only (playground, docs, test, theme, component)

Key Conventions

  • Conventional commits: All commit messages must follow conventional commits, and the type must have a section in changelog-sections (release-please-config.json) — one that does not is dropped from the changelog, or, if the commit is breaking, rendered under a raw lowercase heading above every real section. assert-commit-parses.mjs rejects it, and rejects a port whose subject does not name the upstream commit as (nuxt/ui@<sha>) (e.g. fix(Button): resolve hover state, feat(Modal): add fullscreen prop). A revert must be titled revert(Scope): … — GitHub's revert button produces Revert "…", which release-please rejects outright, so the revert reaches no changelog and, if it is the only commit since the last tag, opens no release PR at all.
  • Releases are automated: merging work into main publishes nothing; release-please keeps one release PR open and merging that tags, releases and publishes to npm. Version arithmetic (feat/feature -> minor, fix -> patch), the release cadence commitment, the severity:crash hotfix policy, the revert: subject a revert PR must carry, and the manual CI approval the release PR needs before it can merge all live in releasing.md. Filed here rather than in the References table below, which is scoped to src/ and test/ work.
  • Semantic colors: Use text-description, bg-elevated, etc. — never raw Tailwind palette colors like text-gray-500.
  • Dependency pins are not ours to move: reka-ui and vaul-vue are exact-pinned in package.json because upstream pins them at those exact versions; they change through a port, never through a local bump. And vue is declared as a required peer (^3.5.0) even though upstream does not declare it — src/ uses useTemplateRef and useId, both Vue 3.5. Both facts are invariants in .sync/PORTING.md §2 and guarded by test/utils/peer-dependencies.spec.ts.
  • Soon badge on docs headings: PRs that introduce a new feature or fix often add :badge{label="Soon" class="align-text-top"} to the relevant docs heading. This is intentional: the docs site redeploys on merge, but the feature only ships on the next npm release — the badge bridges that gap. Do NOT flag this as inconsistent in reviews. See documentation.md for details.
  • Two build adapters: Build-side changes (templates, auto-imports, icons, component detection, build plugins) must be checked against both adapters: src/module.ts for Nuxt, src/unplugin.ts and src/plugins/* for Vue. Shared logic belongs in src/utils/. In code that runs from the published build, only the two entry files may resolve paths from import.meta.url, since bundled files can land in any output chunk. Everything else anchors on runtimeDir. (src/templates.ts:96-97 is a live exception on both sides — upstream added this rule without changing it.)
  • Skill files live in skills/: Whenever a request mentions editing, adding, or refining a skill (SKILL.md, references, recipes, guidelines, layouts), modify the tracked tree under skills/<skill-name>/ — NOT under .claude/skills/ (which is gitignored and local-only). The exception is when the user explicitly names the .claude/skills/ path. If both copies exist, treat skills/ as the source of truth and ignore .claude/skills/. skills/index.json is generated — after adding, removing or renaming a file there, run pnpm run skill:sync rather than editing it by hand; test/utils/skill-manifest.spec.ts fails if the committed file is stale, because npx skills add installs exactly what it lists and an unlisted file is silently never delivered.

Read the full file on GitHub · 156 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. 1mo ago Changed · -4 tokens per session 921b82570b7d
  2. 1mo ago Changed · +1 lines · +131 tokens per session 8b8eb21dce31
  3. 1mo ago Changed · -6 lines · -19 tokens per session e40e1b068176
  4. 2mo ago First seen · 161 lines · 2,892 tokens per session scan A e000a311f8dd

Subscribe to this mod's changes

b24ui AGENTS.md is an instructions file published in the GitHub repository bitrix24/b24ui (44 stars, last pushed 5d ago), licensed MIT. It adds 3,000 tokens to every session, about $0.0120 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-08-30.

Related

b24ui AGENTS.md compared with instructions from other repositories

b24ui AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
b24ui AGENTS.mdbitrix24/b24uiInstructions file445d agoMITA3,000Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode