claude-md-starter CLAUDE.md

claude-md-starter CLAUDE.md is an instructions file for coding agents from NyxToolsDev/claude-md-starter. It costs 477 tokens per session, scanned A, original, MIT.

A project instruction template for Claude Code, covering the project's purpose, technology choices, commands, coding conventions, and error handling.

In plain words
What is it for?
Documenting how a project works, how to run and test it, how files should be written, and how errors and Git changes should be handled.
Why use it?
It gives the coding agent consistent project context and working rules before it changes code.

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

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 claude-md-starter CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nyxtoolsdev/claude-md-starter/claude-md.svg)](https://agentmods.dev/instructions/nyxtoolsdev/claude-md-starter/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nyxtoolsdev/claude-md-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/nyxtoolsdev/claude-md-starter/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 477 This file is loaded in full into every session.
When invoked 477 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 $0.00477 $0.00477
Opus 5 $0.00238 $0.00238
Sonnet 5 $0.00095 $0.00095
Haiku 4.5 $0.00048 $0.00048

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

Security

Grade A, and why

claude-md-starter 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 3d 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 · 54 lines

What it actually says

[PROJECT_NAME]

What This Project Does

[2-3 sentences describing the project's purpose and scope]

Tech Stack

Layer Tech
Language [e.g., TypeScript, Python, Go]
Framework [e.g., Next.js, FastAPI, Express]
Database [e.g., Postgres, MongoDB, SQLite]
Hosting [e.g., Vercel, Railway, AWS]

Commands

[PACKAGE_MANAGER] run dev          # Start dev server
[PACKAGE_MANAGER] run build        # Production build
[PACKAGE_MANAGER] run test         # Run tests
[PACKAGE_MANAGER] run lint         # Lint all files

Conventions

Code Style

  • File naming: kebab-case.ts for files, PascalCase.tsx for components
  • Use const by default, let only when reassignment is needed, never var
  • Prefer type over interface, never use enum (use string literal unions)
  • Functions should be under 50 lines — extract if longer
  • Extract magic numbers and strings to named constants

Error Handling

  • Always handle errors explicitly — never swallow silently
  • Use try-catch for async operations
  • Return typed error objects from APIs, don't throw
  • Log errors with context (what was attempted, what failed, relevant IDs)

Git

  • Conventional commits: feat:, fix:, docs:, refactor:, test:
  • Keep commits small and focused on one change

Things Claude Should Never Do

  • Use any type — use unknown and narrow
  • Use var — use const or let
  • Use enum — use string literal unions
  • Commit secrets, API keys, or credentials
  • Use string concatenation for SQL queries (use parameterized queries)
  • Use eval() or exec() with user input
  • Log sensitive data (PII, passwords, tokens)
  • Skip error handling on async operations
  • Generate code without reading the existing file first

Project-Specific Rules

[Add rules specific to your project here — naming patterns, architectural decisions, domain-specific constraints]

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. 3d ago First seen · 54 lines · 477 tokens per session scan A 9701cb9f9814

Subscribe to this mod's changes

claude-md-starter CLAUDE.md is an instructions file published in the GitHub repository NyxToolsDev/claude-md-starter (0 stars, last pushed 5mo ago), licensed MIT. It adds 477 tokens to every session, about $0.0024 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-31.