Agent skill

Override Game Class

by xD3I in xD3I/PZ_Optimization

Add a new overridden game class or change an existing one in src/overrides, keeping game source out of git and documenting the edit in prose.

No licenceAuto-check passedDevelopment

Install Override Game Class

skills CLI
$ npx skills add xD3I/PZ_Optimization --skill override-game-class -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xD3I/PZ_Optimization override-game-class --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xD3I/PZ_Optimization.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/override-game-class .claude/skills/override-game-class && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
override-game-class
GitHub stars
114
Token cost
~382 tokens
SKILL.md length
174 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

Add a new overridden game class or change an existing one in src/overrides, keeping game source out of git and documenting the edit in prose.

  • Works in 6 steps: Read the stock class from… → If the class is not yet in OVERRIDES in… → Make the edit. Prefer delegating logic… → …
  • An optimization needs a change inside a zombie
  • Calls git

What it does

Override Game Class is an agent skill from xD3I/PZ_Optimization. Add a new overridden game class or change an existing one in src/overrides, keeping game source out of git and documenting the edit in prose. Use when an optimization needs a change inside a zombie. or org.lwjglx. class.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Git. The repository describes itself as: Project Zomboid Build 42 performance work: class overrides, harness, findings.

When your agent uses it

  • An optimization needs a change inside a zombie

Example prompts

  • “/override-game-class”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Read the stock class from decompiled/.java (CFR) or codegraph_explore.
  2. If the class is not yet in OVERRIDES in scripts/build.sh, add it there, then run
  3. Make the edit. Prefer delegating logic into a new class under src/pzopt/pzopt/ (committed)
  4. Describe the edit in words in docs/override-edits.md (class, method, what changed, why,
  5. scripts/build.sh && scripts/test.sh, then the build-install skill, then a run via
  6. Confirm git status shows nothing under decompiled/ or src/overrides/.

What it can do on your machine

Read from SKILL.md and the folder at commit 5a0a992. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Override Game Class loads about 382 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 174 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~382

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 174 words (~382 tokens).

“scripts/regen-overrides.sh and copy the Vineflower output from build/vineflower/ into src/overrides/.java. Vineflower output recompiles with at most one fix.”

— opening of SKILL.md by xD3I
name
override-game-class

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/override-game-class of xD3I/PZ_Optimization.

Open the folder on GitHubat commit 5a0a992

Compare with similar skills

Override Game Class next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Override Game Class compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Override Game Class this skillxD3I/PZ_Optimization114—~382Automated safety check: PassNone
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Finishing A Development Branchfarm-fe/farm5.6k35 repos~1.8kAutomated safety check: PassMIT
Migrate Internal Package into GhostTryGhost/Ghost56k—~3.8kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 35 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed

More from xD3I/PZ_Optimization

All 12 skills in this repo
  • Bench Run

    xD3I/PZ_Optimization

    Launch a hands-off Project Zomboid measurement run (bench, drive, parity, verify) with harness/run.sh, respecting the shared-machine and run-etiquette rules.

    116 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Jev Walk

    xD3I/PZ_Optimization

    Walk the player through a building with Jev directing (explore=mirror director=jev) on the collision-free game walk (pzopt.Nav), set up test rooms (mirrors in the corners, placed tiles), capture the…

    116 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Release Windows

    xD3I/PZ_Optimization

    Build the release zip of the class overrides (same zip for Windows and Linux) and publish it with the install.sh / install.ps1 installers as GitHub release assets.

    116 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Run Queue

    xD3I/PZ_Optimization

    Schedule any game run (bench, drive, preset, verify, multiplayer, Workshop upload, showcase recording) or media encode / stitch through harness/queue.sh on the desktop or one of the laptops (flip…

    116 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Workshop Comparison

    xD3I/PZ_Optimization

    Make the Workshop page's stock-vs-enhanced comparison animations (the 630x630 AVIFs of the Features section, the headline's template) from laptop or desktop runs - capture and numbers runs, the…

    116 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Analyze Run

    xD3I/PZ_Optimization

    Read and compare finished harness runs - frame-time tails, utilization, chunk latency, JFR waits, load phases - and look them up in Grafana.

    116 GitHub stars~536 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Override Game Class

What does Override Game Class do?

Add a new overridden game class or change an existing one in src/overrides, keeping game source out of git and documenting the edit in prose. Override Game Class is an agent skill from xD3I/PZ_Optimization. Add a new overridden game class or change an existing one in src/overrides, keeping game source out of git and documenting the edit in prose.

When should I use Override Game Class?

Override Game Class fits situations like: an optimization needs a change inside a zombie.

How do I install Override Game Class in Claude Code?

Run `npx skills add xD3I/PZ_Optimization --skill override-game-class -a claude-code`. Or copy the skill folder (.claude/skills/override-game-class in xD3I/PZ_Optimization) into .claude/skills/override-game-class in your project. Claude Code loads it when a task matches its description.

How do I install Override Game Class in Codex?

Run `npx skills add xD3I/PZ_Optimization --skill override-game-class -a codex`. Or copy the skill folder (.claude/skills/override-game-class in xD3I/PZ_Optimization) into .agents/skills/override-game-class in your project. Codex loads it when a task matches its description.

Can I use Override Game Class in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xD3I/PZ_Optimization --skill override-game-class -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/override-game-class, .gemini/skills/override-game-class, .github/skills/override-game-class and .opencode/skills/override-game-class in your project.

What does Override Game Class need to run?

Going by SKILL.md and its folder, Override Game Class needs the command-line tools its instructions call (git).

Does Override Game Class access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Override Game Class safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Override Game Class use?

No licence was found for Override Game Class or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Override Game Class use?

About 382 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Override Game Class?

Skills that share tags, products or a category with Override Game Class: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Finishing A Development Branch (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Override Game Class?

xD3I (a GitHub user) maintains it in xD3I/PZ_Optimization, which has 114 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 10, 2026.

Source: xD3I/PZ_Optimization on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.