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/zoxknez/ai-coding-rules/claude-mdgit clone --depth 1 https://github.com/zoxknez/ai-coding-rulesWrote 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/zoxknez/ai-coding-rules/claude-md)<a href="https://agentmods.dev/instructions/zoxknez/ai-coding-rules/claude-md"><img src="https://agentmods.dev/badge/instructions/zoxknez/ai-coding-rules/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.1 | $0.01894 | $0.01894 |
| Opus 5 | $0.00947 | $0.00947 |
| Sonnet 5 | $0.00379 | $0.00379 |
| Haiku 4.5 | $0.00189 | $0.00189 |
Grade C, and why
ai-coding-rules CLAUDE.md scanned grade C 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 5d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
"Bash(rm -rf *)", Copies of this mod
1 near-identical copy found in the catalogue:
- ai-coding-rules CLAUDE.md — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md – Project Memory
This file is automatically read by Claude Code at session start. It provides project-specific context to make Claude an effective coding partner.
🎯 Repository Purpose
This is the ai-coding-rules repository — a comprehensive framework for controlling AI-assisted coding across Cursor, GitHub Copilot, and Claude Code. It defines high-signal, low-noise rules that enable AI agents to operate as senior-level engineering partners.
🛠️ Tech Stack
| Layer | Technology |
|---|---|
| Documentation | Markdown, MDC (Cursor rules format) |
| Package Manager | pnpm |
📦 Commands
| Action | Command |
|---|---|
| Sync instructions | ./scripts/sync_instructions.ps1 (Windows) or ./scripts/sync_instructions.sh (Unix) |
📁 Project Structure
ai-coding-rules/
├── CLAUDE.md # This file - Claude Code context
├── README.md # Project overview
├── CHANGELOG.md # Version history
│
├── docs/ # 📚 Organized documentation
│ ├── core/ # 🎯 Essential rules
│ │ ├── MASTER_RULES.md # Central rules (Golden Rule, Three-Phase)
│ │ ├── global_rules.md # Operating principles
│ │ ├── STRICT_MODE.md # Non-negotiable rules
│ │ └── UNIVERSAL_RULE_FORMAT.md
│ │
│ ├── stacks/ # 🔵 Technology guides
│ │ ├── stack_frontend.md # React/Next.js/TypeScript
│ │ ├── stack_backend.md # Node.js/Express/Nest
│ │ ├── stack_db.md # SQL/ORM/Migrations
│ │ ├── stack_python.md # Python
│ │ └── stack_rust.md # Rust
│ │
│ ├── workflows/ # 🟡 Agent patterns
│ ├── operations/ # ⚪ Security & ops
│ ├── quality/ # 🟢 Reviews & metrics
│ └── optimization/ # 💰 Token costs
│
├── .cursor/rules/ # Modular Cursor rules (19 .mdc files)
│
├── .claude/
│ ├── rules/ # Path-specific rules
│ │ ├── security.md
│ │ ├── frontend.md
│ │ ├── backend.md
│ │ ├── testing.md
│ │ └── database.md
│ └── skills/ # Structured output templates
│ ├── code-review.md
│ ├── security-audit.md
│ ├── refactor-plan.md
│ └── rigor-audit.md
│
├── .github/
│ ├── copilot-instructions.md
│ └── instructions/
│
├── .windsurf/ # Windsurf/Cascade config
│
├── examples/rule-tests/ # Rule verification tests
│
└── scripts/ # Automation scripts
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.
- 5d ago First seen · 272 lines · 1,894 tokens per session scan C eedbf8229aca
ai-coding-rules CLAUDE.md is an instructions file published in the GitHub repository zoxknez/ai-coding-rules (28 stars, last pushed 4mo ago), licensed MIT. It adds 1,894 tokens to every session, about $0.0095 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
aeon CLAUDE.md
Claude Code instructions for aeonfun/aeon, covering aeon, how aeon works, strategy, voice and soul file hierarchy (read in this order).
cognirepo CLAUDE.md
Claude Code instructions for ashlesh-t/cognirepo, covering claude.md, key rules, session start sequence (run in this order), behavioral confirmation rule and personas (cognirepo-402, cognirepo-403).
wayland-core copilot-instructions.md
Copilot instructions for FerroxLabs/wayland-core, covering ijfw rules, output discipline, memory routing, context discipline and cross-audit.
mcp-structured-memory CLAUDE.md
Claude Code instructions for nmeierpolys/mcp-structured-memory, a project described as: Structured Memory MCP Server.
inkwell-memory CLAUDE.md
Instructions for veronchenko/inkwell-memory, covering claude.md — inkwellmemory, layout, multi-tenant mode (inkwellmultitenant=1), conventions and testing.
memory-mcp-1file AGENTS.md
Instructions for pomazanbohdan/memory-mcp-1file, covering ⛔ l0 invariants (never violate under any circumstance), detection heuristic, 🔀 phase transition routing (⛔ blocking), gate-0: phase identification & loading and 🧾 proof-of-load requirement (critical).