aicanvas CLAUDE.md

aicanvas CLAUDE.md is an instructions file for Claude Code from uiNerd16/aicanvas. It costs 1,947 tokens per session, scanned A, original, MIT.

Project instructions for AI Canvas, an open-source marketplace where each UI component includes its source code and an AI remix prompt.

In plain words
What is it for?
Creating or modifying AI Canvas components while following its folder structure, design rules, review process, registry, and handling of secrets.
Why use it?
They explain how work is organised, where different component types belong, and which review and integration rules apply.

Instructions file for Claude Code

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

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is import type { Platform } from '../../app/components/ComponentCard'.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/uinerd16/aicanvas/claude-md.svg)](https://agentmods.dev/instructions/uinerd16/aicanvas/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/uinerd16/aicanvas/claude-md"><img src="https://agentmods.dev/badge/instructions/uinerd16/aicanvas/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,947 This file is loaded in full into every session.
When invoked 1,947 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.1 $0.01947 $0.01947
Opus 5 $0.00974 $0.00974
Sonnet 5 $0.00389 $0.00389
Haiku 4.5 $0.00195 $0.00195

Measured 2d ago against content hash 0c8af26c602d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

aicanvas 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 2d 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 · 88 lines

How it starts

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

@AGENTS.md

AI Canvas — Global Rules

What this project is

AI Canvas (aicanvas.me) is an open component marketplace where every component ships with:

  • Its full source code
  • One expert-crafted, comprehensive AI remix prompt (platform-agnostic; works in any AI coding tool)

How work is organized

Three tiers; every task routes to exactly one:

Tier Folder Design rules Details
Standalone components components-workspace/<slug>/ Creative freedom (except container chrome) components-workspace/CLAUDE.md
Design systems design-systems/<system>/ Strict, each system's own tokens.ts design-systems/CLAUDE.md
Site chrome app/, app/components/ sand/olive/Manrope supervisor/skills/site-design-tokens.md

The component pipeline (create + modify, gates, registry rules) lives in supervisor/CLAUDE.md. Every built or modified component gets an independent review pass against the checklist in reviewer/CLAUDE.md before the user sees it. Integration steps live in integration/CLAUDE.md. Known recurring mistakes: supervisor/mistakes.md. The component inventory is app/lib/component-registry.tsx — the registry IS the status ledger; do not maintain a separate one.

Secrets & credentials — this is an OPEN-SOURCE repo

This repository is public. A leaked secret is exposed the moment it is committed. Treat every key as radioactive:

  • Never commit a secret. Real values live only in .env.local (already gitignored). Confirm .env.local and any *service_role* / *secret* files are covered by .gitignore before touching keys. Never paste a live key into a tracked file, a doc, a commit message, or chat output.
  • NEXT_PUBLIC_ ships to the browser. Only the Supabase anon/publishable key may carry that prefix. The service_role / SUPABASE_SECRET_KEY must NEVER be NEXT_PUBLIC_ and must only be read in server code.
  • Prefer the Supabase CLI over keys on disk. supabase login stores the token in the OS keychain, not the repo — nothing to accidentally commit. Use a service_role key in .env.local only as a last resort, never beyond it.
  • Supabase access is read-only by default. Run writes/migrations only when the user explicitly asks, one at a time, showing the SQL first. It is the production project — no destructive or schema changes without sign-off.
  • If a secret is ever found in tracked history, treat it as compromised: rotate it in the provider, don't just delete the line.

Read the full file on GitHub · 88 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. 2d ago Changed · +8 lines · +463 tokens per session 0c8af26c602d
  2. 6d ago First seen · 80 lines · 1,484 tokens per session scan A 3c85120d61ca

Subscribe to this mod's changes

aicanvas CLAUDE.md is an instructions file published in the GitHub repository uiNerd16/aicanvas (51 stars, last pushed 2d ago), licensed MIT. It adds 1,947 tokens to every session, about $0.0097 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.