Tutorial_AwesomeModernCPP: Instructions file for Claude Code

CLAUDE.md

Tutorial_AwesomeModernCPP CLAUDE.md is an instructions file for Claude Code from Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP. It costs 1,066 tokens per session, scanned A, original, MIT.

A project guide for Claude Code in an educational modern C++ repository. It defines writing rules, research and review requirements, project commands, and custom workflows for planning, auditing, explaining, and creating articles.

In plain words
What is it for?
Use it to create or review articles, verify C++ claims, run project checks, maintain indexes, and follow the repository’s planning and memory workflows.
Why use it?
It gives coding and writing agents the repository-specific rules needed to produce consistent, checked documentation.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP's own configuration. It tells Claude Code how to work on Tutorial_AwesomeModernCPP 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 Tutorial_AwesomeModernCPP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP. 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/Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/claude-md"><img src="https://agentmods.dev/badge/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,066 This file is loaded in full into every session.
When invoked 1,066 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.01066 $0.01066
Opus 5.5 $0.00426 $0.00426
Sonnet 5.5 $0.00213 $0.00213
Haiku 4.5 $0.00107 $0.00107

Measured 24d ago against content hash 173a16ca7f86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Tutorial_AwesomeModernCPP 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 24d 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 · 51 lines

How it starts

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

CLAUDE.md

Claude Code 在本项目的专属补充。通用项目信息(架构 / 命令 / 校验 / 金科玉律)见 AGENTS.md —— 先读它。本文件只放 Claude 特有的。

写作纪律(必须遵守)

  1. 写作前 MUST 先查风格规范:维护者环境(有 .claude/tools/content_forge/,不入库)读其写手资产 tools/humanizer-zh/corpus/VOICE.md + COMPARE.md,成稿修订按其 writing_style.md 审稿规约并尽量跑 tools/humanizer_lint.py;该目录不存在时(公开 checkout)按 .claude/style/writing-style.md(公开精简卡,含人格、语气、骨架、代码风格)执行
  2. 写作前 MUST 先 web search,准确性优先,token 成本其次
  3. 完成后 MUST 自查,而非留给作者;自查后告知如何验证
  4. 完成一个文件夹下的文章,MUST 顺手建 index.md,确保每篇都能被 VitePress 访问
  5. 计划模式用中文写计划文件
  6. 审查文章准确性,用 .claude/prompts/ 下的 prompt:
    • article-factcheck-audit.md —— 事实准确性 + 引用验证(人名 / 日期 / 规格 / 代码行为)
    • article-rigor-audit.md —— 编译器行为 + 技术断言验证(强制编译 / 汇编佐证)

实用命令(skills,执行型)

  • /audit —— 对一篇文章跑事实 + 严谨双审查并修正
  • /verify-claim —— 编译最小例子 + 查 cppreference,验证一条 C++ 断言
  • /explain —— 给学习者讲一个概念(定位 → 验证 → 项目声音讲解)
  • /new-article —— 按骨架起一篇新文章
  • /preflight —— 提交前自检(frontmatter / lint / 链接 / 索引)

记忆系统

Claude Code 有持久记忆(跨会话保留用户偏好、项目进展、踩坑),由 MEMORY.md 索引;具体存储位置在本地 Claude 配置,因人而异。

添加贡献者

用户说"添加贡献者"时:① 问 GitHub URL + 贡献内容 + 是否匿名;② 同步更新 CONTRIBUTORS.md + documents/team/index.md + documents/en/team/index.md;③ 卡片格式(<a class="contributor-card">)参照 documents/team/index.md 现有条目。

配置

参考文件索引

文件 用途
AGENTS.md 跨 agent 通用入口(架构 / 命令 / 金科玉律)
.claude/style/writing-style.md 写作人格 / 语气 / 骨架 / 代码风格(公开精简卡)
.claude/tools/content_forge/ 维护者完整写作与审稿体系(gitignore 不入库:VOICE / COMPARE / writing_style / humanizer_lint)
.claude/rules/documents-frontmatter.md Frontmatter 字段与标签
.claude/commands/ 实用 skills(/audit /verify-claim 等)
.claude/prompts/ 文章审查 prompt(事实 / 严谨)
CONTRIBUTING.md 贡献流程一条龙
site/.vitepress/config/ VitePress 配置(nav / sidebar / theme)
scripts/build.ts 分卷并行构建

Read the full file on GitHub · 51 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. 24d ago Changed · -7 lines · -119 tokens per session 173a16ca7f86
  2. 1mo ago Changed · +1 lines · +138 tokens per session a4e958ab2281
  3. 2mo ago First seen · 57 lines · 1,047 tokens per session scan A 5844aed20b36

Subscribe to this mod's changes

Tutorial_AwesomeModernCPP CLAUDE.md is an instructions file published in the GitHub repository Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP (354 stars, last pushed 4d ago), licensed MIT. It adds 1,066 tokens to every session, about $0.0043 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

Tutorial_AwesomeModernCPP CLAUDE.md compared with instructions from other repositories

Tutorial_AwesomeModernCPP CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Tutorial_AwesomeModernCPP CLAUDE.mdAwesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPPInstructions file3544d agoMITA1,066Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode