fix-cppheaders

fix-cppheaders is a skill for Claude Code, Codex from HLND2T/CS2_VibeSignatures. It costs 89 tokens per session (871 once invoked), scanned A, original, MIT.

A workflow for repairing C++ headers when their class layout or virtual-function table differs from reference YAML data. It uses compiler tests to identify the headers and checks the result afterward.

In plain words
What is it for?
Use it to update allowed headers under hl2sdk_cs2 so declarations match verified binary layout information.
Why use it?
It helps resolve mismatches without hiding differences by changing reference data, generated files, or tests.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

Good fit Use it to update allowed headers under hl2sdk_cs2 so declarations match verified binary layout information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hlnd2t/cs2_vibesignatures/fix-cppheaders
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 fix-cppheaders
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 fix-cppheaders

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hlnd2t/cs2_vibesignatures/fix-cppheaders"><img src="https://agentmods.dev/badge/skills/hlnd2t/cs2_vibesignatures/fix-cppheaders.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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.00089 $0.00871
Opus 5.5 $0.00036 $0.00348
Sonnet 5.5 $0.00018 $0.00174
Haiku 4.5 $0.00009 $0.00087

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

Security

Grade A, and why

fix-cppheaders 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/fix-cppheaders/SKILL.md · 68 lines

How it starts

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

Fix C++ Headers

Overview

Repair s2sdk declarations from compiler-versus-YAML layout differences. Treat run_cpp_tests.py as the source of truth for both the initial diff and final verification.

Resolve GAMEVER from the user's explicit request or CS2VIBE_GAMEVER; use only configs/$GAMEVER.yaml for test definitions and fail if it is missing.

Constraints

  • Edit only header paths listed in the failing configs/<GAMEVER>.yaml cpp_tests entry.
  • Require every edited header to be under s2sdk/.
  • Preserve existing names and style when the reference exposes only a slot or offset.
  • Keep compiler declarations for gaps in incomplete reference YAMLs unless surrounding index shifts prove removal.
  • Name unknown virtual slots consistently with nearby declarations, such as unk_001; when only a known function name is available, use virtual void FunctionName() = 0; until a reliable prototype is known.
  • Interpret Class_dtor and Class_vdtor reference entries as virtual destructors for Class.
  • Do not edit reference YAMLs, tracked bin_artifacts, cpp test sources, or comparison code to hide a difference.
  • Do not invoke an external agent runner. This SKILL owns the repair loop directly.
  • Stop and report a blocker when the diff is ambiguous, the configured header is missing, or a required edit is outside s2sdk/.

Workflow

  1. Determine the game version from the user's request. If omitted, read CS2VIBE_GAMEVER from .env.

  2. Resolve a release-local immutable symbol candidate. Use a caller-provided actual candidate when available; otherwise build one from tracked bin_artifacts/<gamever>/ with gamesymbol_candidate.py build and explicit temporary output/ session paths. Never use a tracked gamesymbols/ fallback or read per-symbol truth from bin/.

  3. Run the complete comparison with debug details:

    uv run run_cpp_tests.py -gamever <gamever> -configyaml configs/<gamever>.yaml -snapshot <snapshot> -debug
    

Read the full file on GitHub · 68 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 3159098d7fbe
  2. 1mo ago Changed · -1 lines 81d789823473
  3. 2mo ago Changed · +1 lines 84fc01690c8f
  4. 2mo ago First seen · 68 lines · 91 tokens per session scan A c2aaa128ed16

Subscribe to this mod's changes

fix-cppheaders is a skill published in the GitHub repository HLND2T/CS2_VibeSignatures (67 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 871 once invoked, about $0.0004 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

fix-cppheaders compared with skills from other repositories

fix-cppheaders next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-cppheadersHLND2T/CS2_VibeSignaturesSkill67todayMITA89Claude Code, Codex
cpp-proJeffallan/claude-skillsSkill12k7d agoMITA79Claude Code
memory-safety-patternsrmyndharis/antigravity-skillsSkill1.9k23d agoMITA45Claude Code, Codex
cuda-c-optimizationmindspore-ai/akgSkill2652d agoApache-2.0A20Claude Code, Codex
re-cpp-abidslsdzc/rev-skillsSkill22826d agoApache-2.0A69Claude Code
cppcrazyguitar/cppcheatsheetSkill2939d agoMITA0Claude Code
memory-safety-patternsRudyCity/superagentSkill64todayMITA45Claude Code, Codex