Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/gertsylvest/meta-teamnpx agentmods add skills/gertsylvest/meta-team/cbindgen-verifyWrote 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/gertsylvest/meta-team/cbindgen-verify)<a href="https://agentmods.dev/skills/gertsylvest/meta-team/cbindgen-verify"><img src="https://agentmods.dev/badge/skills/gertsylvest/meta-team/cbindgen-verify/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/gertsylvest/meta-team/cbindgen-verify"><img src="https://agentmods.dev/badge/skills/gertsylvest/meta-team/cbindgen-verify.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.00055 | $0.00696 |
| Opus 5.5 | $0.00022 | $0.00278 |
| Sonnet 5.5 | $0.00011 | $0.00139 |
| Haiku 4.5 | $0.00006 | $0.00070 |
Grade A, and why
cbindgen-verify 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cbindgen Verify
When a Rust crate exposes a C ABI for use by a C/C++ host (the audio driver, a JUCE plugin shell, an Emscripten-built worklet host), the C header is generated from the Rust source by cbindgen and committed to the repo so C consumers do not need Cargo installed.
This skill regenerates the header from the current Rust source and diffs it against the committed file. Any drift means the Rust ABI has been changed without updating the header — a class of bug that otherwise surfaces only when the C side fails to link or, worse, links against a stale header and produces UB at runtime.
Requirements
- cbindgen — install via
cargo install --force cbindgen. - A
cbindgen.tomlconfig file in the crate directory (cbindgen's standard convention). - The committed C header to compare against.
Instructions
The arguments are in $ARGUMENTS. Pass them directly to the verify script:
bash .claude/skills/cbindgen-verify/verify.sh $ARGUMENTS
Argument 1 is the crate directory (containing Cargo.toml and cbindgen.toml). Argument 2 is the path to the committed header.
Output sections
| Section | What it reports |
|---|---|
CBINDGEN |
Whether cbindgen ran successfully |
DIFF |
Unified diff between regenerated and committed headers, or PASS if identical |
Typical usage
# Verify a single crate's header
bash verify.sh ./rust/audio-dsp ./include/audio_dsp.h
# As a pre-commit hook
bash verify.sh ./rust/audio-dsp ./include/audio_dsp.h || {
echo "C header out of date — regenerate with: cbindgen --config rust/audio-dsp/cbindgen.toml --crate audio-dsp --output include/audio_dsp.h rust/audio-dsp"
exit 1
}
What to look for
- DIFF showing added/removed functions — the Rust public ABI changed; either the change is intentional (regenerate and commit the new header, notify the c-audio-engineer) or accidental (revert the Rust change).
- DIFF showing changed signatures — a parameter type, return type, or struct field changed. This is a breaking change for the C side regardless of whether the new layout is binary-compatible. Coordinate with the c-audio-engineer before regenerating.
- DIFF showing only comment or whitespace changes — usually a cbindgen version mismatch between the developer who committed the header and the CI environment. Pin cbindgen's version in the project (e.g.
cargo install --version X.Y.Z cbindgen) to eliminate the drift.
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.
- 1mo ago Changed 6db9c61baac9
- 3mo ago First seen · 59 lines · 55 tokens per session scan A 8a4ded15fd34
cbindgen-verify is a skill published in the GitHub repository gertsylvest/meta-team (5 stars, last pushed 17d ago), licensed MIT. It adds 55 tokens to every session and 696 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.
cbindgen-verify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cbindgen-verifygertsylvest/meta-team | Skill | 5 | 17d ago | MIT | A | 55 | Claude Code |
| memory-safety-patternsrmyndharis/antigravity-skills | Skill | 2.2k | yesterday | MIT | A | 45 | Claude Code, Codex |
| memory-modelmohitmishra786/low-level-dev-skills | Skill | 310 | 13d ago | MIT | A | 113 | Claude Code, Codex |
| pixiv-cli-nativeFlanChanXwO/pixiv-cli | Skill | 142 | 11d ago | MIT | A | 49 | Codex |
| ags-amice1llu50ry/mcp-gamehacking | Skill | 392 | 1mo ago | MIT | A | 49 | Claude Code, Codex |
| port-from-crewrite-rs/skills | Skill | 35 | 12d ago | BSD-3-Clause | A | 127 | Claude Code, Codex |
| port-from-cpprewrite-rs/skills | Skill | 35 | 12d ago | BSD-3-Clause | A | 119 | Claude Code, Codex |