create-cpp-tests

create-cpp-tests is a skill for Claude Code, Codex from HLND2T/CS2_VibeSignatures. It costs 72 tokens per session (1,852 once invoked), scanned A, original, MIT.

A procedure for creating a C++ test that checks whether an interface's virtual-function table, or vtable, matches layouts recorded from compiled binaries. It also adds the matching game-version configuration.

In plain words
What is it for?
Use it when adding vtable validation for a new C++ interface by comparing compiled header layouts with reference YAML files.
Why use it?
It catches changes or mismatches in the order of virtual functions, which can make code call the wrong binary function.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it when adding vtable validation for a new C++ interface by comparing compiled header layouts with reference YAML files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hlnd2t/cs2_vibesignatures/create-cpp-tests
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 HLND2T/CS2_VibeSignatures --skill create-cpp-tests
Clone the repo
git clone --depth 1 https://github.com/HLND2T/CS2_VibeSignatures

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 create-cpp-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests/github.svg)](https://agentmods.dev/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests)
Your own site
<a href="https://agentmods.dev/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests"><img src="https://agentmods.dev/badge/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests/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 create-cpp-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests"><img src="https://agentmods.dev/badge/skills/hlnd2t/cs2_vibesignatures/create-cpp-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,852 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.01852
Opus 5.5 $0.00029 $0.00741
Sonnet 5.5 $0.00014 $0.00370
Haiku 4.5 $0.00007 $0.00185

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

Security

Grade A, and why

create-cpp-tests 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 15d 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.

.claude/skills/create-cpp-tests/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create cpp_tests for Interface Vtable Validation

Create a cpp_tests/<interface_lowercase>.cpp test file and append a matching configs/<GAMEVER>.yaml entry so that run_cpp_tests.py can compile the header with clang, dump the vtable layout, and compare it against reference YAML files from the binary analysis.

Resolve GAMEVER from the user's explicit request or CS2VIBE_GAMEVER, set the edit target to configs/$GAMEVER.yaml, and stop if that exact file does not exist.

When to Use

  • User asks to create cpp_tests for an interface (e.g., "create cpp_tests for ILoopMode")
  • User provides or references a header file from s2sdk/

Inputs

The user will provide some or all of:

Field Required Description Example
Interface name Yes The abstract class to validate ILoopMode
Header path Yes Path to the header in s2sdk s2sdk/public/iloopmode.h
Alias symbols No Concrete class name(s) used in binary YAML files CLoopModeGame
Reference modules No Modules where vtable YAMLs live client, server

Step-by-Step Procedure

Step 1: Read the target header

Read the header file to understand:

  • What #include directives it uses
  • What types are referenced in virtual method signatures
  • Whether it inherits from another interface (e.g., IAppSystem)

Step 2: Identify compilation dependencies

Check if the header's transitive includes will compile cleanly with the standard include set:

  • s2sdk/game/shared
  • s2sdk/public
  • s2sdk/public/tier0
  • s2sdk/public/tier1

Common issues to watch for:

  • Missing types referenced in method signatures (e.g., CSplitScreenSlot needs <tier1/convar.h>)
  • Heavy transitive includes that pull in protobuf or other unavailable deps (e.g., eiface.h -> protobuf chain)

For heavy transitive includes, pre-define include guards to block them and forward-declare/stub the minimum needed types. See the inetworkmessages.cpp and inetworksystem.cpp examples for this technique:

Read the full file on GitHub · 191 lines

Files

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.

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. 15d ago Changed · -2 tokens per session b7953e7b0942
  2. 2mo ago Changed f5a47f407399
  3. 2mo ago First seen · 191 lines · 74 tokens per session scan A 02f80300f89e

Subscribe to this mod's changes

create-cpp-tests is a skill published in the GitHub repository HLND2T/CS2_VibeSignatures (67 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 1,852 once invoked, about $0.0003 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-30.

Related

create-cpp-tests compared with skills from other repositories

create-cpp-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-cpp-testsHLND2T/CS2_VibeSignaturesSkill67todayMITA72Claude Code, Codex
blink-gc-pluginchromium/chromiumSkill25kyesterdayBSD-3-ClauseC79Claude Code, Codex
loom-ccosmix/loomSkill655d agoMITA25Claude Code, Codex
hashiiiii-zighashiiiii/rules-for-aiSkill1018d agoMITA25Claude Code
cpp-developmentjxoesneon/CielSkill17d agoApache-2.0A24Claude Code, Codex
cpp-project-setupVictory-7291/project-scaffold-setup-skillsSkill83mo agoMITA78Codex
cpp-testingAeonDave/malskillSkill33yesterdaynoneA51Claude Code, Codex