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 sgm-audio/apc-mcp --skill plugin-cmake-hygienegit clone --depth 1 https://github.com/sgm-audio/apc-mcpWrote 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/sgm-audio/apc-mcp/plugin-cmake-hygiene)<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/plugin-cmake-hygiene"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/plugin-cmake-hygiene/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/sgm-audio/apc-mcp/plugin-cmake-hygiene"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/plugin-cmake-hygiene.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.00061 | $0.00493 |
| Opus 5.5 | $0.00024 | $0.00197 |
| Sonnet 5.5 | $0.00012 | $0.00099 |
| Haiku 4.5 | $0.00006 | $0.00049 |
Grade A, and why
plugin-cmake-hygiene 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 8d 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.
What it actually says
Plugin CMake Hygiene
When to use
- Creating or editing a CMakeLists.txt for a JUCE / CLAP / LV2 plugin.
- A configure or build fails after a dependency update.
- You need reproducible builds across machines or CI.
- Enabling universal macOS binaries or warnings-as-errors.
Required practices
- Pin every external dependency by exact commit or tagged release. Never use
GIT_TAG mainor unpinnedFetchContent. - Prefer project-local
_tools/or a user cache (~/.apc-mcp/deps/) over network FetchContent on every configure. - Set
CMAKE_CXX_STANDARD 20and enable warnings-as-errors (-Wall -Wextra -Werroror/W4 /WX). - For macOS universal builds use
CMAKE_OSX_ARCHITECTURES=arm64;x86_64or an explicit option. - Statically link the MSVC runtime on Windows Release (
/MT).
Example
FetchContent_Declare(JUCE
GIT_REPOSITORY https://github.com/juce-framework/JUCE.git
GIT_TAG be29c81492b6151c8ea8d14c840e1311963b3a83) # exact pin
Verification
rg -n "GIT_TAG (main|master)|FetchContent_Declare" CMakeLists.txt— no unpinned tags.cmake -S . -B build -DCMAKE_BUILD_TYPE=Releasesucceeds with no network errors when offline after cache is populated.cmake --build build --config Releaseexits 0 and produces zero compiler warnings.- On macOS,
file build/**/*.vst3/**/*.dylib(or equivalent) shows both arm64 and x86_64 when universal is requested. - Same commit on a second clean machine produces identical binary hashes for the non-timestamped artifacts.
What ships with it
3 files 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.
- 8d ago First seen · 34 lines · 61 tokens per session scan A dd1e5bd0594c
plugin-cmake-hygiene is a skill published in the GitHub repository sgm-audio/apc-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 61 tokens to every session and 493 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-11-21.
plugin-cmake-hygiene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plugin-cmake-hygienesgm-audio/apc-mcp | Skill | 1 | 4d ago | MIT | A | 61 | Claude Code, Codex |
| cppericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 81 | Claude Code, Codex |
| c-code-styleMaJerle/c-code-style | Skill | 1.4k | 1mo ago | MIT | A | 79 | Claude Code |
| readable-cppcrazyguitar/cppcheatsheet | Skill | 297 | 6d ago | MIT | A | 63 | Claude Code |
| cppcrazyguitar/cppcheatsheet | Skill | 297 | 6d ago | MIT | A | 0 | Claude Code |
| cpp-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 70 | Claude Code |
| clapbobmatnyc/claude-mpm-skills | Skill | 79 | 4mo ago | MIT | A | 31 | Claude Code |