claude-code-templates: Instructions file for Claude Code

CLAUDE.md

claude-code-templates CLAUDE.md is an instructions file for Claude Code from davila7/claude-code-templates. It costs 21,149 tokens per session, scanned C, original, MIT.

A project instruction file for Claude Code that explains a Node.js command-line tool, its dashboard, deployment setup, commands, and development rules.

In plain words
What is it for?
It is for working on the CLI, component catalogue, Astro dashboard, Cloudflare deployment, tests, releases, and security-sensitive configuration.
Why use it?
It gives the coding agent the project context and operating guidance needed to make changes that fit the repository.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/danipower/....

About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 34,829 stars · on GitHub · aitmpl.com

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/davila7/claude-code-templates/claude-md"><img src="https://agentmods.dev/badge/instructions/davila7/claude-code-templates/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21,149 This file is loaded in full into every session.
When invoked 21,149 The same file — it is already loaded in full.
Security scan C 3 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.21149 $0.21149
Opus 5.5 $0.08460 $0.08460
Sonnet 5.5 $0.04230 $0.04230
Haiku 4.5 $0.02115 $0.02115

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

Security

Grade C, and why

claude-code-templates CLAUDE.md scanned grade C with 3 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`.claude/settings.local.json` (local) or `~/.claude/settings.json` (user).

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

1. **The project is not trusted.** Claude Code adopts a plugin from a project's `.claude/skills/{name}/` only when `~/.claude.json` has `projects[<path>].hasTrustDialogAccepted: true`; an untrusted folder's `.claude/` is

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://pulse-weekly-report.SUBDOMAIN.workers.dev/trigger \
CLAUDE.md · 924 lines

How it starts

The opening of the file, as written. The whole thing — 924 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 when working with this repository.

Project Overview

Node.js CLI tool (cli-tool/) for managing Claude Code components (agents, commands, MCPs, hooks, settings) with a static website for browsing and installing components. The dashboard and its API routes are deployed on Cloudflare Pages, with supporting cron and monitoring tasks running as Cloudflare Workers.

cli-rust/ (Rust port of the install core) is in the backlog: do not plan, change, test parity with or mention it unless Daniel resumes it.

GitHub Identity: the Owner Is @davila7

The maintainer's GitHub account is @davila7 (repo davila7/claude-code-templates). danipower is only the local macOS username ($USER, /Users/danipower/...), and Dani is only the git author name: neither is a GitHub handle, and @danipower may belong to a stranger who would be notified. Use @davila7 everywhere a GitHub identity goes: CODEOWNERS, @-mentions, PR/issue assignees and reviewers, gh arguments, github.com/davila7/... URLs, author/repository fields. Never derive a handle from the machine (whoami, home directory, git config); if in doubt, gh api user --jq .login returns the real one. git grep -i danipower should match nothing outside local paths.

Essential Commands

# Development
npm install                    # Install dependencies
npm test                       # Run tests
npm version X.Y.Z --ignore-scripts=false  # Sync, commit, and tag all package versions
npm run version:set -- X.Y.Z   # Sync versions without creating a commit or tag
npm publish --ignore-scripts=false  # Publish and run the trusted prepublish guard

# Component catalog
python scripts/generate_components_json.py                   # Update docs/components.json (pulls download counts from Supabase: minutes)
python scripts/generate_components_json.py --skip-downloads  # Same, keeping the counts already in the catalog: seconds

# Dashboard + API (Astro on Cloudflare Pages)
cd dashboard && npm test && npm run build                          # Unit tests + build (dashboard-ci.yml runs both on PRs)
cd dashboard && npx wrangler pages deploy dist --project-name=aitmpl-dashboard  # Manual deploy (what deploy.yml runs)

Read the full file on GitHub · 924 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. yesterday Changed · +95 tokens per session b1a51cca352f
  2. 4d ago Changed · +21 lines · +447 tokens per session 71364153a789
  3. 5d ago Changed · +43 tokens per session 0e015dad096c
  4. 6d ago Changed · +8 lines · +662 tokens per session ca42c0472cf2
  5. 7d ago Changed · +6 lines · +915 tokens per session 582e4393f382
  6. 8d ago Changed · +20 lines · +819 tokens per session e373d98d0c48
  7. 11d ago Changed · +23 lines · +1,300 tokens per session b604017ae57a
  8. 15d ago Changed · +1 lines · +296 tokens per session 223c1ecdabbe
  9. 17d ago Changed · +7 lines · +608 tokens per session 9015618fb798
  10. 18d ago First seen · 838 lines · 15,964 tokens per session scan C 6605330d2086

Subscribe to this mod's changes

claude-code-templates CLAUDE.md is an instructions file published in the GitHub repository davila7/claude-code-templates (34,829 stars, last pushed today), licensed MIT. It adds 21,149 tokens to every session, about $0.0846 per session on Opus 5.5. A static security scan graded it C with 3 findings (reads agent configuration directories, enumerates other installed skills, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

claude-code-templates CLAUDE.md compared with instructions from other repositories

claude-code-templates CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-code-templates CLAUDE.mddavila7/claude-code-templatesInstructions file35ktodayMITC21,149Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291ktodayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot