babynames: Instructions file for Claude Code

CLAUDE.md

babynames CLAUDE.md is an instructions file for Claude Code from michaelcolenso/babynames. It costs 2,265 tokens per session, scanned A, original, from a forked repository, MIT.

A set of Claude Code instructions for the babynames project. It documents the project’s development, type-checking, build, deployment, database migration, and script commands.

In plain words
What is it for?
Use it when developing, checking, building, deploying, migrating the database, or running maintenance scripts in babynames.
Why use it?
It gives a coding agent the commands and project conventions needed to work on the repository correctly.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/michaelcolenso/babynames/claude-md"><img src="https://agentmods.dev/badge/instructions/michaelcolenso/babynames/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,265 This file is loaded in full into every session.
When invoked 2,265 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 fork From a forked repository.
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.02265 $0.02265
Opus 5.5 $0.00906 $0.00906
Sonnet 5.5 $0.00453 $0.00453
Haiku 4.5 $0.00227 $0.00227

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

Security

Grade A, and why

babynames 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 6d 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 · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 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
npm run dev:web          # Pages dev server at :8788 (includes local D1)
npm run dev:ingest       # Ingest Worker dev server

# Type checking
npm run typecheck        # Type-check all apps + shared package

# Build
npm run build            # Compile packages/shared only (apps use wrangler bundling)

# Deploy
npm run deploy:web       # Deploy Cloudflare Pages
npm run deploy:ingest    # Deploy Ingest Worker

# Database migrations
npm run migrations:apply:local   # Apply migrations to local D1
npm run migrations:apply         # Apply migrations to remote D1

# Scripts
npm run seed                                    # One-time D1 population from legacy shards (run once pre-deploy)
npm run verify-parity -- --base=<preview-url>  # Validate API parity before DNS cutover
npm run backfill-rankings                       # Populate name_rankings_by_year on remote D1 (idempotent)
npm run backfill-rankings:local                 # Same against local D1
npm run backfill-viz-payloads                   # Rebuild viz_payloads on remote D1 (idempotent)

# Test cron trigger
npm run -w @nv/ingest-worker test:scheduled    # Test scheduled handler locally

Architecture

Name Vitals — Tracks US baby name popularity using SSA data (1880–present). Monorepo with three deployment units:

Package Type Purpose
apps/web Cloudflare Pages Static assets + Pages Functions (API + SSR)
apps/ingest-worker Cloudflare Worker Weekly SSA data ingestion via cron + queues
packages/shared npm package Shared types, classification, D1 queries, renderers

Shared Package (@nv/shared)

Path alias @nv/shared maps to packages/shared/src/ in all apps. Key exports:

Read the full file on GitHub · 97 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. 6d ago Changed · +1 lines · +300 tokens per session ea926a8f2417
  2. 1mo ago First seen · 96 lines · 1,965 tokens per session scan A fec6b4aff9d6

Subscribe to this mod's changes

babynames CLAUDE.md is an instructions file published in the GitHub repository michaelcolenso/babynames (0 stars, last pushed 2d ago), licensed MIT. It adds 2,265 tokens to every session, about $0.0091 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other instructions, from other repositories