bklit-ui-migrate

bklit-ui-migrate is a skill for Claude Code, Codex from bklit/bklit-ui. It costs 243 tokens per session (4,126 once invoked), scanned A, original, MIT.

A migration guide for replacing Recharts, a JavaScript chart library, with Bklit UI chart components in an app. It inventories existing charts, maps supported components, and identifies charts that need a workaround or should stay on Recharts.

In plain words
What is it for?
Use it to migrate charts in a React or similar web app, install the matching Bklit source components, and review unsupported chart features.
Why use it?
Chart libraries use different component names and settings, so a direct replacement can break visuals or behavior. This process shows the changes before rewriting code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to migrate charts in a React or similar web app, install the matching Bklit source components, and review unsupported chart features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bklit/bklit-ui/bklit-ui-migrate
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 · 2,055 stars · on GitHub · bklit.com

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.

Any agent
npx skills add bklit/bklit-ui --skill bklit-ui-migrate
Clone the repo
git clone --depth 1 https://github.com/bklit/bklit-ui

Made for: Claude Code, Codex.

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-migrate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bklit/bklit-ui/bklit-ui-migrate"><img src="https://agentmods.dev/badge/skills/bklit/bklit-ui/bklit-ui-migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,126 The whole file, excluding the scripts and references it only reads on demand.
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.00243 $0.04126
Opus 5.5 $0.00097 $0.01650
Sonnet 5.5 $0.00049 $0.00825
Haiku 4.5 $0.00024 $0.00413

Measured 15d ago against content hash ab1bad500cdb, 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-migrate 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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/detect-recharts.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/bklit-ui-migrate/SKILL.md · 173 lines

How it starts

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

Recharts / TanStack Charts → Bklit UI migration

Bklit charts are shadcn registry components: npx shadcn@latest add @bklit/<slug> copies source into the user's project and the code imports it from their own alias, e.g. @/components/charts/line-chart. Never import from @bklitui/ui/charts — that is bklit's private monorepo package.

Work through the steps in order. Do not start rewriting before the inventory (step 1) and classification (step 2) have been shown to the user.

References

File Use it for
references/component-map.md Recharts component → bklit export, registry slug, import path
references/prop-map.md Prop-by-prop mapping, units, defaults
references/shadcn-chart.md ChartContainer / ChartConfig / ChartTooltipContent / ChartLegendContent, var(--color-*), full before/after
references/examples.md Before/after: multi-line, stacked bar, horizontal bar, donut, radar, gradient area, tiny line/area/bar → sparklines, TanStack KPI sparkline
references/tanstack-charts.md TanStack Charts (@tanstack/charts): marks → sparklines (well covered) and full charts (high-level only)
rules/gaps.md Features with no bklit prop — workaround or keep Recharts (Incorrect/Correct)
scripts/detect-recharts.mjs Zero-dependency inventory + classification (Recharts, shadcn wrapper, TanStack Charts, tiny charts → sparkline)

Docs for each chart: https://bklit.com/docs/components/<slug>.

Ground rules

  1. Never invent props. If a Recharts prop has no row in prop-map.md, it is a gap — read rules/gaps.md. bklit has no tickFormatter on XAxis, no domain on YAxis, no stackId, no layout, no connectNulls, no syncId.
  2. Line / Area / Composed / Scatter are time-series charts. x values must be Dates (or ISO strings / epoch ms). Categorical x → BarChart or a workaround. Tiny charts are sparklines. One series, no axes / grid / legend, rendered small → LineSparkline / AreaSparkline / BarSparkline from @bklit/sparkline (x is row order, so no dates needed). Do not rebuild them with LineChart + hidden chrome.
  3. Preserve data, colours and labels. Same series, same colours (resolved from ChartConfig), same human labels in tooltip and legend.
  4. One file at a time, typecheck after each.
  5. Ask before any "needs workaround" conversion — it changes how the chart looks or reads.
  6. Leave "keep Recharts" charts untouched. A partial migration is a valid outcome.

Read the full file on GitHub · 173 lines

Files

What ships with it

31 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 15d ago Changed ab1bad500cdb
  2. 1mo ago Changed 4d7a7f3e296f
  3. 1mo ago Changed · +14 lines · +80 tokens per session 8af69c1b7443
  4. 1mo ago First seen · 159 lines · 163 tokens per session scan A ec9f0b50d322

Subscribe to this mod's changes

bklit-ui-migrate is a skill published in the GitHub repository bklit/bklit-ui (2,055 stars, last pushed 15d ago), licensed MIT. It adds 243 tokens to every session and 4,126 once invoked, about $0.0010 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-10-16.

Related

bklit-ui-migrate compared with skills from other repositories

bklit-ui-migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bklit-ui-migratebklit/bklit-uiSkill2.1k15d agoMITA243Claude Code, Codex
library-comparisonsf5/unovisSkill2.9k5d agoApache-2.0A90Claude Code, Codex
commitf5/unovisSkill2.9k5d agoApache-2.0A90Claude Code, Codex
add-componentf5/unovisSkill2.9k5d agoApache-2.0A74Claude Code, Codex
add-gallery-examplef5/unovisSkill2.9k5d agoApache-2.0A63Claude Code, Codex
open-prf5/unovisSkill2.9k5d agoApache-2.0A67Claude Code, Codex
chart-builderNickCrew/Claude-CortexSkill759d agoMITA76Claude Code, Codex