workshop

← all creations

Capability Run

mechanics · created 2026-08-27

Cross a corridor of tool gates spending from a shrinking capability budget — some gates are disguised, costing more than declared.

game-feeltopdowncanvas

A least-privilege obstacle course: the player crosses a scrolling corridor of walls, each with a few gaps — “gates” labeled by tool type (read / write / network / shell) and a declared cost. Line up with an opening to pass through it and the declared cost is spent from a shrinking capability budget. A few gates are disguised: the cost revealed only after crossing is higher than what was declared. The goal isn’t speed — it’s reaching the end having spent the least privilege, without a disguised gate blowing the budget.

Riffs on agent sandboxing and least-privilege tool design: an agent picking which capability to invoke next, unable to fully trust what a tool claims it’ll cost until it’s already committed.

Reuse

The mechanic lives in src/capability-run.js as a framework-free ES module:

Gotchas