bklit-ui AGENTS.md

bklit-ui AGENTS.md is an instructions file for Codex, OpenCode from bklit/bklit-ui. It costs 589 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/bklit/bklit-ui/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 589 This file is loaded in full into every session.
When invoked 589 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00589 $0.00589
Opus 5 $0.00295 $0.00295
Sonnet 5 $0.00118 $0.00118
Haiku 4.5 $0.00059 $0.00059

Measured 4d ago against content hash c1547e826a1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 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
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 · 45 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. 4d 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,590 stars, last pushed 1mo ago), licensed MIT. It adds 589 tokens to every session, about $0.0029 per session on Opus 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

Other instructions, from other repositories