bklit-ui: Instructions file for Codex

AGENTS.md

bklit-ui AGENTS.md is an instructions file for Codex, OpenCode from bklit/bklit-ui. It costs 741 tokens per session, scanned A, original, MIT.

A contributor guide for bklit-ui, a codebase for creating and previewing charts. It explains the repository's shared building blocks and the required workflow for editing charts.

In plain words
What is it for?
Use it when building or editing charts, starting the local preview, finding chart components, or understanding the structure of this JavaScript monorepo, a repository containing multiple related packages.
Why use it?
It prevents contributors from using outdated routes or duplicating existing code. It also points them to the project-specific instructions they must read first.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

About the project

Bklit UI is an open-source collection of customizable interface components and charts for building React applications with shadcn. Developers use it to add data visualizations such as funnels, gauges, maps, financial charts, and other interactive displays. The catalogue add-ons provide workflows for using its components and chart registry.

bklit/bklit-ui · 1,898 stars · on GitHub · bklit.com

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bklit/bklit-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/bklit/bklit-ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 741 This file is loaded in full into every session.
When invoked 741 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.00741 $0.00741
Opus 5.5 $0.00296 $0.00296
Sonnet 5.5 $0.00148 $0.00148
Haiku 4.5 $0.00074 $0.00074

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

Security

Grade A, and why

bklit-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 14d 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 · 51 lines

How it starts

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

Agent guide (bklit-ui contributors)

This repo uses Agent Skills in .agents/skills/ for monorepo-specific workflows. Read the relevant skill before acting — do not guess at file layout.

Building or editing a chart

Always read and follow .agents/skills/bklit-studio/SKILL.md first.

Develop and preview charts in Studio at http://localhost:3000/studio (pnpm dev from repo root). Use ?chart=<slug> for a specific chart (slugs in packages/studio/src/chart-slugs.ts).

The local /playground route is deprecated (redirects to Studio). Do not scaffold apps/web/app/playground/ or apps/web/components/playground/ for new work.

Committed building blocks (do not reimplement):

Area Path
Studio app shell apps/web/app/studio/page.tsx → @bklitui/studio StudioShell
Chart registry + preview render packages/studio/src/lib/registry.tsx
Layer tree (components panel) packages/studio/src/lib/studio-components.ts
Control groups packages/studio/src/lib/registry-control-groups.ts
URL state packages/studio/src/lib/studio-parsers.ts
Chart primitives packages/ui/src/charts/

Pane rules: left = layers + data + motion; right = selected layer properties; visibility = layer eye toggles.

Shipping a chart to production

Read .agents/skills/bklit-ship/SKILL.md when the chart API is stable in packages/ui and Studio.

Other contributor skills

Skill When
bklit-studio New or existing chart — prototype and edit in /studio
bklit-ship Ship chart to docs, gallery, shadcn registry
bklit-studio-chart-performance Studio chart FPS audit, pan/zoom jank, Motion subscription cleanup
bklit-changelog Write a website changelog entry (markdown + geometric cover art)
pr-open Commit, push, open PR (bklit-ui checklist)
unit-tests Adding tests — avoid over-testing
turborepo Monorepo tasks, turbo.json, caching
shadcn shadcn/ui components in this repo
add-x-tweet Homepage testimonial from an X URL
wiki-llms-text Generate llms.txt for docs

Read the full file on GitHub · 51 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. 14d ago Changed · +1 lines · +23 tokens per session f506341ddf72
  2. 21d ago Changed · +5 lines · +129 tokens per session c8b4db1ea492
  3. 2mo ago First seen · 45 lines · 589 tokens per session scan A c1547e826a1b

Subscribe to this mod's changes

bklit-ui AGENTS.md is an instructions file published in the GitHub repository bklit/bklit-ui (1,898 stars, last pushed 5d ago), licensed MIT. It adds 741 tokens to every session, about $0.0030 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

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

bklit-ui AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bklit-ui AGENTS.mdbklit/bklit-uiInstructions file1.9k5d agoMITA741Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode