source-command-add-module

source-command-add-module is a skill for Claude Code, Codex from thecompez/ai-for-modern-cpp. It costs 23 tokens per session (310 once invoked), scanned A, original, no licence file.

A set of instructions for adding a modern C++ module, which is a self-contained part of a program. It covers the module's documented interface, CMake build registration, and tests.

In plain words
What is it for?
It helps add a C++ module, connect it to the CMake build system, document how it is used, and test it.
Why use it?
It reduces the risk of adding code that is hard to build, use, or verify. The documented boundary makes clear what other parts of the program can rely on.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps add a C++ module, connect it to the CMake build system, document how it is used, and test it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thecompez/ai-for-modern-cpp/source-command-add-module
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 thecompez/ai-for-modern-cpp --skill source-command-add-module
Clone the repo
git clone --depth 1 https://github.com/thecompez/ai-for-modern-cpp

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 source-command-add-module

README.md
[![agentmods](https://agentmods.dev/badge/skills/thecompez/ai-for-modern-cpp/source-command-add-module/github.svg)](https://agentmods.dev/skills/thecompez/ai-for-modern-cpp/source-command-add-module)
Your own site
<a href="https://agentmods.dev/skills/thecompez/ai-for-modern-cpp/source-command-add-module"><img src="https://agentmods.dev/badge/skills/thecompez/ai-for-modern-cpp/source-command-add-module/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 source-command-add-module

Your own site · 80×15
<a href="https://agentmods.dev/skills/thecompez/ai-for-modern-cpp/source-command-add-module"><img src="https://agentmods.dev/badge/skills/thecompez/ai-for-modern-cpp/source-command-add-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 310 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 unknown 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.00023 $0.00310
Opus 5.5 $0.00009 $0.00124
Sonnet 5.5 $0.00005 $0.00062
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

source-command-add-module 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 1mo 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.

.agents/skills/source-command-add-module/SKILL.md · 31 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 1mo ago Changed · +3 lines a1b974c81646
  2. 1mo ago First seen · 28 lines · 23 tokens per session scan A b8f17f529c3e

Subscribe to this mod's changes

source-command-add-module is a skill published in the GitHub repository thecompez/ai-for-modern-cpp (25 stars, last pushed 8d ago), with no licence file. It adds 23 tokens to every session and 310 once invoked, about $0.0001 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

Other skills, from other repositories

hashiiiii-zig

Use when writing, editing, or reviewing Zig implementation, tests, build files, or CI.

hashiiiii/rules-for-ai · 25 tokens

cpp

Design, implement, and review modern C++ APIs and native implementation code. Use when working on .cpp, .hpp, CMake, RAII ownership, std::variant, callbacks, async work, platform bridges, or C++-backed React Native Nitro Module implementations.

margelo/react-native-skills · 58 tokens

llama-cpp

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

graniet/kheish · 71 tokens

polyglot-rust-c

Guidance for creating polyglot source files that compile and run correctly as both Rust and C/C++ programs. This skill should be used when asked to create code that is valid in multiple programming languages simultaneously, particularly Rust and C/C++ polyglots.

lazyFrogLOL/Harness_Engineering · 59 tokens

compile-compcert

Guidance for building CompCert, a formally verified C compiler. This skill applies when tasks involve compiling CompCert from source, setting up Coq/OCaml environments with opam, or building software with strict proof assistant dependencies. Use for CompCert compilation, Coq-dependent project builds, or formal…

lazyFrogLOL/Harness_Engineering · 69 tokens

cpp-coding-standards

C++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, safe, and idiomatic practices.

gongyijie85/dsh-ecc · 48 tokens