baredom: Instructions file for Claude Code

CLAUDE.md

baredom CLAUDE.md is an instructions file for Claude Code from avanelsas/baredom. It costs 9,365 tokens per session, scanned A, original, MIT.

Project instructions for BareDOM, a ClojureScript library, covering development commands, tests, linting, releases, and its debugging roadmap.

In plain words
What is it for?
Use them when developing, testing, linting, building, packaging, or releasing the BareDOM project.
Why use it?
They give the coding agent the repository’s expected commands and contribution rules.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/avanelsas/baredom/claude-md"><img src="https://agentmods.dev/badge/instructions/avanelsas/baredom/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,365 This file is loaded in full into every session.
When invoked 9,365 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.09365 $0.09365
Opus 5.5 $0.03746 $0.03746
Sonnet 5.5 $0.01873 $0.01873
Haiku 4.5 $0.00937 $0.00937

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

Security

Grade A, and why

baredom 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 10d 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 · 422 lines

How it starts

The opening of the file, as written. The whole thing — 422 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.

Commands

Development (browser REPL + hot reload):

npx shadow-cljs watch app

Opens dev server at http://localhost:8000 (serves public/) with hot reload via app.core/start!.

Run tests (browser-based):

npx shadow-cljs watch test

Opens test runner at http://localhost:8021.

Build production ESM library:

npm run build

Runs npm run clean && npx shadow-cljs release lib, producing per-component ESM files in dist/.

Pack for local consumption:

npm run pack:local

Lint (clj-kondo):

clj-kondo --lint src test baremirror bare-html/holes/src bare-html/first-look-cljs/src

Code must have zero lint warnings and errors before pushing to GitHub. Always run the linter and fix any issues before git push.

Releasing a New Version

See docs/RELEASING.md — update 5 version locations, tag, push via PR.

Roadmap

See docs/x-trace-history-roadmap.md — phased implementation plan for the x-trace-history debugger (Time-travel debugger for BareDOM components).

Philosophy — Simple Made Easy

This codebase follows Rich Hickey's core tenets. These principles are non-negotiable and override convenience:

  1. Values, not places — Components are stateless. State is a succession of immutable values (attribute snapshots), never mutable references. No atom, volatile!, core.async, reactive signals.
  2. Data > functions > macros — Model metadata (property-api, observed-attributes) drives runtime behavior. If data can declare it, code must not hand-implement it.
  3. De-complect — Separate calculation from effects. model.cljs = pure transforms. <name>.cljs = DOM side effects. Never mix.
  4. Composition over inheritance — No class hierarchies. component/register! composes behavior from a data map. No deftype, defrecord.
  5. Transparency — Code must be readable as simple data transformations. Functions ending in ! have effects; all others are pure. Named functions over anonymous lambdas.
  6. Epochal time — render! compares new-value vs old-value; only applies the delta. The model-change guard is the epochal boundary.

Read the full file on GitHub · 422 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. 10d ago Changed · +1 lines · +37 tokens per session 5582f8e01eb1
  2. 15d ago Changed · +8 tokens per session 2453a71d6115
  3. 16d ago Changed · +1 lines · +78 tokens per session 996692432124
  4. 17d ago Changed · +10 tokens per session d94fcf4214cb
  5. 18d ago Changed · +1 lines · +24 tokens per session ae9e43d1a87f
  6. 19d ago Changed · +2 lines · +25 tokens per session 137080da2269
  7. 20d ago Changed · +6 lines · +113 tokens per session 885849d4ca80
  8. 21d ago Changed · +5 lines · +98 tokens per session 08a59106df8b
  9. 22d ago Changed · +2 lines · +69 tokens per session f9be9dccd0f9
  10. 28d ago First seen · 404 lines · 8,903 tokens per session scan A d4320dbd6c75

Subscribe to this mod's changes

baredom CLAUDE.md is an instructions file published in the GitHub repository avanelsas/baredom (42 stars, last pushed 2d ago), licensed MIT. It adds 9,365 tokens to every session, about $0.0375 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-30.

Related

baredom CLAUDE.md compared with instructions from other repositories

baredom CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
baredom CLAUDE.mdavanelsas/baredomInstructions file422d agoMITA9,365Claude 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