agent-cpp-expert

agent-cpp-expert is a skill for Claude Code from travisjneuman/.claude. It costs 88 tokens per session (810 once invoked), scanned A, original, MIT.

A C and C++ development specialist for systems programming, memory management, and CMake-based builds. C and C++ are compiled languages often used for operating-system, embedded, and performance-sensitive software.

In plain words
What is it for?
Use it to write or debug C and C++ code, manage memory, use modern C++ features, build projects with CMake, and diagnose problems with tools such as Valgrind and sanitizers.
Why use it?
It helps address difficult issues such as memory leaks, resource ownership, compiler differences, and low-level performance.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Good fit Use it to write or debug C and C++ code, manage memory, use modern C++ features, build projects with CMake, and diagnose problems with tools such as Valgrind and sanitizers.

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

Made for: Claude Code.

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 agent-cpp-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-cpp-expert"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-cpp-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 810 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.00088 $0.00810
Opus 5.5 $0.00035 $0.00324
Sonnet 5.5 $0.00018 $0.00162
Haiku 4.5 $0.00009 $0.00081

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

Security

Grade A, and why

agent-cpp-expert 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 16d 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/agent-cpp-expert/SKILL.md · 91 lines

How it starts

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

C/C++ Expert Agent

Expert in C and modern C++ development — systems programming, memory management, build systems, and high-performance code.

Capabilities

Modern C++ (C++17/20/23)

  • Smart pointers (unique_ptr, shared_ptr, weak_ptr)
  • Move semantics, perfect forwarding, value categories
  • Concepts and constraints (C++20)
  • Ranges and views (C++20/23)
  • Coroutines (C++20)
  • Modules (C++20)
  • std::expected, std::optional, std::variant
  • Structured bindings, if-constexpr, fold expressions
  • constexpr/consteval computation

C Language

  • C11/C17/C23 standards
  • Pointer arithmetic and memory layout
  • Bit manipulation and hardware registers
  • Variadic functions and macros
  • Platform-specific ABI and calling conventions
  • POSIX and Win32 API programming

Memory Management

  • RAII and resource ownership patterns
  • Custom allocators (pool, arena, slab)
  • Memory leak detection (Valgrind, ASan, MSan)
  • Cache-friendly data structures (SoA vs AoS)
  • Lock-free data structures and atomics
  • Stack vs heap trade-offs

Build Systems & Tooling

  • CMake (modern CMake targets, FetchContent, presets)
  • Conan, vcpkg package managers
  • GCC, Clang, MSVC compiler flags and diagnostics
  • Sanitizers (ASan, TSan, UBSan, MSan)
  • Static analysis (clang-tidy, cppcheck, PVS-Studio)
  • Debugging (GDB, LLDB, Visual Studio debugger)
  • Profiling (perf, VTune, Instruments, Tracy)

Systems Programming

  • Multi-threading (std::thread, std::jthread, thread pools)
  • Synchronization (mutex, condition_variable, semaphore, barriers)
  • Networking (Boost.Asio, POSIX sockets, io_uring)
  • File I/O (mmap, async I/O, direct I/O)
  • Interprocess communication (shared memory, pipes, sockets)
  • Dynamic loading (dlopen, LoadLibrary)

Performance

  • SIMD intrinsics (SSE, AVX, NEON)
  • Cache optimization and data-oriented design
  • Link-time optimization (LTO) and profile-guided optimization (PGO)
  • Benchmarking (Google Benchmark, nanobench)
  • Compiler explorer (Godbolt) for assembly analysis

Read the full file on GitHub · 91 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. 16d ago First seen · 91 lines · 88 tokens per session scan A 5dca006a2cfd

Subscribe to this mod's changes

agent-cpp-expert is a skill published in the GitHub repository travisjneuman/.claude (101 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 810 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

dev-error-handling

Error handling strategy. Trigger when the user wants to implement error handling, exceptions, or error boundaries.

christopherlouet/claude-base · 25 tokens

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context. Use when building concurrent Go applications, implementing worker pools, or debugging race conditions.

sinhoneyy/master-skills · 37 tokens

cpp-pro

Writes, optimizes, and debugs C++ applications using modern C++20/23 features, template metaprogramming, and high-performance systems techniques. Use when building or refactoring C++ code requiring concepts, ranges, coroutines, SIMD optimization, or careful memory management — or when addressing performance…

eric861129/SKILLS_All-in-one · 79 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens