dotclaude CLAUDE.md

dotclaude CLAUDE.md is an instructions file for coding agents from KhaledSaeed18/dotclaude. It costs 935 tokens per session, scanned A, original, MIT.

Contributor instructions for dotclaude, a registry of Claude Code skills, agents, commands, and hooks. They explain which files are source files and which files are generated from them.

In plain words
What is it for?
Use them when adding or changing registry items, checking layouts, and running generation or validation before committing.
Why use it?
They prevent edits to generated files from being lost or leaving the registry out of sync.

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/khaledsaeed18/dotclaude/claude-md
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/khaledsaeed18/dotclaude/claude-md.svg)](https://agentmods.dev/instructions/khaledsaeed18/dotclaude/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/khaledsaeed18/dotclaude/claude-md"><img src="https://agentmods.dev/badge/instructions/khaledsaeed18/dotclaude/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 935 This file is loaded in full into every session.
When invoked 935 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.00935 $0.00935
Opus 5 $0.00467 $0.00467
Sonnet 5 $0.00187 $0.00187
Haiku 4.5 $0.00093 $0.00093

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

Security

Grade A, and why

dotclaude 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 4d 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 · 55 lines

How it starts

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

dotclaude

Personal Claude Code registry: skills, agents, commands, and hooks, distributed via the shadcn registry and a Claude Code plugin marketplace. Full contributor guide: CONTRIBUTING.md.

The one rule: source vs generated

Every item lives at <type>/<category>/<name>/<MANIFEST> (SKILL.md, AGENT.md, COMMAND.md, or HOOK.md). Everything else is derived by pnpm gen:

  • each item's registry.json and the root registry.json
  • the README catalog, badges, and plugins table (between <!-- ... --> markers)
  • everything under .claude-plugin/ (marketplace + per-plugin trees)

Never hand-edit generated files. Edit the source manifest, run pnpm gen, and commit the regenerated output. pnpm gen:check fails CI when anything is stale.

One thing deliberately sits outside that rule: .agents/skills/improve/, surfaced to this repo's own sessions through the .claude/skills/improve symlink. It is tooling for working on the registry, not an item in it — so it is invisible to gen and validate, follows none of the item conventions, and ships to nobody. Anything under skills/, agents/, commands/, or hooks/ is a registry item; .agents/ is not.

Verification gate

Run before considering any change done (same as CI):

pnpm typecheck && pnpm lint && pnpm test && pnpm gen:check && pnpm validate

pnpm coverage reports how much of hooks/ and scripts/ the suite actually executes, and fails below 90%. It exists because the suite is black-box — hooks run as child processes — so ordinary coverage tooling instruments only the runner and reports a confident, wrong 0%. This collects V8 coverage from the children and merges it. Use it to find untested branches, not to chase 100%: some branches are platform-specific and unreachable on a given OS.

pnpm smoke is the slower end-to-end check CI also runs, kept out of the line above because it drives the real Claude Code CLI: it installs every generated plugin into a throwaway config dir, diffs the installed tree against the generated one, and runs each bundled hook script from its installed path (including that the deny rules still block). Run it after touching gen.ts's plugin logic or any hook script. It needs no auth or network beyond resolving the CLI, and leaves nothing behind.

Read the full file on GitHub · 55 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. 4d ago First seen · 55 lines · 935 tokens per session scan A c4f3bbb73c6e

Subscribe to this mod's changes

dotclaude CLAUDE.md is an instructions file published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 3d ago), licensed MIT. It adds 935 tokens to every session, about $0.0047 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.