claude-code-rules: Instructions file for Claude Code

CLAUDE.md

claude-code-rules CLAUDE.md is an instructions file for Claude Code from NikiforovAll/claude-code-rules. It costs 401 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for a Claude Code plugin monorepo, a single repository containing multiple plugins and their shared marketplace. They explain the folder structure, plugin files, documentation site, and project rules.

In plain words
What is it for?
Use them when creating or updating plugins, skills, agents, commands, hooks, integrations, marketplace entries, or documentation.
Why use it?
They show where each plugin’s skills, commands, hooks, and configuration belong, reducing misplaced or incomplete changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nikiforovall/claude-code-rules/claude-md"><img src="https://agentmods.dev/badge/instructions/nikiforovall/claude-code-rules/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 401 This file is loaded in full into every session.
When invoked 401 The same file — it is already loaded in full.
Security scan A 0 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.00401 $0.00401
Opus 5.5 $0.00160 $0.00160
Sonnet 5.5 $0.00080 $0.00080
Haiku 4.5 $0.00040 $0.00040

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

Security

Grade A, and why

claude-code-rules 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 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.

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 · 42 lines

What it actually says

CLAUDE.md

This file provides guidance to Claude Code when working with the Claude Code Handbook monorepo.

Repository Overview

This is a Claude Code plugin monorepo containing multiple distributable plugins and a marketplace. It provides practical techniques, tools, and extensions to enhance AI-assisted development workflows.

Repo Structure

claude-code-rules/                    # Root monorepo
├── plugins/                          # All plugins (run discover script for full inventory)
│   └── <plugin-name>/
│       ├── .claude-plugin/plugin.json  # Manifest (name, version, description)
│       ├── skills/                     # Skills (SKILL.md per skill)
│       ├── agents/                     # Agent definitions (.md)
│       ├── commands/                   # Slash commands (.md)
│       ├── hooks/hooks.json            # Event hooks
│       ├── .mcp.json                   # MCP servers
│       └── .lsp.json                   # LSP servers
├── .claude-plugin/
│   └── marketplace.json              # Catalogs all plugins (marketplace: "cc-handbook")
├── website/                          # Docusaurus documentation site
├── BEST-PRACTICES.md
├── TIPS-AND-TRICKS.md
├── CHANGELOG.md
└── README.md

To list all plugins with components and install status:

python plugins/handbook-discover/skills/handbook-discover/scripts/discover.py --detailed

Website

This repository includes a Docusaurus-based documentation site located in the website/ folder. The site serves as the primary source of truth for the Claude Code Handbook content.

IMPORTANT

Do not modify: TIPS-AND-TRICKS.md and BEST-PRACTICES.md (obsolete, website is source of truth)

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 First seen · 42 lines · 401 tokens per session scan A 11952ba2dff3

Subscribe to this mod's changes

claude-code-rules CLAUDE.md is an instructions file published in the GitHub repository NikiforovAll/claude-code-rules (142 stars, last pushed 25d ago), licensed Apache-2.0. It adds 401 tokens to every session, about $0.0016 per session on Opus 5.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.

Related

Other instructions, from other repositories