ripple-iui: Instructions file for Claude Code

CLAUDE.md

ripple-iui CLAUDE.md is an instructions file for Claude Code from qbtrix/ripple-iui. It costs 2,738 tokens per session, scanned A, original, MIT.

Repository instructions for Ripple UI, a Svelte 5 component library that turns JSON descriptions into interactive interfaces. It documents the project’s commands, architecture, and two ways to describe a user interface.

In plain words
What is it for?
Use it when developing, checking, building, or testing Ripple UI. It helps an agent understand the Svelte project structure and work with low-level widget trees or higher-level interface intentions.
Why use it?
It gives a coding agent the project-specific information needed to work consistently, including which package manager and checks to use. It also explains how the two interface description systems differ.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is qbtrix/ripple-iui's own configuration. It tells Claude Code how to work on ripple-iui 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 ripple-iui configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 ripple-iui CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/qbtrix/ripple-iui/claude-md/github.svg)](https://agentmods.dev/instructions/qbtrix/ripple-iui/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/qbtrix/ripple-iui/claude-md"><img src="https://agentmods.dev/badge/instructions/qbtrix/ripple-iui/claude-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 ripple-iui CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/qbtrix/ripple-iui/claude-md"><img src="https://agentmods.dev/badge/instructions/qbtrix/ripple-iui/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,738 This file is loaded in full into every session.
When invoked 2,738 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.02738 $0.02738
Opus 5.5 $0.01095 $0.01095
Sonnet 5.5 $0.00548 $0.00548
Haiku 4.5 $0.00274 $0.00274

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

Security

Grade A, and why

ripple-iui CLAUDE.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 12d 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.

CLAUDE.md · 118 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

A monorepo holding Ripple's spec engine and its renderers. An LLM produces a declarative JSON spec; Ripple renders it as a fully interactive UI with state management, event handling, and expression resolution.

Package Path What
@ripple-ui/core packages/core/ The engine: schema, expressions, state, event dispatcher, motion compiler, headless runtime. Zero framework dependency. Built with plain tsc.
@ripple-ui/svelte packages/svelte/ The Svelte 5 renderer: 215 widgets, editor, intents, streaming. Depends on core via file:../core.
@ripple-ui/embed packages/embed/ The Svelte renderer compiled from ../svelte/src into one framework-free ES module with per-widget lazy chunks. Build-only plugins in its vite.config.ts swap in a lazy registry; the Svelte package itself is unchanged.
@ripple-ui/react packages/react/ A thin React <Ripple> over the embed. Depends on embed via file:../embed.

Which package does a change belong in? If it needs the Svelte compiler (a .svelte file, a $state rune, a use: action) or a DOM, it is packages/svelte. Everything else is packages/core — and if you are not sure, try core: the purity test will tell you immediately if it does not belong there.

Root scripts fan out with bun workspaces: bun run build|check|test run every package. Per-package: cd packages/core && bun run test.

The embed build reads the widget registry's source. packages/svelte/scripts/widget-sources.ts parses widgets/index.ts and its barrels to give the embed one lazy chunk per widget type. Register widgets in the existing shape (type: Component, per line, components from ./<dir>/index.js barrels); widget-sources.test.ts fails if the parser and the registry disagree.

Never use workspace:* in packages/svelte's dependencies. It resolves here and resolves against nothing for a consumer linking file:../ripple/packages/svelte, which has no workspace root — bun install there dies with "Workspace dependency not found". This shipped once and broke paw-sites and paw-enterprise while every in-repo signal stayed green, because the repo only tests itself from inside the workspace. file:../core works both ways. manifest-consumable.test.ts guards it.

Read the full file on GitHub · 118 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. 12d ago Changed · +8 lines · +188 tokens per session b6e7bb62aec9
  2. 21d ago Changed · +48 tokens per session 0cc6dee76605
  3. 23d ago Changed ed2a682e02ee
  4. 27d ago Changed · -1 tokens per session e1395ef60c58
  5. 28d ago Changed · +69 tokens per session d38198f36b57
  6. 29d ago Changed · +76 tokens per session f84ee01b3c67
  7. 1mo ago Changed · +3 lines · +483 tokens per session b3812045b7f2
  8. 1mo ago Changed · +42 lines · +908 tokens per session dde5b2a4583b
  9. 2mo ago First seen · 65 lines · 967 tokens per session scan A 34c4360ef789

Subscribe to this mod's changes

ripple-iui CLAUDE.md is an instructions file published in the GitHub repository qbtrix/ripple-iui (8 stars, last pushed 8d ago), licensed MIT. It adds 2,738 tokens to every session, about $0.0110 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-31.

Related

ripple-iui CLAUDE.md compared with instructions from other repositories

ripple-iui CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ripple-iui CLAUDE.mdqbtrix/ripple-iuiInstructions file88d agoMITA2,738Claude Code
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