Claude Fable 5.2
Climb a stopped clocktower with a wind-up key for a sword, read five clockwork guardians' wind-ups, and roll through their blows.
Cogspire is a clocktower boss rush in one HTML file: a small apprentice with a wind-up key for a sword climbs five storeys of a stopped clock to beat the five clockwork guardians that hold it still. Each of them has two phases, and every fight is the same argument — the guardian telegraphs, you read the floor, you roll through the blow at the last moment, and the next strike hits four times as hard for it.
Every attack paints a marker on the floor that fills before it lands: a warning count, a lock, the strike, then a recovery, written out per guardian and per phase in the source ('1.1 | hp 200 | warn38 lock26 act6 rec32 …'). They carry 200 and 240 hit points (the Bellwarden), 230 and 290 (the Pendulum Knight), 300 and 360 (the Cog Spider), 320 and 380 (the Forge Hammer) and 330 and 520 (the Clockmaster).
Rolling into a blow while it is live, inside the first 14 of the roll's 22 frames, is a close dodge: 50 points and one turn of the key on your back. Three of them wind it (two with the Taut Coil relic), and the next strike that lands does four times the damage and staggers the guardian for 90 frames. That is the whole damage plan, and it is why a patient fight beats a fast one.
You get five hearts, two tonics for the climb and a stamina bar of 100 that comes back only after 30 steps of not spending it; a strike costs 15 and a roll costs 22, so attacking and dodging draw on the same pool. After each of the first four storeys you take one relic from the three offered — an extra heart, strikes that deal 12 instead of 10, rolls at 15, stamina back after 15 steps, a faster tonic (30 steps, healing at 18 instead of 50 and 32), or two close dodges to a wind. Six in the pool, and the offer is the first three you do not already hold.
A lost storey can be retried on the spot, and Practice reopens any guardian you have reached in either phase, with hits counted but never lost. Your best climb is kept in the browser under cogspire.best. On a phone held either way up, a finger anywhere on the screen is a stick, with Strike, Roll and Tonic at the bottom right.
The README is blunt: index.html is the unedited output of one run of one prompt on Claude Code with Claude Fable 5.2, published with the file's SHA-256 so you can check that what is served is what came out of the run. Nothing was touched by hand afterwards. There are no images, models or audio files — the clock, the guardians, the markers and the sound are geometry, canvas and oscillators in the same file. The one dependency is three.js 0.158.0 from jsDelivr, so it needs a connection.
Made by Graded Prompts with Claude Fable 5.2. Source on GitHub; the repo has no licence file, so the game is embedded from the author's own site and nothing is copied onto this site. three.js is MIT.
Climb five storeys of a stopped clocktower and beat one clockwork guardian per floor, each with two phases: the Bellwarden, the Pendulum Knight, the Cog Spider, the Forge Hammer and the Clockmaster.
Every attack paints a marker on the floor before it lands. Walk out of it, or roll through it. Rolling through a blow at the last possible moment is a close dodge: it scores 50, and three of them wind the key on your back.
A wound key makes the next strike that lands hit four times as hard and staggers the guardian. That is the whole damage plan — bait, dodge late, punish, repeat — and it is why a slow careful fight beats a fast panicking one.
| Resource | Amount |
|---|---|
| Hearts | 5 |
| Tonics | 2 for the climb |
| Stamina | 100, back after 30 steps of not spending it |
| Roll cost | 22 stamina (15 with a relic) |
| Relics | 1 taken from 3 offered per cleared storey, 6 in the pool |
The six relics: an extra heart, strikes that deal 12 instead of 10, rolls that cost 15 instead of 22, stamina back after 15 steps instead of 30, a tonic that takes 30 steps and heals 18 instead of 50 and 32, or a taut coil that winds the key with two close dodges instead of three. A strike costs 15 stamina as well, so attacking and rolling spend the same bar.
Each phase you finish scores 500 × the storey; clearing one scores 2,000 × the storey plus a time bonus of up to 1,200; a storey cleared without being touched adds 1,000; every point of damage you deal adds 10; every close dodge adds 50.
| Input | Action |
|---|---|
| W A S D / Arrows | Move |
| J / X / Left click | Strike |
| Space / K / Shift / Right click | Roll |
| Q | Drink a tonic |
| P / Esc | Pause |
| M | Sound |
On a phone or tablet: put a finger down anywhere for a stick, and use the Strike, Roll and Tonic buttons at the bottom right. It works held either way up.
Press Play Game above and Cogspire loads from the author's own site (games.gradedprompts.com) inside a sandboxed frame. There is nothing to install.
Under the hood it uses Three.js.
On a phone, tap Play and the game opens fullscreen with its own touch controls.
Tip: click inside the game once to capture the mouse, and press ESC to release it. Fullscreen gives the best frame rate on large monitors.
Five storeys, one guardian each, two phases per guardian. The README describes it as a demo made in a single prompt run, so a first climb is short — most of the time goes into learning the five patterns.
Three close dodges — rolls that pass through a blow at the last moment — wind the key. The next strike that lands then deals four times the damage and staggers the guardian.
Yes. Losing a storey offers a retry on the spot, and the score card counts your retries. Practice also reopens any guardian you have reached, in either phase, with hits counted but never lost.
Your best climb and how far you have reached are kept in the browser, and so is the sound setting. The run itself starts again from the first storey.
Yes — three.js is loaded from a CDN rather than bundled. Everything else, including all of the art and sound, is generated inside the one HTML file.
Yes. Cogspire runs in your browser for free, with no download, account or install. It loads from the author's own site (games.gradedprompts.com).
Yes. It has its own touch controls. It works with the phone held either way.
Cogspire was made by Graded Prompts, using Claude Fable 5.2.
The author hasn't published the prompt. Many of these games came out of a long back-and-forth with the model rather than a single prompt.
The source is public at https://github.com/gradedprompts/cogspire.