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/.claude/skills/banished-video/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-video)<a href="https://agentmods.dev/skills/tanepiper/unbanished/banished-video"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-video/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-video"><img src="https://agentmods.dev/badge/skills/tanepiper/unbanished/banished-video.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.00090 | $0.02441 |
| Opus 5.5 | $0.00036 | $0.00976 |
| Sonnet 5.5 | $0.00018 | $0.00488 |
| Haiku 4.5 | $0.00009 | $0.00244 |
Grade A, and why
banished-video 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Record a video headlessly
A video is a sequence of frames. The game can already save frames: the screenshot script
command writes Screenshots/Screenshot<N>.bmp in the user folder, with N counting up from 0.
So queue one screenshot command per video frame in a --boot-capture run, then join the BMPs
with FFmpeg. No Rust change is needed. The person-readable guide is docs/develop/VIDEOS.md;
tools/videos.sh makes the documentation's videos and is the worked example.
Rules
- Always set
UNBANISHED_USER_DIRandUNBANISHED_SETTINGSto a scratch folder (the frames and any save go there; the player's own folders are never touched). - Frames go to scratch or
game-data/derived/while you work. Only the finished, small WebM of Un-Banished's own frames may be committed, indocs/assets/videos/(AGENTS.md rule 1); never commit the BMP/PNG frames or footage of the original game. - Look at the result before you report it: extract a few frames into one contact sheet and open it with Read (see "Check" below).
Steps
- Find the shot. Make single
--boot-capturePNGs first (cheap: ~5 s for a 20 s run) and open them. Typical set-up for a town:export UNBANISHED_USER_DIR=$W/user UNBANISHED_SETTINGS=$W/settings.txt unbanished --boot-capture $W/shot.png 30 --capture-size 1280x720 \ --script "load save-game/[email protected]" \ --click-at 1060,470@14 --press [email protected] --press [email protected] \ --wheel 8@16 --wheel [email protected] ... # 28 wheel events reach the closest zoom- The wheel zooms towards the screen centre, not the pointer. To move the camera, click a
building (
--click-at X,Y@T), press its window'sbuttonCenter, thenbuttonClose. - Camera moves:
--hold ACTION@START-ENDholds a key-map action's key (RotateLeft,RotateRight,Forward,Back,Left,Right,ZoomIn,ZoomOut,PitchUp,PitchDown); a shortPitchUp(~0.5 s) lowers the camera to the horizon.--move 0,360@T(a screen edge) scrolls until a--moveback to the middle. Edge scrolling and the movement keys travel faster when zoomed out, so zoom in for slow moves. - Follow a citizen:
--script "select citizen N@T"(orselect profession fish N), then--press buttonFollow@T+0.5. tools/videos.shmodes are worked examples:orbit,big-town,river,fishing(held keys),follow-citizen,montage(edge scrolling, seven shots joined with xfade).- Cinematic camera (drawing only; the game camera, simulation and saves are unchanged):
--camera "EX,EY,EZ>TX,TY,TZ@T"keyframes (several: a smooth curve, eased at the ends; map cells from the map's middle, z up, water at 0);--camera-follow "SUBJECT@START[-END]"withcitizen N,profession fish N,boat N,animal deer N;--camera-rig BACK,UP,SIDE,AHEAD,LOOK_UP(default4,2.6,0.8,8,1, over a citizen's shoulder),--camera-fov 50,--camera-smooth 0.6. A follow keeps buildings, trees and bridges out of the line of sight (picking meshes; it moves in closer, else rises up to 8;--camera-clear 0turns it off). Find coordinates withRUST_LOG=info,unbanished::view::cinematic=debugand a follow: it logs the subject's position each step (a boat's track is the river). Modesboat-shoulder,fisher-closeup,river-flight(forSave 47) andfarmer,labourer,vendor(Save83, thefollowhelper: speed 2, rig3.5,2.6,0.8,3,1.2) intools/videos.share the examples; each writes aNAME-poster.webptoo (poster FRAME NAME). This camera does not depend on drawn frames, so the "draw every frame" rule below does not apply to it. - Quality: every town video in
tools/videos.shuses--capture-size 1920x1080and theHQsettings (town()adds them, and scalesCLICK,--moveand--click-atfrom 1280x720 positions withpx; crops are relative,$middle/$top). Each video gets aNAME-poster.webp(poster FRAME NAME). The montage reuses therun_*functions and keeps parts withclip NAME START COUNT, joined byxfadetransitions listed injoins. The settings are--setting VideoMultisample=3,VideoTextureFilter=16,VideoShadowScalar=0,VideoShaderDetail=3,VideoReflectionDetail=2; frames are scaled to 768x432 with lanczos. Pass the settings as separate arguments (zsh does not split$HQ; the log lineantialiasing: 4 samplesconfirms them).FILTER=sepia|grey|psychedeliccolours the encode. - Titles: the montage has an opening title, a caption per shot (
captions) and a closing card, drawn with FFmpegdrawtext(thetext TEXT FONT SIZE X Y FROM TOhelper; Georgia). Homebrew's defaultffmpeglacks drawtext; the script prefersffmpeg-full(/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg, installed) orFFMPEG.TITLES=0turns them off.MONTAGE_CLIPS=DIRkeeps the shots, so re-titling takes seconds, not 10 minutes. --script "speed 10@T"for time-lapses;--script "open Template/UtilityMap.rsc@T"for windows;UNBANISHED_SEED=Nwith--press [email protected] --press [email protected]for a new game.
- The wheel zooms towards the screen centre, not the pointer. To move the camera, click a
building (
- Queue the frames. One
--script "screenshot@T"per frame (screenshot ui@Tkeeps the interface). Two rules make the timing exact:- put each time half a frame after the frame time,
T = start + i/30 + 1/60: the capture loop steps 1/30 s in f32, and a command exactly on a frame boundary can land on the same frame as its neighbour (one run gave 137 files for 180 commands); - draw every frame from before the camera moves (start the screenshots at the first click or wheel, and drop the early frames when encoding). A headless run draws only when something asks for a frame. The camera's easing depends on the drawn frames: a camera that was not drawn for seconds jumps, then drifts. For a time-lapse, use a longer step instead of 1/30 (seasons: 0.75 s at speed 10).
- put each time half a frame after the frame time,
- Encode (VP9 needs yuv420p; the BMPs are RGB):
Keep documentation videos small: 384–1280 px wide, 2–12 s, under ~1.5 MB each.ffmpeg -framerate 30 -start_number 360 -i $W/user/Screenshots/Screenshot%d.bmp -frames:v 240 \ -vf "crop=960:540:160:90,format=yuv420p" -c:v libvpx-vp9 -b:v 0 -crf 36 -row-mt 1 -an out.webmtools/videos.shchooses each film's crf itself (itsvp9function): the largest crf whose VMAF reaches 93 (VMAF_TARGET), within the film's size limit. Use it, or itsvp9function's method, rather than a fixed crf. When measuring VMAF by hand, renumber the frames on both inputs (settb=1/30,setpts=N), or WebM's millisecond times mis-pair them. Cropping the middle of a 1280x720 capture makes citizens larger than zooming can. - Animations of one model come from the viewer, not the game: one
--capturerun per frame withVIEWER_POSE=CLIP@SECONDS VIEWER_ANIMS=GROUP(filters match the backslash entry name, e.g.'Animals\Chicken\ChickenMesh'). ~0.35 s per frame.
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 · 124 lines · 90 tokens per session scan A 0665e29f2c30
banished-video is a skill published in the GitHub repository tanepiper/unbanished (23 stars, last pushed 22d ago), licensed Apache-2.0. It adds 90 tokens to every session and 2,441 once invoked, about $0.0004 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-video compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| banished-videotanepiper/unbanished | Skill | 23 | 22d ago | Apache-2.0 | A | 90 | Claude Code |
| 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 |