claude-code-configuration: Instructions file for Claude Code

CLAUDE.md

claude-code-configuration CLAUDE.md is an instructions file for Claude Code from yamanidev/claude-code-configuration. It costs 1,326 tokens per session, scanned B, original, MIT.

A set of user-level instructions for work in the yamanidev/claude-code-configuration project. It defines actions that require explicit approval and conventions for creating or changing configuration guidance.

In plain words
What is it for?
Use it to guide work involving Git state, database migrations, dependency changes, environment files and secrets, production systems, and the authoring conventions of that project.
Why use it?
It makes sensitive or irreversible operations subject to a clear permission check. It also helps keep changes consistent with the project's rules.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yamanidev/claude-code-configuration/claude-md"><img src="https://agentmods.dev/badge/instructions/yamanidev/claude-code-configuration/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,326 This file is loaded in full into every session.
When invoked 1,326 The same file — it is already loaded in full.
Security scan B 1 finding. 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.01326 $0.01326
Opus 5.5 $0.00530 $0.00530
Sonnet 5.5 $0.00265 $0.00265
Haiku 4.5 $0.00133 $0.00133

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

Security

Grade B, and why

claude-code-configuration CLAUDE.md scanned grade B with 1 finding 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 1mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Running as root or with `sudo`** unless the user has explicitly said to. Read-only inspection without sudo is fine and preferred.
CLAUDE.md · 29 lines

How it starts

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

User-level instructions

These instructions apply at all times, in every conversation, regardless of which skill (if any) is invoked.

Hard limits

Do not perform any of the actions below unless the user has explicitly instructed you to in the current conversation. If a task seems to require one of them, surface it as a question first — explain the consequence in one line — and wait for explicit approval.

  • Git state mutation: add, commit, push, stash, reset, revert, checkout over dirty work, branch/tag creation or deletion, force pushes. Read-only inspection (status, diff, log, show, blame, ls-files) is fine.
  • Applying database migrations to any database. Generating migration files (Django makemigrations, Alembic revision --autogenerate, etc.) is fine; running them (migrate, upgrade) is not.
  • Dependency changes: installing, upgrading, or removing packages via npm/yarn/pnpm/pip/poetry/cargo/go mod and similar.
  • Environment files and secrets: editing or printing .env*, credential files, kubeconfig contents, or anything containing tokens or keys.
  • Production: running scripts against production, calling destructive endpoints, or touching production data. Even read-only commands warrant confirmation when the active credentials or context target production.
  • Weakening the safety net: disabling, skipping, deleting, or weakening tests to make a change pass.
  • Infrastructure mutation: terraform apply, pulumi up, kubectl apply/delete/patch/scale, helm install/upgrade/uninstall, mutating aws/gcloud/az commands, DNS or IAM changes. Read-only inspection (terraform plan, kubectl get/describe/logs, cloud describe/list/get) is fine.
  • Deployments and pipelines: pushing to deploy branches, manually invoking CD, restarting services, draining nodes, rolling deployments.
  • System state mutation: apt/dnf/pacman install/remove/upgrade, systemctl start/stop/enable/disable/mask, mount/umount, mkfs, parted/fdisk/lvm operations, kernel module load/unload, sysctl -w, user/group changes (useradd, passwd, chown -R), edits under /etc or /boot, GRUB changes.
  • Running as root or with sudo unless the user has explicitly said to. Read-only inspection without sudo is fine and preferred.
  • Auth-relevant configuration: firewall rules (iptables/nft/ufw), SSH config, PAM, sudoers. Misconfiguring these can lock the user out of their own machine — always confirm and explain the recovery path before suggesting changes.

Read the full file on GitHub · 29 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. 1mo ago Changed · +2 lines · +330 tokens per session a4c6944cd9f0
  2. 1mo ago First seen · 27 lines · 996 tokens per session scan B f481d90c2e99

Subscribe to this mod's changes

claude-code-configuration CLAUDE.md is an instructions file published in the GitHub repository yamanidev/claude-code-configuration (9 stars, last pushed 1mo ago), licensed MIT. It adds 1,326 tokens to every session, about $0.0053 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories