ui CLAUDE.md

ui CLAUDE.md is an instructions file for coding agents from persianlabs/ui. It costs 4,885 tokens per session, scanned A, original, no licence file.

A set of Claude Code instructions for the persianlabs/ui codebase. It explains the project, its commands, its architecture, and why components are intentionally stored in two places.

In plain words
What is it for?
Use it when working in persianlabs/ui, especially before pushing changes or when dealing with its two-copy component structure.
Why use it?
It gives Claude Code the project-specific rules needed to make changes and check work before pushing it.

Instructions file

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/persianlabs/ui/claude-md
Clone the repo
git clone --depth 1 https://github.com/persianlabs/ui

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 ui CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/persianlabs/ui/claude-md.svg)](https://agentmods.dev/instructions/persianlabs/ui/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/persianlabs/ui/claude-md"><img src="https://agentmods.dev/badge/instructions/persianlabs/ui/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,885 This file is loaded in full into every session.
When invoked 4,885 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.04885 $0.04885
Opus 5 $0.02442 $0.02442
Sonnet 5 $0.00977 $0.00977
Haiku 4.5 $0.00488 $0.00488

Measured 4d ago against content hash 5306310a97e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui CLAUDE.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Markdown copy + `.md` endpoint**: free. `<url>.md` is served from the MDX itself by `apps/web/app/markdown/[[...slug]]/route.ts` (islands expand to code fences, Credits/LastEdited are stripped). No per-page strings o
CLAUDE.md · 120 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 120 lines · 4,885 tokens per session scan A 5306310a97e4

Subscribe to this mod's changes

ui CLAUDE.md is an instructions file published in the GitHub repository persianlabs/ui (120 stars, last pushed 5d ago), with no licence file. It adds 4,885 tokens to every session, about $0.0244 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.