Borrowing it
Nothing to install: this file belongs to tanepiper/unbanished. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tanepiper/unbanished/main/.agents/skills/banished-emulate/SKILL.mdgit clone --depth 1 https://github.com/tanepiper/unbanishedWrote 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.
[](https://agentmods.dev/skills/tanepiper/unbanished/banished-emulate)<a href="https://agentmods.dev/skills/tanepiper/unbanished/banished-emulate"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-emulate/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.
<a href="https://agentmods.dev/skills/tanepiper/unbanished/banished-emulate"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-emulate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.00970 |
| Opus 5.5 | $0.00034 | $0.00388 |
| Sonnet 5.5 | $0.00017 | $0.00194 |
| Haiku 4.5 | $0.00009 | $0.00097 |
Grade A, and why
banished-emulate 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Emulate for ground truth, port until bit-exact
This is the method that produced the verified Random, Perlin, terrain generator, surface image, tile mesh, ground ray cast, cell types and start point. Use it whenever "close enough" isn't.
Setup
python3 -m venv .venv && .venv/bin/pip install unicorn pefile # once
pe_emu.Emu(exe, dll) loads Application-steam-x64.exe and Runtime-steam-x64.dll at their
preferred bases, links exe imports to DLL exports, stubs OS imports and replaces the engine
allocator. API: malloc(size), write(addr, bytes), read(addr, n), u32/i32/u64/f32s,
call(addr, *args) (Windows x64 ABI, returns rax), call_f32 (returns xmm0),
hook_function(addr, name, handler) to stub a callee.
Steps
- Trace first (
banished-trace): know the function's inputs —thislayout, globals it reads (DAT_…pointers such as the game singleton at0x1401cbdd8), and callees that touch the OS, threads, files, rendering or audio (those must be hooked/stubbed). - Write a generator
tools/emu/<topic>.pymodelled onterrain_query.py/start_point.py:- module docstring with
Usage:and what files it writes; - build the minimal object graph in emulator memory (
malloc+struct.packat traced offsets); - call the function across many inputs (all cells, a seeded grid of random positions, every seed in a small range) — cover edge cases (map borders, zero, negatives);
- write raw little-endian outputs to
game-data/derived/emu/<topic>/(git-ignored). Never write ground truth into tracked paths.
.venv/bin/python tools/emu/<topic>.py game-data/derived/emu/<topic> - module docstring with
- Port into
crates/game(pure logic, no wgpu/winit). Mirror the original's arithmetic precisely: f32 vs f64, truncation vs rounding (cvttss2si→as i32), operation order (float addition is not associative), integer wrap (wrapping_*), signed shifts. Read the disassembly for these — Ghidra pseudocode often hides them. - Parity test in
crates/game/tests/(seeterrain_emu.rs): load the ground-truth files, skip with a message ifgame-data/is missing (CI and other machines have no game files), compare exactly (assert_eq!on bits,f32::to_bits), and on failure report the first mismatching index plus a count.cargo test --release -p unbanished-game --test <name> - If not exact, bisect: emulate intermediate callees separately (
terrain_stages.pydumps each generator stage) and compare stage by stage.
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.
- 3d ago First seen · 61 lines · 86 tokens per session scan A 8803d685cee2
banished-emulate is a skill published in the GitHub repository tanepiper/unbanished (23 stars, last pushed 22d ago), licensed Apache-2.0. It adds 86 tokens to every session and 970 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-11-15.
banished-emulate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| banished-emulatetanepiper/unbanished | Skill | 23 | 22d ago | Apache-2.0 | A | 86 | Claude Code, Codex |
| soundclawiamlukethedev/Claw3D | Skill | 2.5k | 14d ago | MIT | A | 18 | Claude Code, Codex |
| task-manageriamlukethedev/Claw3D | Skill | 2.5k | 14d ago | MIT | A | 56 | Claude Code, Codex |
| todoiamlukethedev/Claw3D | Skill | 2.5k | 14d ago | MIT | A | 12 | Claude Code, Codex |
| gdunit-drivervalkor-ai/loom | Skill | 1.5k | 8d ago | Apache-2.0 | A | 84 | Claude Code |
| gamedev-shippingericrisco/rsc-harness | Skill | 636 | today | MIT | A | 99 | Claude Code, Codex |
| self-evolvetettethu/VibeGame | Skill | 388 | 10d ago | Apache-2.0 | A | 50 | Claude Code, Codex |