ai-for-modern-cpp CLAUDE.md

ai-for-modern-cpp CLAUDE.md is an instructions file for coding agents from thecompez/ai-for-modern-cpp. It costs 66 tokens per session, scanned A, original, no licence file.

A set of instructions for Claude Code in a repository that guides agents toward safe C++20, C++23, and C++26 code using modules, concepts, modern CMake, tests, and C++ Core Guidelines.

In plain words
What is it for?
Use it to guide Claude Code while developing and checking modern C++ in this repository.
Why use it?
It gives the coding agent project-specific rules and a repeatable build, test, and review process.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/thecompez/ai-for-modern-cpp/claude-md
Clone the repo
git clone --depth 1 https://github.com/thecompez/ai-for-modern-cpp

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 ai-for-modern-cpp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thecompez/ai-for-modern-cpp/claude-md.svg)](https://agentmods.dev/instructions/thecompez/ai-for-modern-cpp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/thecompez/ai-for-modern-cpp/claude-md"><img src="https://agentmods.dev/badge/instructions/thecompez/ai-for-modern-cpp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 This file is loaded in full into every session.
When invoked 66 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00066 $0.00066
Opus 5 $0.00033 $0.00033
Sonnet 5 $0.00013 $0.00013
Haiku 4.5 $0.00007 $0.00007

Measured 3d ago against content hash 6fa764ebb1b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ai-for-modern-cpp 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 3d 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 · 8 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 8 lines · 66 tokens per session scan A 6fa764ebb1b2

Subscribe to this mod's changes

ai-for-modern-cpp CLAUDE.md is an instructions file published in the GitHub repository thecompez/ai-for-modern-cpp (22 stars, last pushed 1mo ago), with no licence file. It adds 66 tokens to every session, about $0.0003 per session on Opus 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

intelligent-terminal copilot-instructions.md

Copilot instructions for microsoft/intelligent-terminal, covering copilot instructions for windows terminal, build, running, test and code formatting.

microsoft/intelligent-terminal · 1,953 tokens

Tutorial_AwesomeModernCPP AGENTS.md

Instructions for Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP, covering agents.md, 这是什么, 通用 essentials(所有 agent 必读) and 你来做什么?(按场景路由).

Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP · 778 tokens

Tutorial_AwesomeModernCPP CLAUDE.md

Instructions for Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP, covering claude.md, 写作纪律(必须遵守), 规划命令(skills,规划者模式 —— 只规划不执行), 实用命令(skills,执行型) and 记忆系统.

Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP · 1,047 tokens

corvus CLAUDE.md

Instructions for Ambar-Gupta22/corvus, covering claude.md — corvus, what this project is, goals, three differentiators (folded into the design) and source-of-truth docs (read before large changes).

Ambar-Gupta22/corvus · 4,253 tokens

xiaozhi-esp32 AGENTS.md

AGENTS.md instructions for 78/xiaozhi-esp32, covering agents.md, project, architecture, required rules and boards and configuration.

78/xiaozhi-esp32 · 1,079 tokens

mini-swe-agent copilot-instructions.md

Copilot instructions for SWE-agent/mini-swe-agent, covering style guide, test style, bad and good.

SWE-agent/mini-swe-agent · 378 tokens