carbone

carbone is a skill for Claude Code from carboneio/carbone-skill. It costs 237 tokens per session (9,054 once invoked), scanned B, original, Apache-2.0.

A template engine that fills DOCX, XLSX, PPTX, PDF, HTML, and other document templates with JSON data. Template fields, loops, conditions, and formatting rules control where the data appears.

In plain words
What is it for?
Use it to design, validate, or fix Carbone templates and generate documents, spreadsheets, presentations, forms, or text files from structured data.
Why use it?
It removes repetitive manual document editing when the same layout must be filled with different data.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the carbone-skill plugin — 1 skill shipped together

Good fit Use it to design, validate, or fix Carbone templates and generate documents, spreadsheets, presentations, forms, or text files from structured data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/carboneio/carbone-skill/carbone
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 carboneio/carbone-skill --skill carbone
Clone the repo
git clone --depth 1 https://github.com/carboneio/carbone-skill

Made for: Claude Code.

Or install carbone-skill, the plugin that ships this one along with the rest of its 1 skill.

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 carbone

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

agentmods 80×15 button for carbone

Your own site · 80×15
<a href="https://agentmods.dev/skills/carboneio/carbone-skill/carbone"><img src="https://agentmods.dev/badge/skills/carboneio/carbone-skill/carbone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 237 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00237 $0.09054
Opus 5.5 $0.00095 $0.03622
Sonnet 5.5 $0.00047 $0.01811
Haiku 4.5 $0.00024 $0.00905

Measured 3mo ago against content hash 0ff1549ce6a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3mo 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`.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • carbone — 88% identical, 140 lines differ
carbone/SKILL.md · 492 lines

How it starts

The opening of the file, as written. The whole thing — 492 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 :set before 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). Full in-template option list → references/in-template-options.md.

Read the full file on GitHub · 492 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. 3mo ago First seen · 492 lines · 237 tokens per session scan B 0ff1549ce6a4

Subscribe to this mod's changes

carbone is a skill published in the GitHub repository carboneio/carbone-skill (6 stars, last pushed 18d ago), licensed Apache-2.0. It adds 237 tokens to every session and 9,054 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

carbone compared with skills from other repositories

carbone next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
carbonecarboneio/carbone-skillSkill618d agoApache-2.0B237Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37k4d agoApache-2.0A123Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10k5d agoApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex