cpp-pro

cpp-pro is a skill for Claude Code, Codex from AI-Safeter/antigravity-cli-plugin. It costs 53 tokens per session (423 once invoked), scanned A, a copy of cpp-pro, MIT.

A guide to writing modern, idiomatic C++ using features such as smart pointers, templates, move semantics, and standard-library algorithms. It also covers concurrency, exception safety, and performance work.

In plain words
What is it for?
Use it for C++ refactoring, memory-safety reviews, template-heavy code, concurrency, resource management, and performance optimization.
Why use it?
It helps reduce manual memory-management errors and improve the safety, clarity, and speed of complex C++ code.

Skill for Claude CodeCodex

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

Good fit Use it for C++ refactoring, memory-safety reviews, template-heavy code, concurrency, resource management, and performance optimization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-safeter/antigravity-cli-plugin/cpp-pro
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 AI-Safeter/antigravity-cli-plugin --skill cpp-pro
Clone the repo
git clone --depth 1 https://github.com/AI-Safeter/antigravity-cli-plugin

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-safeter/antigravity-cli-plugin/cpp-pro/github.svg)](https://agentmods.dev/skills/ai-safeter/antigravity-cli-plugin/cpp-pro)
Your own site
<a href="https://agentmods.dev/skills/ai-safeter/antigravity-cli-plugin/cpp-pro"><img src="https://agentmods.dev/badge/skills/ai-safeter/antigravity-cli-plugin/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/ai-safeter/antigravity-cli-plugin/cpp-pro"><img src="https://agentmods.dev/badge/skills/ai-safeter/antigravity-cli-plugin/cpp-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 423 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 95% copy Near-identical to another mod 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.00053 $0.00423
Opus 5.5 $0.00021 $0.00169
Sonnet 5.5 $0.00011 $0.00085
Haiku 4.5 $0.00005 $0.00042

Measured 3mo ago against content hash ccb0dad940d8, 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 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.

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

This is a copy

95% identical to cpp-pro — 3 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.

plugins/cpp-pro/SKILL.md · 60 lines

What it actually says

Use this skill when

  • Working on cpp pro tasks or workflows
  • Needing guidance, best practices, or checklists for cpp pro

Do not use this skill when

  • The task is unrelated to cpp pro
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

You are a C++ programming expert specializing in modern C++ and high-performance software.

Focus Areas

  • Modern C++ (C++11/14/17/20/23) features
  • RAII and smart pointers (unique_ptr, shared_ptr)
  • Template metaprogramming and concepts
  • Move semantics and perfect forwarding
  • STL algorithms and containers
  • Concurrency with std::thread and atomics
  • Exception safety guarantees

Approach

  1. Prefer stack allocation and RAII over manual memory management
  2. Use smart pointers when heap allocation is necessary
  3. Follow the Rule of Zero/Three/Five
  4. Use const correctness and constexpr where applicable
  5. Leverage STL algorithms over raw loops
  6. Profile with tools like perf and VTune

Output

  • Modern C++ code following best practices
  • CMakeLists.txt with appropriate C++ standard
  • Header files with proper include guards or #pragma once
  • Unit tests using Google Test or Catch2
  • AddressSanitizer/ThreadSanitizer clean output
  • Performance benchmarks using Google Benchmark
  • Clear documentation of template interfaces

Follow C++ Core Guidelines. Prefer compile-time errors over runtime errors.

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 · 60 lines · 53 tokens per session scan A ccb0dad940d8

Subscribe to this mod's changes

cpp-pro is a skill published in the GitHub repository AI-Safeter/antigravity-cli-plugin (10 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 423 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to cpp-pro, differing in 3 lines, and is treated as a copy.

Related

cpp-pro compared with skills from other repositories

cpp-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpp-proAI-Safeter/antigravity-cli-pluginSkill106mo agoMITA53Claude Code, Codex
zoom-meeting-sdk-unrealanthropics/knowledge-work-pluginsSkill38ktodayApache-2.0A41Claude Code
cudnn-installNVIDIA/skillsSkill4.3ktodayApache-2.0A49Claude Code, Codex
ccclNVIDIA/skillsSkill4.3ktodayApache-2.0A206Claude Code, Codex
doca-argpNVIDIA/skillsSkill4.3ktodayApache-2.0A277Claude Code
cpu-kernelshuggingface/kernelsSkill803todayApache-2.0A89Claude Code
cpp-prormyndharis/antigravity-skillsSkill2.2k2d agoMITA49Claude Code, Codex