cpp-development

cpp-development is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 24 tokens per session (449 once invoked), scanned A, original, Apache-2.0.

A set of standards for modern C++ development, including automatic resource cleanup, safer types, and GoogleTest-based verification. C++ is a programming language often used for performance-sensitive software.

In plain words
What is it for?
Use it when writing or reviewing C++17 or newer code, configuring CMake tests, and checking programs with address and undefined-behavior sanitizers.
Why use it?
It reduces memory leaks, invalid resource ownership, unsafe conversions, and bugs that may only appear during execution.

Skill for Claude CodeCodex

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

Good fit Use it when writing or reviewing C++17 or newer code, configuring CMake tests, and checking programs with address and undefined-behavior sanitizers.

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

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 cpp-development

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/cpp-development"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/cpp-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 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.00024 $0.00449
Opus 5.5 $0.00010 $0.00180
Sonnet 5.5 $0.00005 $0.00090
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

cpp-development 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 25d 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.

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.

skills/cpp-development/SKILL.md · 37 lines

What it actually says

CIEL ADAPTATION: C++ Development (Core Guidelines)

This skill formalizes the use of modern C++ (C++17/20+). it prioritizes resource safety (RAII) and the C++ Core Guidelines.

The Integrity Layer (RAII)

  1. No Raw Ownership: Never transfer ownership via raw pointers (T*). Use std::unique_ptr or std::shared_ptr.
  2. Resource Binding: Bind all resource lifetimes (Files, Locks, Sockets) to object lifetimes via RAII classes.
  3. Smart Allocation: Avoid new and delete. Use std::make_unique and std::make_shared.

Architectural Standards

  • Immutability: Declaring objects const or constexpr by default. Member functions must be const unless they mutate state.
  • Type Safety: Use enum class over plain enum. Prohibit C-style casts; use static_cast or dynamic_cast.
  • Interfaces: Pass "in" parameters by value for cheap types and const& for expensive types.

TDD & Verification

  • Framework: GoogleTest (gtest) + GoogleMock (gmock).
  • CMake/CTest: Use gtest_discover_tests() for stable discovery. Run with --output-on-failure.
  • Sanitizers: ALWAYS run tests with AddressSanitizer (ASan) and UndefinedBehaviorSanitizer (UBSan) in CI.

Anti-Patterns

  • Naked New: Calling new without immediately wrapping it in a smart pointer or RAII class.
  • Global Variables: Using non-const globals (violates I.2).
  • Implicit Conversions: Allowing narrowing/lossy arithmetic conversions without explicit casting.
Files

What ships with it

1 file 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.

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. 25d ago Changed · -13 lines ba04e02c6a0d
  2. 1mo ago First seen · 50 lines · 24 tokens per session scan A 5e20a2ad2d97

Subscribe to this mod's changes

cpp-development is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 24 tokens to every session and 449 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-09-03.

Related

Other skills, from other repositories

cpp-testing

Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.

x-cmd/skill · 34 tokens

cpp-testing

Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.

ronmkr/PromptBook · 34 tokens

adk-verify-snippets

Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide…

google/adk-python · 149 tokens

adk-setup

Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test run. Runs only when explicitly requested, never on its own. Use when asked to set up, bootstrap, or repair a development…

google/adk-python · 146 tokens

blink-gc-plugin

Develop, build, test, and roll changes to the Blink GC Clang plugin (//tools/clang/blinkgcplugin). Use when modifying or adding Oilpan/Blink GC Clang plugin checks, running plugin unit tests, checking Chromium/Blink targets for new plugin violations, suppressing violations with GCPLUGINIGNORE, or force-rolling Clang…

chromium/chromium · 79 tokens

mockery-suite-tests

Use when writing Go tests that need test doubles or cover multiple cases - detect the repo's mocking approach (Mockery v3, gomock, hand-written testify mocks, fakes), table-driven cases, testify suites when the repo uses them, and real-Postgres tests for repository adapters.

makifbaysal/tasktrooper · 63 tokens