mcpp-add

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

A dependency command for mcpp projects. It adds a package at an exact version to the main, test-only, or build-time dependencies in mcpp.toml.

In plain words
What is it for?
Use it to add a library, test framework, plugin, or other build dependency, with the selected version recorded for the next build.
Why use it?
It keeps dependency declarations in the project file and distinguishes libraries needed by the application, tests, or build tools.

Skill for Claude CodeCodex

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

Good fit Use it to add a library, test framework, plugin, or other build dependency, with the selected version recorded for the next build.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mcpp-community/mcpp/mcpp-add"><img src="https://agentmods.dev/badge/skills/mcpp-community/mcpp/mcpp-add.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 672 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.00672
Opus 5.5 $0.00012 $0.00269
Sonnet 5.5 $0.00006 $0.00134
Haiku 4.5 $0.00003 $0.00067

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

Security

Grade A, and why

mcpp-add 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-add/SKILL.md · 73 lines

How it starts

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

mcpp add

Writes a dependency into mcpp.toml at an exact version: its full identity as a dotted key, in name order, under the table the flags name.

Examples

mcpp add [email protected]
mcpp add [email protected] --dev
mcpp add [email protected] --build
[dependencies]
mcpplibs.cmdline = "0.2.0"

[dev-dependencies]
compat.gtest = "1.15.2"

[build-dependencies]
mcpp.plugins = "0.27.0"
  • The version is required and exact; mcpp info <name> lists the versions published and the line to run.
  • --dev: [dev-dependencies], compiled for tests only. --build: [build-dependencies], for the build program (a plugin, a host tool). A plugin's members are chosen by editing the entry into a table with features; its library reaches build.mcpp without more (see mcpp build --agent-skill-doc).
  • A table written as [dependencies.<namespace>] keeps its form: the entry goes there under its short name. A bare key of the same package is replaced by the dotted one; mcpp.lock changes at the next build.

Choosing what to add

  1. A module library of mcpp-index (mcpplibs.*): import it, no header.
  2. A compat.* package: a C or C++ library built by mcpp, used by header.
  3. A CMake or vcpkg package through the deps-cmake or deps-vcpkg plugin.

A dependency is a package of mcpp's graph: resolved before planning, locked, built with the project's toolchain for its target. A library another build system already installed is declared in build.mcpp instead (mcpp::cps_package), and is not locked.

Reads, writes, network

Reads the package index (refreshed when stale; network); writes mcpp.toml. The next build resolves it and updates mcpp.lock.

Refusals

  • No version: mcpp add <name>@<version>.
  • A name no index has: the message lists the names tried.
  • A version the index does not have for this platform: the message lists those it has.

Waits

An index refresh waits for another run's; --lock-wait bounds it.

Read the full file on GitHub · 73 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 · 73 lines · 31 tokens per session scan A 7727e52f3d5b

Subscribe to this mod's changes

mcpp-add 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 672 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-add compared with skills from other repositories

mcpp-add next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpp-addmcpp-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