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,971 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,971 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.01971
Opus 5.5 $0.00026 $0.00788
Sonnet 5.5 $0.00013 $0.00394
Haiku 4.5 $0.00006 $0.00197

Measured 1mo ago against content hash cf77233886f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 162 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, docs/SEMANTIC_RECONSTRUCTION.md, and docs/SEMANTIC_PLAYBOOK.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.

Treat ownership as four separate questions: storage owner, semantic owner, translation-unit/COMDAT emission owner, and production/probe/portable build owner. Evidence for one does not establish the others. Close the relevant producer, consumer, and state-transition set before changing any of them.

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.

Read the full file on GitHub · 162 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. 1mo ago Changed · +6 lines cf77233886f0
  2. 2mo ago Changed · +62 lines · +3 tokens per session d8ec983b4054
  3. 2mo 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 (55 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 1,971 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

th08-semantic compared with skills from other repositories

th08-semantic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
th08-semanticN0zoM1z0/th08Skill55yesterdayMITA65Codex
zoom-meeting-sdk-unrealanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A41Claude Code
unreal-cpp-gameplaygamedev-skills/awesome-gamedev-agent-skillsSkill6.9k10d agoApache-2.0A105Claude Code
idapythonmrexodia/ida-pro-mcpSkill13k1mo agoMITA77Claude Code
llvm-learninggmh5225/awesome-llvm-securitySkill8901mo agoMITA39Claude Code
mlir-developmentgmh5225/awesome-llvm-securitySkill8901mo agoMITA54Claude Code
compiler-developmentgmh5225/awesome-llvm-securitySkill8901mo agoMITA46Claude Code