th08: Skill for Codex

.agents/skills/th08-semantic/SKILL.md

th08-semantic is a skill for Codex from N0zoM1z0/th08. It costs 65 tokens per session (1,902 once invoked), scanned A, original, MIT.

A workflow for replacing unexplained TH08 object offsets and unnamed fields with evidence-backed C++ types and names. TH08 refers to the same specific Japanese game version used by the related reconstruction work.

In plain words
What is it for?
Use it to clarify existing TH08 source code with real fields, aggregates, enums, bitfields, and member or index expressions. It is not intended for recovering new functions or target-linked libraries.
Why use it?
Raw offsets and anonymous fields make source code difficult to understand and can cause incorrect edits; the workflow ties semantic changes to observed program evidence while preserving accepted binary output.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; $skill-name invocation.

This is N0zoM1z0/th08's own configuration. It tells Codex how to work on th08 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything th08 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to N0zoM1z0/th08. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/N0zoM1z0/th08/main/.agents/skills/th08-semantic/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/N0zoM1z0/th08

Made for: 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 th08-semantic

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/n0zom1z0/th08/th08-semantic"><img src="https://agentmods.dev/badge/skills/n0zom1z0/th08/th08-semantic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,902 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.00065 $0.01902
Opus 5 $0.00032 $0.00951
Sonnet 5 $0.00013 $0.00380
Haiku 4.5 $0.00006 $0.00190

Measured 3d ago against content hash d8ec983b4054, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

th08-semantic 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 3d 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.

.agents/skills/th08-semantic/SKILL.md · 156 lines

How it starts

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

TH08 semantic reconstruction

Work only from the verified Japanese TH08 1.00d target and the current authored source. Read AGENTS.md, docs/ARCHITECTURE.md, docs/RE_WORKFLOW.md, docs/RE_HANDOFF.md, and docs/SEMANTIC_RECONSTRUCTION.md before editing.

Preflight

Run the target/tracking preflight and keep config/claims.csv header-only. Use scripts/analysis/report-semantic-debt.py as a candidate router, never as a completion metric. Select one structure and one coherent field family.

Confirm every touched function in config/mapping.csv, config/reccmp-functions.csv, and config/match-units.toml. Establish the current accepted-unit baseline for every affected object before changing a shared declaration.

Recover meaning

Record target facts, corroboration, inference, and unknowns separately. Inspect all reads and writes, widths, signedness, bit operations, callers, strings, and canonical object ownership. TH06/TH07 and upstream names are corroboration only when TH08 evidence agrees. IDA evidence remains blocked until the active database passes docs/IDA_MCP.md.

Prefer real fields, aggregates, enums, bitfields, and member/index expressions. Preserve opaque storage when only its extent is known. Add focused C_ASSERT checks for relied-on sizes and offsets, remembering that layout assertions do not prove names.

When one fixed storage range has several target-proven roles selected by a discriminator, a translation-unit-local typed union overlay may be safer than changing a widely included VC7 header. Anchor the single cast boundary to a real member with offsetof/sizeof assertions, keep generic initialization explicit, and use role-specific members everywhere else. This exception is for evidenced variant storage, not a way to assign meaning to unknown bytes.

Do not create a new global for a view inside an existing aggregate, change field width/signedness, hide uncertainty behind a union/accessor, or combine a typed cleanup with unrelated control-flow refactoring. Serialization, instruction decoding, and platform ABI glue may be correctly byte-oriented.

Read the full file on GitHub · 156 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. 3d ago Changed · +62 lines · +3 tokens per session d8ec983b4054
  2. 10d ago First seen · 94 lines · 62 tokens per session scan A fa31be82ebc4

Subscribe to this mod's changes

th08-semantic is a skill published in the GitHub repository N0zoM1z0/th08 (159 stars, last pushed 3d ago), licensed MIT. It adds 65 tokens to every session and 1,902 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

zoom-meeting-sdk-unreal

Zoom Meeting SDK for Unreal Engine wrapper integrations. Use when building Unreal projects that embed Zoom meetings with C++ and Blueprint wrappers, including wrapper-to-SDK mapping concerns.

anthropics/knowledge-work-plugins · 41 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

unreal-cpp-gameplay

Write Unreal Engine 5 C++ gameplay code: the UCLASS/UPROPERTY/UFUNCTION reflection macros, the Gameplay Framework (GameMode, Pawn, Character, PlayerController, Actor components), and the module Build.cs. Use when writing or debugging UE C++, deriving from AActor/ACharacter/ AGameModeBase, exposing properties to the…

gamedev-skills/awesome-gamedev-agent-skills · 105 tokens

llvm-learning

Comprehensive learning resources and tutorials for LLVM, Clang, and compiler development. Use this skill when helping users learn LLVM internals, find educational resources, or understand compiler concepts.

gmh5225/awesome-llvm-security · 39 tokens

mlir-development

Expertise in MLIR (Multi-Level Intermediate Representation) and CIR (Clang IR) development for domain-specific compilation and high-level optimizations. Use this skill when building ML compilers, domain-specific languages, or working with multi-level compilation pipelines.

gmh5225/awesome-llvm-security · 54 tokens

compiler-development

Expertise in compiler development using LLVM infrastructure including frontend design, IR generation, optimization passes, and code generation. Use this skill when building custom programming languages, implementing DSL compilers, or working on compiler internals.

gmh5225/awesome-llvm-security · 46 tokens