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.
curl -O https://raw.githubusercontent.com/Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP/main/AGENTS.mdgit clone --depth 1 https://github.com/Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPPWrote 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/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/agents-md)<a href="https://agentmods.dev/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/agents-md"><img src="https://agentmods.dev/badge/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/agents-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.
<a href="https://agentmods.dev/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/agents-md"><img src="https://agentmods.dev/badge/instructions/awesome-embedded-learning-studio/tutorial_awesomemoderncpp/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.00881 | $0.00881 |
| Opus 5.5 | $0.00352 | $0.00352 |
| Sonnet 5.5 | $0.00176 | $0.00176 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade A, and why
Tutorial_AwesomeModernCPP AGENTS.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.
How it starts
The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
给任何 AI coding agent(Claude Code / Cursor / Copilot / Codex / Windsurf …)的项目入口,人也适用。一个 vendor-neutral 文件,所有 agent 都读。Claude 专属补充另见 CLAUDE.md。
这是什么
Tutorial_AwesomeModernCPP —— 从 C++ 基础到嵌入式实战的系统化 Modern C++ 教程(C++11–C++23,9 卷约 155 篇),VitePress 构建 + CMake 代码示例(支持 host / STM32F1 / STM32F4),部署 GitHub Pages。主语言中文。
documents/ vol1..vol9 + compilation + projects + images + community ← 文档源
site/.vitepress/ VitePress 配置(nav / sidebar / theme / plugins)
scripts/ build.ts(分卷并行构建)、validate_frontmatter.py …
code/volumn_codes/ 各卷可编译示例(无根 CMakeLists,逐目录构建)
通用 essentials(所有 agent 必读)
- Python 一律用
.venv/bin/python(根目录.venv,Python 3.14 + PyYAML)。严禁裸python/python3—— 系统 python 缺 PyYAML,会让validate_frontmatter.py把全仓文件误报成 error。(Claude Code 侧有 PreToolUse hook 强制拦截。) - 金科玉律 · 信息校验:凡断言 C++ 行为,先编译实测或查 cppreference 并标标准版本。C++ 语义随版本 / 实现变化,禁止凭记忆断言。验证代码只写
/tmp/,不要在项目目录跑 cmake / make / build(会污染仓库)。 - 构建 / 校验:
pnpm install→pnpm dev(热更新预览)/pnpm build(分卷并行);markdownlint documents/**/*.md;.venv/bin/python scripts/validate_frontmatter.py。 - 谨慎区:
compilation/卷已完成,改动需特别谨慎;vol1-fundamentals/正在重写,注意与已有内容衔接。
你来做什么?(按场景路由)
| 场景 | 去哪 |
|---|---|
| 贡献文章 / 代码示例 | CONTRIBUTING.md —— 流程一条龙 |
| 出题 / 投题解(每周一些题) | code/volumn_codes/weekly-problems/AGENTS.md —— 落题规程 + 模板包;人读详解见 站点手册 |
| 写作人格 / 语气 / 文章骨架 / 代码风格 | .claude/style/writing-style.md(公开卡;维护者环境另有 content_forge 完整体系,见 .claude/tools/content_forge/,不入库) |
| Frontmatter 字段与标签体系 | .claude/rules/documents-frontmatter.md |
| 辅助 C++ 学习者(学习辅助 track) | .github/learning-with-agents.md + FAQ |
| 复用本项目 Claude 资产(commands / prompts / hooks) | CLAUDE.md → .claude/ |
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.
- 1mo ago Changed · +31 tokens per session 1f6bbd632968
- 1mo ago Changed · +1 lines · +72 tokens per session cd42a17e880a
- 2mo ago First seen · 34 lines · 778 tokens per session scan A a5fe652debc4
Tutorial_AwesomeModernCPP AGENTS.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 881 tokens to every session, about $0.0035 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.
Tutorial_AwesomeModernCPP AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Tutorial_AwesomeModernCPP AGENTS.mdAwesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP | Instructions file | 354 | 4d ago | MIT | A | 881 | Claude Code, Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |