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.
npx skills add G1Joshi/Agent-Skills --skill cppgit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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.
[](https://agentmods.dev/skills/g1joshi/agent-skills/cpp)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/cpp"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/cpp/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.
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/cpp"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/cpp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01324 |
| Opus 5.5 | $0.00026 | $0.00530 |
| Sonnet 5.5 | $0.00013 | $0.00265 |
| Haiku 4.5 | $0.00006 | $0.00132 |
Grade A, and why
cpp 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 21d 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.
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C++
Modern C++ development with smart pointers, RAII, and performance optimization.
When to Use
- High-Performance Game Engine & Graphics Development: Unreal Engine, Vulkan, DirectX 12, and real-time ray tracing pipelines.
- Low-Latency Quantitative Finance: Writing high-frequency trading (HFT) engines with microsecond and nanosecond execution SLAs.
- Systems & Database Infrastructure: Building foundational engines (Chromium, ClickHouse, RocksDB, MongoDB).
- Embedded & Autonomous Robotics: ROS 2, computer vision pipelines, and self-driving automotive control systems.
Quick Start
#include <memory>
#include <string>
#include <vector>
class User {
public:
User(std::string name, std::string email)
: name_(std::move(name)), email_(std::move(email)) {}
const std::string& name() const { return name_; }
const std::string& email() const { return email_; }
private:
std::string name_;
std::string email_;
};
auto user = std::make_unique<User>("John", "[email protected]");
Core Concepts
RAII & Modern Smart Pointers (C++20/C++23)
Resource Acquisition Is Initialization (RAII) ties resource management directly to object lifetime:
#include <iostream>
#include <memory>
#include <string>
class DatabaseConnection {
public:
explicit DatabaseConnection(std::string conn_str) { std::cout << "Connected
"; }
~DatabaseConnection() { std::cout << "Closed connection safely
"; }
void query(std::string sql) { std::cout << "Executing: " << sql << "
"; }
};
void execute_task() {
// std::unique_ptr automatically destructs and frees resource when exiting scope
auto conn = std::make_unique<DatabaseConnection>("postgres://localhost");
conn->query("SELECT 1;");
} // conn goes out of scope here; destructor executes automatically
Move Semantics & std::move
Transfers ownership of heavy heap resources without expensive deep memory copying:
#include <vector>
std::vector<int> generate_data() {
std::vector<int> large_vector(1'000'000, 42);
return large_vector; // Move semantics (or RVO) avoids copying 1M integers
}
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.
- 21d ago Changed · +8 lines 0d36e5f6efe4
- 25d ago Changed · +1 lines · +37 tokens per session b889ae203906
- 1mo ago First seen · 177 lines · 28 tokens per session scan A 45310abdf065
cpp is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 22d ago), licensed MIT. It adds 65 tokens to every session and 1,324 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-09-03.
Other skills, from other repositories
unreal-engine-cpp-blueprints
Production guidance for Unreal Engine C++ and Blueprints hybrid architecture, UObject memory management, Unreal Smart Pointers, Gameplay Ability System (GAS), Subsystems, Task Graph multithreading, and performance optimization.
unreal-live-coding
Trigger Live Coding compilation via UCP. Use when the user asks to recompile C++ code, trigger live coding, hot reload C++ changes, or check compilation status in Unreal Engine.
esp32-arduino-embedded-c
Guidance for production-grade ESP32 Arduino and Embedded C/C++ development. Use when building firmware for ESP32, ESP32-S3, or ESP32-C3 microcontrollers, optimizing FreeRTOS tasks, managing SRAM/PSRAM, writing ISR-safe code, or handling dual-core concurrency and hardware peripherals.
unity-csharp-architecture-and-ecs
Architectural patterns, Data-Oriented Technology Stack (DOTS), Unity ECS, Burst Compiler, C# Job System, memory management, zero-allocation C# patterns, and frame-budget optimization for high-performance Unity game development.
godot-gdscript-patterns
Enterprise architecture patterns for Godot Engine 4.x using GDScript and C#, Node tree composition, Custom Resources, Signal Bus patterns, Direct Server APIs (PhysicsServer, RenderingServer), memory management, and performance profiling.
dsp-audio-filter-effects
Apply digital signal processing (DSP) algorithms in Python and C++ for audio filtering (IIR, FIR, Butterworth, Chebyshev), spectral analysis via Fast Fourier Transform (FFT), dynamic range compression, and modulation effects. Trigger when developing audio DSP algorithms, sound effects, or analyzing audio signals.