cpp-pro

cpp-pro is a skill for Claude Code from Jeffallan/claude-skills. It costs 79 tokens per session (1,110 once invoked), scanned A, original, MIT.

A specialist for building, debugging, and optimizing modern C++20 and C++23 applications.

In plain words
What is it for?
Use it for C++ concepts, ranges, coroutines, templates, SIMD optimization, memory management, sanitizers, static analysis, and benchmarking.
Why use it?
It helps address complex language features, memory-safety problems, and performance issues in systems software.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fullstack-dev-skills plugin — 72 skills, 2 commands, 8 agents, 4 hooks shipped together

Good fit Use it for C++ concepts, ranges, coroutines, templates, SIMD optimization, memory management, sanitizers, static analysis, and benchmarking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffallan/claude-skills/cpp-pro
About the project

claude-skills is a collection of specialized skills that extends Claude Code for full-stack development. Developers use it for programming languages, frameworks, infrastructure, APIs, testing, DevOps, security, data and machine learning, platform tasks, and project workflows.

Jeffallan/claude-skills · 12,607 stars · on GitHub · jeffallan.github.io

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 Jeffallan/claude-skills --skill cpp-pro
Clone the repo
git clone --depth 1 https://github.com/Jeffallan/claude-skills

Made for: Claude Code.

Or install fullstack-dev-skills, the plugin that ships this one along with the rest of its 72 skills, 2 commands, 8 agents, 4 hooks.

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-pro

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffallan/claude-skills/cpp-pro"><img src="https://agentmods.dev/badge/skills/jeffallan/claude-skills/cpp-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,110 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. Third-party audits
  • Socket pass 3 Oct 2026
  • Snyk warn 3 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.01110
Opus 5.5 $0.00032 $0.00444
Sonnet 5.5 $0.00016 $0.00222
Haiku 4.5 $0.00008 $0.00111

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

Security

Grade A, and why

cpp-pro 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • cpp-pro — 95% identical, 5 lines differ
plugin/skills/cpp-pro/SKILL.md · 121 lines

How it starts

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

C++ Pro

Senior C++ developer with deep expertise in modern C++20/23, systems programming, high-performance computing, and zero-overhead abstractions.

Core Workflow

  1. Analyze architecture — Review build system, compiler flags, performance requirements
  2. Design with concepts — Create type-safe interfaces using C++20 concepts
  3. Implement zero-cost — Apply RAII, constexpr, and zero-overhead abstractions
  4. Verify quality — Run sanitizers and static analysis; if AddressSanitizer or UndefinedBehaviorSanitizer report issues, fix all memory and UB errors before proceeding
  5. Benchmark — Profile with real workloads; if performance targets are not met, apply targeted optimizations (SIMD, cache layout, move semantics) and re-measure

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Modern C++ Features references/modern-cpp.md C++20/23 features, concepts, ranges, coroutines
Template Metaprogramming references/templates.md Variadic templates, SFINAE, type traits, CRTP
Memory & Performance references/memory-performance.md Allocators, SIMD, cache optimization, move semantics
Concurrency references/concurrency.md Atomics, lock-free structures, thread pools, coroutines
Build & Tooling references/build-tooling.md CMake, sanitizers, static analysis, testing

Constraints

MUST DO

  • Follow C++ Core Guidelines
  • Use concepts for template constraints
  • Apply RAII universally
  • Use auto with type deduction
  • Prefer std::unique_ptr and std::shared_ptr
  • Enable all compiler warnings (-Wall -Wextra -Wpedantic)
  • Run AddressSanitizer and UndefinedBehaviorSanitizer
  • Write const-correct code

MUST NOT DO

  • Use raw new/delete (prefer smart pointers)
  • Ignore compiler warnings
  • Use C-style casts (use static_cast, etc.)
  • Mix exception and error code patterns inconsistently
  • Write non-const-correct code
  • Use using namespace std in headers
  • Ignore undefined behavior
  • Skip move semantics for expensive types

Read the full file on GitHub · 121 lines

Files

What ships with it

5 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.

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. 2mo ago Changed · +3 lines 53017f862c52
  2. 3mo ago First seen · 118 lines · 79 tokens per session scan A a08e1b284deb

Subscribe to this mod's changes

cpp-pro is a skill published in the GitHub repository Jeffallan/claude-skills (12,607 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,110 once invoked, about $0.0003 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-08-30.

Related

cpp-pro compared with skills from other repositories

cpp-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpp-proJeffallan/claude-skillsSkill13ktodayMITA79Claude Code
cppnimadorostkar/Claude-Skills-collectionSkill415d agoMITA78Claude Code
scenario-3dsmax-scriptingscenario-labs/skillsSkill4.8ktodayMITA188Claude Code
memory-safety-patternsrmyndharis/antigravity-skillsSkill2.2k3d agoMITA45Claude Code, Codex
phx-investigateoliver-kriska/claude-elixir-phoenixSkill580todayMITA35Claude Code, Codex
phx-traceoliver-kriska/claude-elixir-phoenixSkill580todayMITA47Claude Code, Codex
python-lspoaustegard/claude-skillsSkill4294d agoMITA155Claude Code