plugin-cmake-hygiene

plugin-cmake-hygiene is a skill for Claude Code, Codex from sgm-audio/apc-mcp. It costs 61 tokens per session (493 once invoked), scanned A, original, MIT.

Build rules and checks for CMake projects that create JUCE, CLAP, or LV2 audio plugins. CMake is a tool that generates build files for compiling software.

In plain words
What is it for?
Use them when editing `CMakeLists.txt`, pinning dependencies, configuring universal macOS builds, or investigating configure and build failures in generated audio-plugin projects.
Why use it?
They help avoid builds that depend on changing downloads or behave differently across machines and continuous-integration systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when editing CMakeLists.txt, pinning dependencies, configuring universal macOS builds, or investigating configure and build failures in generated audio-plugin projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sgm-audio/apc-mcp/plugin-cmake-hygiene
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 sgm-audio/apc-mcp --skill plugin-cmake-hygiene
Clone the repo
git clone --depth 1 https://github.com/sgm-audio/apc-mcp

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 plugin-cmake-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/plugin-cmake-hygiene/github.svg)](https://agentmods.dev/skills/sgm-audio/apc-mcp/plugin-cmake-hygiene)
Your own site
<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.

agentmods 80×15 button for plugin-cmake-hygiene

Your own site · 80×15
<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>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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 original 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.00061 $0.00493
Opus 5.5 $0.00024 $0.00197
Sonnet 5.5 $0.00012 $0.00099
Haiku 4.5 $0.00006 $0.00049

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

Security

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.

skills/plugin-cmake-hygiene/SKILL.md · 34 lines

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

  1. Pin every external dependency by exact commit or tagged release. Never use GIT_TAG main or unpinned FetchContent.
  2. Prefer project-local _tools/ or a user cache (~/.apc-mcp/deps/) over network FetchContent on every configure.
  3. Set CMAKE_CXX_STANDARD 20 and enable warnings-as-errors (-Wall -Wextra -Werror or /W4 /WX).
  4. For macOS universal builds use CMAKE_OSX_ARCHITECTURES=arm64;x86_64 or an explicit option.
  5. 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

  1. rg -n "GIT_TAG (main|master)|FetchContent_Declare" CMakeLists.txt — no unpinned tags.
  2. cmake -S . -B build -DCMAKE_BUILD_TYPE=Release succeeds with no network errors when offline after cache is populated.
  3. cmake --build build --config Release exits 0 and produces zero compiler warnings.
  4. On macOS, file build/**/*.vst3/**/*.dylib (or equivalent) shows both arm64 and x86_64 when universal is requested.
  5. Same commit on a second clean machine produces identical binary hashes for the non-timestamped artifacts.
Files

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.

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. 8d ago First seen · 34 lines · 61 tokens per session scan A dd1e5bd0594c

Subscribe to this mod's changes

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.

Related

plugin-cmake-hygiene compared with skills from other repositories

plugin-cmake-hygiene next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plugin-cmake-hygienesgm-audio/apc-mcpSkill14d agoMITA61Claude Code, Codex
cppericrisco/rsc-harnessSkill6825d agoMITA81Claude Code, Codex
c-code-styleMaJerle/c-code-styleSkill1.4k1mo agoMITA79Claude Code
readable-cppcrazyguitar/cppcheatsheetSkill2976d agoMITA63Claude Code
cppcrazyguitar/cppcheatsheetSkill2976d agoMITA0Claude Code
cpp-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A70Claude Code
clapbobmatnyc/claude-mpm-skillsSkill794mo agoMITA31Claude Code