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.
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.
curl -O https://raw.githubusercontent.com/davila7/claude-code-templates/main/CLAUDE.mdgit clone --depth 1 https://github.com/davila7/claude-code-templatesWrote 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/davila7/claude-code-templates/claude-md)<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.
<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>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.1 | $0.09583 | $0.09583 |
| Opus 5.5 | $0.03833 | $0.03833 |
| Sonnet 5.5 | $0.01917 | $0.01917 |
| Haiku 4.5 | $0.00958 | $0.00958 |
Grade B, and why
claude-code-templates CLAUDE.md scanned grade B with 2 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 11d 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.
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 \ How it starts
The opening of the file, as written. The whole thing — 639 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 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.
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 run build # Build before deploy
npm run deploy # Deploy www + app.aitmpl.com via wrangler
Deploys to production happen automatically via GitHub Actions on push to
main(changes indashboard/**). Manual deploy useswrangler pages deploy, not Vercel.
Security Guidelines
⛔ CRITICAL: NEVER Hardcode Secrets or IDs
NEVER write API keys, tokens, passwords, project IDs, org IDs, or any identifier in code. This includes Cloudflare account/project IDs, Supabase URLs, Discord IDs, database connection strings, and any other infrastructure identifier. ALL must go in .env (or Cloudflare secrets via wrangler secret put).
// ❌ WRONG
const API_KEY = "AIzaSy...";
// ✅ CORRECT
const API_KEY = process.env.GOOGLE_API_KEY;
When creating scripts with API keys:
- Use
process.env(Node.js) oros.environ.get()(Python) - Load from
.envfile usingdotenv - Add variable to
.env.examplewith placeholder - Verify
.envis in.gitignore
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.
- 11d ago Changed · +57 tokens per session f0a590721405
- 19d ago Changed · +53 tokens per session 32760fa42597
- 20d ago Changed · +2 lines · +38 tokens per session 584aebe3d3e3
- 24d ago Changed · +17 lines · +441 tokens per session 3295d06e75b6
- 25d ago Changed · +272 tokens per session f6154724099d
- 26d ago Changed · +11 lines · +800 tokens per session scan A → B 2684322a06ea
- 29d ago Changed · +10 lines · +701 tokens per session 5035499ba203
- 1mo ago Changed · +24 lines · +310 tokens per session 66ea0a815220
- 1mo ago Changed · +1 lines · +228 tokens per session aabafef6e961
- 1mo ago First seen · 574 lines · 6,683 tokens per session scan A 1ff6d44a530e
claude-code-templates CLAUDE.md is an instructions file published in the GitHub repository davila7/claude-code-templates (32,670 stars, last pushed yesterday), licensed MIT. It adds 9,583 tokens to every session, about $0.0383 per session on Opus 5.5. A static security scan graded it B with 2 findings (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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).