mcpp-build

mcpp-build is a skill for Claude Code, Codex from mcpp-community/mcpp. It costs 31 tokens per session (907 once invoked), scanned A, original, Apache-2.0.

A command-line build tool for projects that use mcpp.toml. It compiles programs, libraries, and their imported modules for the current machine or another target.

In plain words
What is it for?
Use it to build debug or release versions, select targets and toolchains, enable features, build workspace members, or generate compile_commands.json without compiling.
Why use it?
It gathers dependencies, toolchains, features, and build settings into repeatable build commands, including offline and machine-readable modes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build debug or release versions, select targets and toolchains, enable features, build workspace members, or generate compile_commands.json without compiling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mcpp-community/mcpp/mcpp-build
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.

Any agent
npx skills add mcpp-community/mcpp --skill mcpp-build
Clone the repo
git clone --depth 1 https://github.com/mcpp-community/mcpp

Made for: Claude Code, Codex.

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 mcpp-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/mcpp-community/mcpp/mcpp-build/github.svg)](https://agentmods.dev/skills/mcpp-community/mcpp/mcpp-build)
Your own site
<a href="https://agentmods.dev/skills/mcpp-community/mcpp/mcpp-build"><img src="https://agentmods.dev/badge/skills/mcpp-community/mcpp/mcpp-build/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 mcpp-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/mcpp-community/mcpp/mcpp-build"><img src="https://agentmods.dev/badge/skills/mcpp-community/mcpp/mcpp-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
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.00031 $0.00907
Opus 5.5 $0.00012 $0.00363
Sonnet 5.5 $0.00006 $0.00181
Haiku 4.5 $0.00003 $0.00091

Measured today against content hash a5809e981da2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcpp-build 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 today.

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.

docs/mcpp-skills/mcpp-build/SKILL.md · 94 lines

How it starts

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

mcpp build

Builds the project whose mcpp.toml is in the current directory or the nearest parent: its programs, libraries and the modules they import. Outputs go under target/<triple>/<fingerprint>/.

Examples

mcpp build
mcpp build --release
mcpp build --target x86_64-linux-musl --static
mcpp build --toolchain [email protected]
mcpp build --features simd,cli/color
mcpp build -p core --jobs 8
mcpp build --workspace --exclude bench
mcpp build --configure-only
mcpp build --message-format json

--configure-only writes compile_commands.json and builds nothing. --message-format json streams NDJSON events and ends with the mcpp.build envelope.

Reads, writes, network

  • Reads the project and mcpp.lock; writes target/ and the lock.
  • Writes the home: toolchains, dependencies, the build cache.
  • Downloads what the plan lacks; --offline refuses instead, and mcpp fetch puts it in the home beforehand.
  • Runs the build programs (build.mcpp) of the project and its dependencies.

Refusals

  • [offline-download-required]: offline and the plan needs a download.
  • [unknown-target], [os-mismatch]: the --target spelling; see mcpp toolchain list for the targets this host serves.
  • [layer-requirement], [layer-cycle], [package-cycle]: the graph; mcpp why deps shows who requires what.
  • [compiler-requirement-conflict]: packages need another compiler; mcpp why toolchain.
  • Compiler errors are printed as the compiler wrote them, exit 1.

mcpp explain <token> describes any of them.

Waits

Runs that select the same members of a workspace, or build one package, take turns on its build directory; a second run waits, as it waits for an install in the home. Runs that select different members of a workspace build at once. --lock-wait bounds the wait.

Build programs and plugins

A build.mcpp beside mcpp.toml is a C++ program the build runs first; it imports mcpp and prints what the build needs. A plugin is a library it imports: the official ones are mcpp.plugins, one member per feature (https://github.com/mcpp-community/mcpp-plugins).

Read the full file on GitHub · 94 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. today First seen · 94 lines · 31 tokens per session scan A a5809e981da2

Subscribe to this mod's changes

mcpp-build is a skill published in the GitHub repository mcpp-community/mcpp (220 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 907 once invoked, about $0.0001 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-12-06.

Related

mcpp-build compared with skills from other repositories

mcpp-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpp-buildmcpp-community/mcppSkill220todayApache-2.0A31Claude Code, Codex
readable-cppcrazyguitar/cppcheatsheetSkill2972d agoMITA63Claude Code
cppcrazyguitar/cppcheatsheetSkill2972d agoMITA0Claude Code
llama-cppgraniet/kheishSkill20928d agoApache-2.0A71Claude Code, Codex
zoom-meeting-sdk-unrealanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A41Claude Code
cudnn-installNVIDIA/skillsSkill4.4ktodayApache-2.0A49Claude Code, Codex
ccclNVIDIA/skillsSkill4.4ktodayApache-2.0A206Claude Code, Codex