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.
npx agentmods add instructions/centminmod/my-claude-code-setup/claude-mdgit clone --depth 1 https://github.com/centminmod/my-claude-code-setupWrote 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.
[](https://agentmods.dev/instructions/centminmod/my-claude-code-setup/claude-md)<a href="https://agentmods.dev/instructions/centminmod/my-claude-code-setup/claude-md"><img src="https://agentmods.dev/badge/instructions/centminmod/my-claude-code-setup/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01085 | $0.01085 |
| Opus 5 | $0.00543 | $0.00543 |
| Sonnet 5 | $0.00217 | $0.00217 |
| Haiku 4.5 | $0.00109 | $0.00109 |
Grade A, and why
my-claude-code-setup 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Project Overview
- Name: my-claude-code-setup
- Description: Template repository providing CLAUDE.md templates, memory bank system, hooks, skills, subagents, and MCP server configurations for Claude Code projects
- This is a template repo — no application code. Users fork/copy files to their own projects.
CLAUDE.md Templates
This repo provides 3 CLAUDE.md templates following official Anthropic best practices:
| Template | Lines | Philosophy |
|---|---|---|
CLAUDE-template-1.md |
~101 | Compact self-contained + memory resilience |
CLAUDE-template-2.md |
~153 | Memory bank headline + dual memory |
CLAUDE-template-3.md |
~105 | Progressive disclosure native (this file's format) |
For migrating an existing CLAUDE.md to a new template, see CLAUDE-migrate-to-new-template.md.
Tools
Use rg not grep, fd not find. tree is not installed.
- Ignore GEMINI.md and GEMINI-*.md files
Rules Dependency
This template requires .claude/rules/core-rules.md for behavioral rules. If .claude/rules/ is missing or empty, alert the user and direct them to https://github.com/centminmod/my-claude-code-setup to obtain the companion rules files.
Memory System
This project uses a dual-memory architecture:
Primary (git-shared): CLAUDE-*.md files in repo root — read on demand:
| File | Read When |
|---|---|
| CLAUDE-activeContext.md | Session start (state and goals) |
| CLAUDE-patterns.md | Before implementing (code patterns) |
| CLAUDE-decisions.md | Before design choices (ADRs) |
| CLAUDE-troubleshooting.md | When debugging (known fixes) |
| CLAUDE-config-variables.md | When touching config |
Shadow (machine-local): Native auto memory mirrors key content for resilience:
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.
- 4d ago First seen · 99 lines · 1,085 tokens per session scan A f4b104be87c6
my-claude-code-setup CLAUDE.md is an instructions file published in the GitHub repository centminmod/my-claude-code-setup (2,614 stars, last pushed 1mo ago), licensed MIT. It adds 1,085 tokens to every session, about $0.0054 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.
Other instructions, from other repositories
awesome-claude-code-subagents CLAUDE.md
Claude Code instructions for VoltAgent/awesome-claude-code-subagents, covering claude.md, project overview, repository structure, subagent file format and communication protocol.
claude-code-sub-agents CLAUDE.md
Instructions for lst97/claude-code-sub-agents, covering full stack development guidelines, philosophy, core beliefs, simplicity means and process.
mjs-agent-skills CLAUDE.md
Claude Code instructions for mjunaidca/mjs-agent-skills, covering claude code rules, what this repo is, before you do anything, task context and core guarantees (product promise).
ccman CLAUDE.md
Claude Code instructions for 2ue/ccman, covering ccman 项目开发规范, 项目简介, 核心设计原则, 1. 简洁至上(simplicity first) and 2. 数据结构优先(data structures first).
ccman AGENTS.md
AGENTS.md instructions for 2ue/ccman, a project described as: 一个管理Claude Code + Codex API+GEMINI CLI + OPENCODE服务商配置的工具.
ai-workflow AGENTS.md
Instructions for cunhaax/ai-workflow, covering ai workflow template, rules — non-negotiable, project overview, commands and architecture.