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-port/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-port)<a href="https://agentmods.dev/skills/tanepiper/unbanished/banished-port"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-port/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-port"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-port.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.00080 | $0.01072 |
| Opus 5.5 | $0.00032 | $0.00429 |
| Sonnet 5.5 | $0.00016 | $0.00214 |
| Haiku 4.5 | $0.00008 | $0.00107 |
Grade A, and why
banished-port 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Port to Rust, 1:1
Precondition: the behaviour is traced (banished-trace) and any resource it reads parses
(banished-format). If you find yourself inventing behaviour, stop and trace it.
Where code goes
| Kind | Location | Constraints |
|---|---|---|
| Deterministic game logic, simulation, generators, queries | crates/game |
No wgpu/winit/audio; bit-exact where emulated; unit/parity tests |
| Resource parsing | crates/formats |
Dependency-free |
| UI element tree, controls, layout, input, events | crates/ui |
Generic engine UI — no Banished-specific game rules |
| Engine loops, game controllers, dialog controllers, input routing | apps/game/src/*.rs |
One module per original controller (toolbar.rs, status_bar.rs, …) |
| Rendering | apps/game/src/gfx/render/, gfx/models.rs + gfx/models/ (models.wgsl), *.wgsl |
Must run on WebGL2 too (see banished-shader) |
Mirror the original's shape
- Name modules/structs after the original classes or resources (
ToolbarItem,GameplayLoop), and put the original address on each ported function:/// Port of FUN_1400be680 (speed step): speeds 1, 2, 5, 10. - Keep the original's data flow: if the original builds a dialog from
Dialog/X.rscand fills it from resources, do the same — don't hand-build UI that the game ships as a resource. - Keep constants with their source address; don't "tidy" magic numbers into different values.
- Mark deliberate deviations (platform differences, WebGL limits, threads → incremental steps)
with
// Deviation:and a reason.
Engine loop model (apps/game/src/loops.rs)
MainLoop runs one loop at a time; LoaderLoop/DialogLoaderLoop load the next loop
incrementally (no threads — the web can't block). Fades run at 4 units/s. A loop owns a Screen:
add_dialog(ui, "Dialog/X.rsc:resource"), add_modal, remove_dialog, find(name), layout,
input_root. The game loop is GameplayLoop in gameplay.rs (built by FUN_14009d530, UI
installed by FUN_14009d0d0: Toolbar, EventNotify, AutoSave).
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 · 67 lines · 80 tokens per session scan A 97e561dbdee3
banished-port is a skill published in the GitHub repository tanepiper/unbanished (23 stars, last pushed 22d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,072 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-port compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| banished-porttanepiper/unbanished | Skill | 23 | 22d ago | Apache-2.0 | A | 80 | 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 |
| 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 |
| artist-self-evolvetettethu/VibeGame | Skill | 388 | 10d ago | Apache-2.0 | A | 62 | Claude Code, Codex |