c-cpp-knowledge-patch

c-cpp-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 12 tokens per session (2,751 once invoked), scanned A, original, MIT.

A reference guide for C and C++, two programming languages commonly used for system software. It covers compiler versions, language standards, libraries, modules, sanitizers, diagnostics, and binary compatibility.

In plain words
What is it for?
Use it when upgrading Clang or GCC, changing language modes, diagnosing compiler regressions, configuring sanitizers or analysis tools, or reviewing ABI boundaries.
Why use it?
It helps prevent build and compatibility problems caused by mismatched compilers, language settings, libraries, or binary interfaces.

Skill for Claude Code

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

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when upgrading Clang or GCC, changing language modes, diagnosing compiler regressions, configuring sanitizers or analysis tools, or reviewing ABI boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/c-cpp-knowledge-patch
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 Nevaberry/nevaberry-plugins --skill c-cpp-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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 c-cpp-knowledge-patch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/c-cpp-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/c-cpp-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,751 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 61
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00012 $0.02751
Opus 5.5 $0.00005 $0.01100
Sonnet 5.5 $0.00002 $0.00550
Haiku 4.5 $0.00001 $0.00275

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

Security

Grade A, and why

c-cpp-knowledge-patch 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 today.

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.

plugins/knowledge-patch/patches-claude/c-cpp-knowledge-patch/SKILL.md · 206 lines

How it starts

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

C and C++ compatibility

Load this skill for C and C++ compiler migration, language support, library compatibility, diagnostics, target configuration, and offloading work. Use the topic references for complete guidance and compiler-specific examples.

Reference Topics
C language and standards Dialects, declarations, generic selection, arrays, embedding, C extensions
C++ language and modules Initialization, lifetime, templates, structured bindings, modules, implementation limits
Diagnostics and tooling Warning changes, SARIF, Static Analyzer, clang-format, tool APIs, Python bindings
Libraries, builtins, and attributes Headers, library facilities, contracts, relocation, type queries, thread safety
Migration and ABI Build defaults, dependencies, symbols, calling conventions, platform and library ABI
Optimization, debugging, and sanitizers Pointer arithmetic, floating point, LTO, debug visibility, sanitizer controls
Targets, offloading, and OpenMP Arm, X86, LoongArch, RISC-V, WebAssembly, GPU drivers, OpenACC, OpenMP

Breaking changes and deprecations

Build defaults and dependencies

GCC 16.1 defaults to -std=gnu++20. Set -std=gnu++17 or -std=c++17 explicitly to stay on C++17. Older Autoconf scripts can add an unintended -std=gnu++11; regenerate with Autoconf 2.73 or later to correct detection.

With Clang 22.1, link clangOptions for options APIs previously supplied by clangDriver. Link clangDriver explicitly for driver APIs previously obtained through clangFrontend.

libstdc++ exposes fewer declarations through indirect includes in GCC 15.1. Add <stdint.h> for global fixed-width typedefs, <cstdint> for their std forms, and <ostream> for std::endl and std::flush. Remove <cstdbool> and <cstdalign> from modern C++; replace <ccomplex> with <complex> and <ctgmath> with <cmath> or <complex> as needed.

Read the full file on GitHub · 206 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. today Changed · -12 lines a155807edeb7
  2. 3mo ago First seen · 218 lines · 12 tokens per session scan A 3c58039ee72a

Subscribe to this mod's changes

c-cpp-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 2,751 once invoked, about $0.0000 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

c-cpp-knowledge-patch compared with skills from other repositories

c-cpp-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
c-cpp-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA12Claude Code
bun-ffisecondsky/claude-skillsSkill2572d agoMITA56Claude Code
agent-cpp-experttravisjneuman/.claudeSkill115todayMITA88Claude Code
cpp-systemsiliaal/ai-skillsSkill483d agoMITA78Claude Code
ia-c-systemsiliaal/whetstoneSkill37todayMITA84Claude Code
dart-flutter-ffi-systems-engineeringariaramin/flutter-skillsSkill1125d agoMITA136Claude Code, Codex
cpp-reinforcement-learningAznatkoiny/zAI-SkillsSkill1024d agoMITA131Claude Code