mcpp-write

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

A build helper that writes generated text to a chosen file from supplied lines and other files, but only when the content has changed.

In plain words
What is it for?
Use it in build actions to create generated text files, combine file contents, or write version and list files.
Why use it?
It avoids unnecessary file updates during builds and works across platforms without relying on a shell.

Skill for Claude CodeCodex

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

Good fit Use it in build actions to create generated text files, combine file contents, or write version and list files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mcpp-community/mcpp/mcpp-write"><img src="https://agentmods.dev/badge/skills/mcpp-community/mcpp/mcpp-write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 231 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.00028 $0.00231
Opus 5.5 $0.00011 $0.00092
Sonnet 5.5 $0.00006 $0.00046
Haiku 4.5 $0.00003 $0.00023

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

Security

Grade A, and why

mcpp-write 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-write/SKILL.md · 37 lines

What it actually says

mcpp write

Writes the lines after --, then each --append file, to -o PATH; the file is written only when its content differs. A tool for actions declared with ${mcpp.self}, which runs it on every platform without a shell.

Examples

mcpp write -o target/gen/version.txt -- 2026.12.4.1
mcpp write -o target/gen/all.list --append a.list --append b.list -- header

Declare each --append file as an input of the action.

Reads, writes, network

Reads the appended files and writes the destination; no network.

Refusals

A file to append that cannot be read: the message names it; exit 1.

Waits

None.

  • mcpp stage copies a file from an action.
  • mcpp build runs the actions that call it.
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 · 37 lines · 28 tokens per session scan A 89c2cb60911d

Subscribe to this mod's changes

mcpp-write is a skill published in the GitHub repository mcpp-community/mcpp (220 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 231 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-write compared with skills from other repositories

mcpp-write next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpp-writemcpp-community/mcppSkill220todayApache-2.0A28Claude Code, Codex
turborepovercel/turborepoSkill31ktodayMITA50Claude Code, Codex
addvercel/turborepoSkill31ktodayMITA48Claude Code, Codex
debug-taskmoonrepo/moonSkill4.2kyesterdayMITA203Claude Code
readable-cppcrazyguitar/cppcheatsheetSkill2972d agoMITA63Claude Code
cppcrazyguitar/cppcheatsheetSkill2972d agoMITA0Claude Code
google-workspacegraniet/kheishSkill20928d agoApache-2.0A40Claude Code, Codex