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.
npx skills add carboneio/carbone-mcp --skill carbonegit clone --depth 1 https://github.com/carboneio/carbone-mcpWrote 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/skills/carboneio/carbone-mcp/carbone)<a href="https://agentmods.dev/skills/carboneio/carbone-mcp/carbone"><img src="https://agentmods.dev/badge/skills/carboneio/carbone-mcp/carbone/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/skills/carboneio/carbone-mcp/carbone"><img src="https://agentmods.dev/badge/skills/carboneio/carbone-mcp/carbone.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.00253 | $0.11385 |
| Opus 5.5 | $0.00101 | $0.04554 |
| Sonnet 5.5 | $0.00051 | $0.02277 |
| Haiku 4.5 | $0.00025 | $0.01138 |
Grade B, and why
carbone scanned grade B with 1 finding 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 16d 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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
A PDF template supports **no** pictures, colors, `:html`, charts, barcodes, hyperlinks, `:transform`, file operations or signatures — never suggest them here. Full guide → `references/pdf-templates.md`. This is a copy
88% identical to carbone — 140 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 498 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Carbone Universal Templating Language — Skill
Carbone is a declarative templating engine. You provide a template (DOCX, XLSX, PPTX, ODT, HTML, …) with Carbone tags (placeholders in {}), plus a JSON dataset. Carbone merges both to produce the filled document.
NEVER invent Carbone syntax. Carbone is its own language — it is NOT JSONPath, NOT Mustache, NOT Handlebars, NOT Jinja2, NOT any other templating language. Its tag syntax, formatters, loop markers, and filter expressions are unique. Any pattern not explicitly documented in this skill or its reference files does not exist in Carbone. If a user's request cannot be answered from what is documented here, say so — do not guess or adapt syntax from another language.
Design principles — they change how you answer:
- Adapt the template to the data, never the data to the template. Carbone injects into an unmodified API response. Reach for array filters, sorting, lookups and
:setbefore suggesting the user reshape their JSON. - Format-agnostic. Carbone injects into the file's own markup — the XML inside DOCX/ODT/IDML and any other XML-based format, and text files such as TXT, CSV, Markdown or JSON (§9).
- Backward compatible. Tag syntax survives upgrades — a template written for v2 still renders on v12. Never warn a user that their existing tags will break in a newer version.
1. Tag Types and Prefixes
| Tag | Purpose |
|---|---|
{d.path} |
Data from the main JSON object (most common) |
{c.path} |
Data from the "complement" object (metadata / computed values) |
{c.now} |
Built-in: current date/time at render time (UTC). Chain with :formatD to display it. |
{#alias = d.path} |
Declare an alias shortcut (removed from output) |
{$alias} |
Use a declared alias |
{t(key)} |
Static i18n translation tag — no quotes needed, whitespace preserved |
{o.option=value} |
Carbone in-template option (removed from output) |
Special {o.} options
Common: {o.timezone=Europe/Paris} {o.lang=en-US} {o.converter=L} {o.useHighPrecisionArithmetic=true} {o.exportFormattedValuesAsText=true} (XLSX only) {o.hardRefresh=true} (force converter even when input/output format match — useful for XLSX formula refresh) {o.preReleaseFeatureIn=VERSION} (opt-in pre-release features — e.g. 5018000: XLSX formulas, merged cells, charts and pivot tables follow loop rows).
Full in-template option list → references/in-template-options.md.
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/advanced-features.md 29 KB
- references/aliases.md 5.1 KB
- references/csv-templates.md 14 KB
- references/docx-tips.md 16 KB
- references/format-support.md 8.0 KB
- references/formatters.md 36 KB
- references/html-templates.md 17 KB
- references/idml-templates.md 12 KB
- references/in-template-options.md 3.7 KB
- references/loops-advanced.md 6.4 KB
- references/markdown-templates.md 11 KB
- references/pdf-templates.md 7.3 KB
- references/pptx-tips.md 12 KB
- references/practical-examples.md 17 KB
- references/set-patterns.md 10 KB
- references/svg-templates.md 13 KB
- references/txt-templates.md 13 KB
- references/upgrade-guide.md 5.1 KB
- references/xlsx-tips.md 16 KB
- references/xml-templates.md 11 KB
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.
- 16d ago Changed · +7 lines · +13 tokens per session b0cddc79ca81
- 18d ago First seen · 491 lines · 240 tokens per session scan B 77d128bb6798
carbone is a skill published in the GitHub repository carboneio/carbone-mcp (6 stars, last pushed 11d ago), licensed Apache-2.0. It adds 253 tokens to every session and 11,385 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). It is 88% identical to carbone, differing in 140 lines, and is treated as a copy.
carbone compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| carbonecarboneio/carbone-mcp | Skill | 6 | 11d ago | Apache-2.0 | B | 253 | Claude Code, Codex |
| kordocchrisryugj/kordoc | Skill | 3.2k | yesterday | MIT | A | 253 | Claude Code, Codex |
| all2mdthomas-villani/all2md | Skill | 34 | 5d ago | MIT | A | 181 | Claude Code, Codex |
| local-doc-to-markdownofershap/mcp-server-anydoc | Skill | 0 | 2d ago | MIT | A | 129 | Claude Code |
| doc-converterchainlesschain/chainlesschain | Skill | 11 | 15d ago | none | A | 19 | Claude Code |
| genofficegenspark-ai/genoffice | Skill | 13k | 3d ago | Apache-2.0 | A | 202 | Claude Code, Codex |
| document-generationautomateyournetwork/netclaw | Skill | 739 | today | Apache-2.0 | A | 118 | Claude Code |