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 XCode-NLP/KodaSkills --skill c-cpp-devgit clone --depth 1 https://github.com/XCode-NLP/KodaSkillsWrote 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/xcode-nlp/kodaskills/c-cpp-dev)<a href="https://agentmods.dev/skills/xcode-nlp/kodaskills/c-cpp-dev"><img src="https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/c-cpp-dev/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/xcode-nlp/kodaskills/c-cpp-dev"><img src="https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/c-cpp-dev.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.00093 | $0.01895 |
| Opus 5.5 | $0.00037 | $0.00758 |
| Sonnet 5.5 | $0.00019 | $0.00379 |
| Haiku 4.5 | $0.00009 | $0.00189 |
Grade A, and why
c-cpp-dev 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 5d 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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Разработка на C/C++
Базовый стандарт языка зависит от проекта: смотри CLAUDE.md проекта, систему сборки (флаги -std=) или конфигурацию компилятора. Все правила предполагают 32-битную ARM-цель, если не сказано иное.
Генерация кода
- Соблюдай стандарт языка, настроенный в проекте. Не предполагай значение по умолчанию.
- Когда заголовочный файл общий для единиц трансляции C и C++, никогда не определяй переменные в заголовке — даже со
static. Используйexternв заголовке и ровно одно определение в одном.c-файле. gotoдопустим, когда упрощает очистку ресурсов или снижает сложность, но это инструмент сопровождения, а не первый выбор.- Комментарии Doxygen размещай в заголовочных файлах. Файлы реализации держи сосредоточенными на поведении.
- Избегай встраиваемых функций в заголовках. Держи определения функций в файлах исходников, чтобы интерфейс оставался маленьким.
- В C лёгкие макросы и вспомогательные обёртки допустимы, если они простые, локальные и явно названы.
Раскладка памяти
- Следи за всплесками локальных переменных внутри функций. Большие автоматические массивы, структуры и множество временных значений — это расход бюджета стека.
- Проектируй структуры с учётом и семантики, и байтового выравнивания. Для разбора протоколов, байтовых потоков и сетевых форматов делай упаковку и порядок байтов явными.
- Используй
pragmaили атрибуты упаковки только когда они соответствуют требованию формата передачи и явно задокументированы. - Осторожно используй двойную точность и 64-битные целые на 32-битных целях. Операции над 64-битными объектами создают проблемы производительности, совместимости и атомарности, если ширина явно не требуется.
- Когда 64-битное значение пересекает границу задачи, прерывания или модуля, сделай шаблон доступа явным: копирование, разделение, защита или предотвращение разрыва.
Куча и владение указателями
- Считай объекты в куче и состояние, которым владеют указатели, ресурсами, чувствительными к времени жизни.
- Делай владение, точку освобождения и правила инвалидации явными.
- Не сохраняй заимствованные указатели дольше времени жизни, которое гарантирует их валидность.
- Для кода с кучей или множеством указателей документируй условия инвалидации, чтобы будущие изменения случайно не использовали устаревшие объекты.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · +1 lines 0c2f69f5bf5b
- 11d ago First seen · 122 lines · 93 tokens per session scan A 999106ba6d46
c-cpp-dev is a skill published in the GitHub repository XCode-NLP/KodaSkills (27 stars, last pushed 5d ago), licensed MIT. It adds 93 tokens to every session and 1,895 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-11-19.
c-cpp-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| c-cpp-devXCode-NLP/KodaSkills | Skill | 27 | 5d ago | MIT | A | 93 | Claude Code, Codex |
| arduino-code-generatorwedsamuel1230/arduino-skills | Skill | 24 | 3mo ago | MIT | A | 86 | Claude Code |
| library-selectionwedsamuel1230/arduino-skills | Skill | 24 | 3mo ago | MIT | A | 57 | Claude Code |
| zephyr-jsonksachdeva/zephyr-rtos-ai | Skill | 23 | 5mo ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| c-proagent-skills-hub/agent-skills-hub | Skill | 138 | 1mo ago | MIT | A | 47 | Claude Code, Codex |
| cardputer-buddyanthropics/claude-plugins-official | Skill | 49k | yesterday | Apache-2.0 | A | 109 | Claude Code |
| doca-argpNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 277 | Claude Code |