graphics-api-hooking

graphics-api-hooking is a skill for Claude Code from gmh5225/awesome-game-security. It costs 43 tokens per session (221 once invoked), scanned A, original, MIT.

A technical guide to intercepting graphics calls and drawing overlays in DirectX, OpenGL, and Vulkan. It also covers examining how a game's rendering pipeline produces frames.

In plain words
What is it for?
Use it when working with functions such as Present, SwapBuffers, draw calls, swap chains, shaders, overlays, screenshots, or graphics debugging in game-security research.
Why use it?
Graphics interception varies by API, driver, application, and capture tool, so the guide helps identify suitable hook points and avoid false conclusions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when working with functions such as Present, SwapBuffers, draw calls, swap chains, shaders, overlays, screenshots, or graphics debugging in game-security research.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gmh5225/awesome-game-security/graphics-api
About the project

awesome-game-security is a curated collection focused on security research for games and game software, including cheating, anti-cheat systems, debugging, and anti-debugging. It is intended for security researchers and developers studying or building game-protection tools. The catalogue entries provide skills for AI coding agents related to the repository’s security workflows.

gmh5225/awesome-game-security · 3,810 stars · on GitHub · gs.awesome.rip

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 gmh5225/awesome-game-security --skill graphics-api
Clone the repo
git clone --depth 1 https://github.com/gmh5225/awesome-game-security

Made for: Claude Code.

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 graphics-api-hooking

README.md
[![agentmods](https://agentmods.dev/badge/skills/gmh5225/awesome-game-security/graphics-api/github.svg)](https://agentmods.dev/skills/gmh5225/awesome-game-security/graphics-api)
Your own site
<a href="https://agentmods.dev/skills/gmh5225/awesome-game-security/graphics-api"><img src="https://agentmods.dev/badge/skills/gmh5225/awesome-game-security/graphics-api/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 graphics-api-hooking

Your own site · 80×15
<a href="https://agentmods.dev/skills/gmh5225/awesome-game-security/graphics-api"><img src="https://agentmods.dev/badge/skills/gmh5225/awesome-game-security/graphics-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 221 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 419
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00043 $0.00221
Opus 5.5 $0.00017 $0.00088
Sonnet 5.5 $0.00009 $0.00044
Haiku 4.5 $0.00004 $0.00022

Measured 2mo ago against content hash 17f54ccd2c23, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graphics-api-hooking 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 2mo 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/graphics-api/SKILL.md · 17 lines

What it actually says

Graphics API hooking and rendering

Record the API, backend, driver, compositor, capture path, synchronization model, and tool version before interpreting rendering evidence.

Topic routing

Use game-hacking-techniques for the broader attacker model and game-engine-resources for engine-owned rendering structures. Separate observed capture behavior from assumed anti-cheat enforcement.

Files

What ships with it

4 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. 2mo ago Changed · -539 lines · -47 tokens per session 17f54ccd2c23
  2. 2mo ago Changed · +55 lines · +26 tokens per session 04eb02170c2b
  3. 3mo ago First seen · 501 lines · 64 tokens per session scan A ca6521798b0c

Subscribe to this mod's changes

graphics-api-hooking is a skill published in the GitHub repository gmh5225/awesome-game-security (3,810 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 221 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-30.

Related

graphics-api-hooking compared with skills from other repositories

graphics-api-hooking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graphics-api-hookinggmh5225/awesome-game-securitySkill3.8ktodayMITA43Claude Code
diagnosing-bgs-problemshashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A72Claude Code, Codex
xedit-conflict-audithashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A51Claude Code, Codex
adv-debugYunYouJun/advjsSkill332todayMPL-2.0A51Codex
wave8-ecb-system-group-mismatchdyCuong03/unity-agent-teamSkill94mo agoMITA37Claude Code
wave8-enableable-component-query-mismatchdyCuong03/unity-agent-teamSkill94mo agoMITA45Claude Code
wave8-handle-complete-sync-point-antipatterndyCuong03/unity-agent-teamSkill94mo agoMITA43Claude Code