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 AmethystLuna/embedded-workbench --skill c-cpp-devgit clone --depth 1 https://github.com/AmethystLuna/embedded-workbenchWrote 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/amethystluna/embedded-workbench/c-cpp-dev)<a href="https://agentmods.dev/skills/amethystluna/embedded-workbench/c-cpp-dev"><img src="https://agentmods.dev/badge/skills/amethystluna/embedded-workbench/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/amethystluna/embedded-workbench/c-cpp-dev"><img src="https://agentmods.dev/badge/skills/amethystluna/embedded-workbench/c-cpp-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00061 | $0.01740 |
| Opus 5.5 | $0.00024 | $0.00696 |
| Sonnet 5.5 | $0.00012 | $0.00348 |
| Haiku 4.5 | $0.00006 | $0.00174 |
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 11d 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 — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C/C++ Development
Language baseline is project-specific: respect the project's configured language standard, and don't assume a default. Check CLAUDE.md, build-system -std= flags, or compiler configuration. All rules assume 32-bit ARM target unless otherwise noted.
Sections run top-down: structure, then the contract, then implementation, then the target's specifics, then change. Settle the higher level before writing the lower one.
Structure
Structure decides where code lives and what a module may see. Everything below is detail inside those boundaries.
- The directory tree is the architecture — one directory is one module or one layer, and its files carry that responsibility. A reader should read the layers, and the allowed dependency direction, from the tree alone. If the layout needs a diagram to explain where a file belongs, move the files until it does not.
- A module holds only its own direct members — it does not hold another layer's members, and it does not reach through them.
a.bis a direct member and fine.a.b.cacross a module boundary means the boundary leaked: ask the owner to act, or to return the value. - Design to the interface, encapsulate behind an object — callers depend on a declared contract, not the representation behind it. In C, that is an opaque struct plus the functions that take it. In C++, an abstract class with no public data. A caller that breaks when a field is renamed was never behind an interface.
Declarations and Interfaces
A header is a module's contract. Keep it small, complete, and free of representation.
- When a header is shared between C and C++ translation units, never define variables in the header — not even with
static. Useexternin the header and exactly one definition in a single.cfile. - Place Doxygen comments in header files. Keep implementation files focused on behavior.
- Avoid inline functions in header files. Keep function definitions in source files so the interface stays small.
- In C, lightweight macros or helper wrappers are acceptable if simple, local, and clearly named.
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.
- 11d ago Changed · +18 lines f98795b8abea
- 3mo ago First seen · 122 lines · 61 tokens per session scan A 9f29e36d8c3d
c-cpp-dev is a skill published in the GitHub repository AmethystLuna/embedded-workbench (36 stars, last pushed 3d ago), licensed MIT. It adds 61 tokens to every session and 1,740 once invoked, about $0.0002 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-31.
c-cpp-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| c-cpp-devAmethystLuna/embedded-workbench | Skill | 36 | 3d ago | MIT | A | 61 | Claude Code |
| zoom-meeting-sdk-unrealanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 41 | Claude Code |
| cudnn-installNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| ccclNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 206 | Claude Code, Codex |
| doca-argpNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 277 | Claude Code |
| cpu-kernelshuggingface/kernels | Skill | 796 | today | Apache-2.0 | A | 89 | Claude Code |
| cpp-prormyndharis/antigravity-skills | Skill | 2.2k | 23d ago | MIT | A | 49 | Claude Code, Codex |