A skill for coding agents · evidence first

Build it from evidence.
Take it apart.
Film it.

Give it a real object. It looks the numbers up, writes a spec where every number says where it came from, and renders a film, a viewer and a 3D model. If the numbers do not add up, it does not render.

22Studio assemblies
7kinds of check
1gate that says no
2unassisted agent runs
Enigma I: the signal travelling through the rotors
specestimatedderived
Move to orbit · scroll to take it apart · click to turn
Subject
mechanism
Revision
0.11.1
Gate
refuses unsourced numbers
Verified
12 objects, 6 verified
Licence
MIT
SourcedEvery number is SPEC, MEASURED, DERIVED or ESTIMATED, with its source or its reason.
GatedA spec whose gears, ratios or test vectors do not check out is not rendered.
Three outputsA film with real recorded sound, an interactive viewer, and an STL / GLB of the model.
The gate

A spec that does not add up is not rendered.

The model is run against what is published. The Rubik cube is 26 pieces that really turn, with no tables: the 20-move superflip has to flip all 12 edges, the longest sequence has to come back after 1,260 repeats.

Change a tooth, a firing order, a claim: it says exactly what broke. Try it on the hub: the viewer changes one published figure and runs the gate in your browser.

The verdict is never a bare pass: VERIFIED only if something was compared, nothing is pending and at least one figure comes from a source independent of the inputs. If everything matched but no check is independent (the figures share their source with the inputs, a drawn size is compared with the figure it was drawn from, or the inputs cannot be traced) it says CONSISTENT: a wrong source would pass too. Numbers given by the person who asked are tagged USER and are never verified. Otherwise it says NOTHING CHECKED, INCOMPLETE or DOES NOT PASS, and it refuses the leftovers of a template (placeholder addresses, TODO, a number with no claim). Show me what is only a guess.

Every object is listed, with the gate's own numbers and a badge, in the register of verified objects.

And a model has to be recognisable: a stranger shown a label-free still must name it. The hub failed that test, so it now has spokes and a rim.

mechanism

  

Twenty-two mechanisms. Built in three dimensions.

Explore 22 Studio assemblies, including the revised bearing and fifteen new construction films. Workflow and Paper add twelve process films and technical drawings. Sources and estimated details accompany each new model.

34 films · 3 engines

Enigma / signal & stepping

Studio / 3D mechanisms

Why does the same letter encrypt differently?

Wiring and test vectors share a source. Housing dimensions are estimated.

Rubik / state & superflip

Studio / 3D mechanisms

What changes when a face turns?

An ideal cubie model; internal hardware and friction are not simulated.

Cherry MX2A / travel & force

Studio / 3D mechanisms

Where does an electrical keypress happen?

Internal geometry is partly estimated. The end-force interpretation is an inference.

6205 / bearing construction

Studio / 3D construction

See the raceways, balls and formed cage.

Published NSK envelope and ball data. Raceway and cage geometry remain approximate. Silent 12 s study.

TRAPEZOIDAL SCREW

Studio / 3D construction

Helical trapezoidal flanks.

12 s construction study. Selected 16 mm crest diameter, 4 mm lead, nut and clearances.

BUTTERFLY VALVE

Studio / 3D construction

A disc inside a resilient seat.

12 s construction study. Selected size and section; no product-specific seal reconstruction.

DISC BRAKE

Studio / 3D construction

Rotor and opposed pads.

12 s construction study. Four-piston teaching model, dimensions and movement; not a BM6 replica.

MULTI-PLATE CLUTCH

Studio / 3D construction

Alternating friction interfaces.

12 s construction study. Nine-plate stack, splines, dimensions and prescribed engagement.

Planetary hub / three ratios

Studio / 3D mechanisms

How can one gear train give three speeds?

Ratios are checked; module and several physical dimensions remain estimates.

K20A / crank & firing order

Studio / 3D mechanisms

What does the crankshaft force the pistons to do?

Rod length and valve timings include estimates; no combustion or fluid simulation.

Pin tumbler / assembly & blocking

Studio / 3D mechanisms

Why does one wrong cut stop the plug?

Pin diameters and driver lengths include estimates. Educational mechanism model.

React / from click to DOM

Workflow / processes

Does a state update rebuild the entire page?

Recorded React 18.3.1 fixture, not every React workload. Animation time is illustrative.

DEFLATE / literals & back-references

Workflow / processes

How do 49 bytes reconstruct 119 bytes?

A recorded fixed-Huffman sample, not a depiction of every compression strategy.

RAR5 / archive anatomy

Workflow / processes

Can a format model rebuild a real archive?

The shipped sample and supported block types; not a complete RAR implementation.

RTX 4090 / published arithmetic

Workflow / processes

Which specifications can be recomputed?

Theoretical peak arithmetic, not measured application performance or sustained clocks.

MOS 6502 / buses & address space

Workflow / processes

How does a 16-bit address bus reach 64 KiB?

Pinout and arithmetic model; no transistor-level or cycle-accurate CPU emulation.

Floppy disk / tracks to bytes

Workflow / processes

What does the “1.44 MB” label count?

The ECMA-125 format and recorded spec; not a magnetic field or read-channel simulation.

Raspberry Pi 4 / board drawing

Paper / technical drawings

Which dimensions locate the mounting holes?

Board outline and holes only. Sheet fitted for screen; use the SVG for declared scale.

Pin tumbler / the shear-line section

Paper / technical drawings

What must line up before the plug turns?

A source-backed mechanism section with estimated diameters and driver lengths.

Mounting plate / parametric features

Paper / technical drawings

Can the drawing come entirely from geometry?

Synthetic demonstration dimensions. No published product or manufacturing approval.

Circular flange / polar pattern

Paper / technical drawings

How does a bolt circle constrain every hole?

Synthetic demonstration dimensions. No fits, tolerances or load calculation.

Stepped bracket / section A–A

Paper / technical drawings

What does a section reveal that a silhouette hides?

Synthetic bracket, chosen to demonstrate sections. Not a measured commercial part.

Antikythera / reconstruction limits

Paper / technical drawings

Which parts of a reconstruction are actually constrained?

Incomplete reconstruction: several tooth counts are estimates and the lunar anomaly is omitted.

Archived agent runs.

Two objects nobody modelled in advance, each given to a fresh agent with only the skill and one sentence. The criteria were written before the results, the logs keep every failure, and one of the two films did not pass the stranger test.

Historical agent-run still

3.5-inch floppy disk

Complete, recognised

"Use mechanism to model the 3.5-inch floppy disk (the 1.44 MB one) from its published sources." The capacity comes out of tracks, sides, sectors and bytes, and the "1.44 MB" label out of how that is divided. The standard was a scan with no text layer: the agent read it page by page.

  • Time18 min 51 s
  • GateVERIFIED, 15 checks reproduced
  • Stranger testnamed it, 95 % (one judge)
  • Skill version8845863
Historical agent-run still

Antikythera mechanism

Complete, not recognised

Asked for by a reader of the first post. Six published periods reproduced from the tooth counts. But three of the six checks pass through lost gears whose teeth are estimated, so they only show the reconstruction agrees with itself. A fresh judge saw "a clock movement".

  • Time27 min
  • GateVERIFIED then; CONSISTENT with today's gate
  • Stranger test"a clock movement", 70 %
  • Skill version6fd5295
Historical agent-run still

Antikythera, hand-refined

Edited by hand, not the run

The same gears and the same six checks. What changed is only what you see: a closed wooden case with bronze plates, the zodiac and the Egyptian calendar in Greek, hands, a Moon-phase ball, a crank, and spiral dials on the back. All of that is drawn, not sourced, and the spec says so. One judge named it, the other said "perpetual calendar".

  • Gatesame as the run (CONSISTENT today)
  • Stranger test1 of 2 judges named it
  • Decorall ESTIMATED

What two runs do not show.

Two runs are two data points, not a success rate. I wrote the skill, chose one of the two objects and started the agents. They were fresh subagents with no context, not fully independent sessions, and the GPU was shared during the first run.

After these runs the gate became stricter: VERIFIED now needs a figure from a source independent of the model's inputs. The Antikythera spec has none (its six checks share a source with their inputs), so today it says CONSISTENT; the floppy still says VERIFIED. The run notes keep what the gate said when it ran.

Everything the agents did is in the logs, including the failures. The toolkit problems they hit (a gear train that silently took one tooth count per axis, holes that could not be rectangular, a stranger test that only worked on this repository's own examples) were fixed afterwards, and the version each run used is written next to it. The plan is 20 objects; these are the first two.

Read the criteria, fixed before the results

Touch it

Do not watch it. Take it apart.

Every example is also a live three.js viewer: orbit, explode, measure, run the mechanism. Type on the Enigma and it enciphers with the published rules.

Load the live viewer

It looks things up before it draws anything.

The skill's job is evidence. The engine and the sound are built to serve it.

Research

Spec sheets, teardowns, official photos, published test vectors. It opens the pages and the pictures.

Spec

Parts with real dimensions, the evidence behind each number, and how it moves.

Gate

Sources, cross-checks, centre distances, published ratios and test vectors. Wrong specs stop here.

Render

Camera, sound and panels are directed from the spec: a film, a viewer and a 3D model.

// a part, with the evidence it stands on { id: 'ring', kind: 'ring', p: { m: 0.8, z: 60, ro: 27.4, width: 8 }, conf: 'derived', claims: ['teeth', 'formula'] } // and the claim behind it { id: 'teeth', conf: 'derived', src: ['cyclechat', 'princeton'], cross: 'zr = zs + 2 zp holds (60 = 20 + 40)' }
# the gate: a spec that does not add up is not rendered $ node scripts/check-spec.mjs examples/hub/spec.js mode Gear 3: 1.3333, published 1.3333 ok PASSES # change one planet to 21 teeth ERROR centre distance ring-p1: 16.400 mm, the geometry needs 15.600 mm (and the same module) DOES NOT PASS
spec

Published by the maker or a datasheet.

measured

Measured on an official photo, scale from a published size, error stated.

derived

A formula plus a cross-check against another published number.

estimated

Nobody publishes it. Drawn dashed, and said out loud.

Use it as a Claude Code skill.

Clone it into your skills folder and ask for an exploded view of something real. Needs Node 22+, Edge or Chrome, and ffmpeg.

# macOS / Linux git clone https://github.com/DiegoLopez0208/mechanism \ ~/.claude/skills/mechanism # Windows (PowerShell) git clone https://github.com/DiegoLopez0208/mechanism ` $env:USERPROFILE\.claude\skills\mechanism
# then, in Claude Code "Use mechanism to model a mechanical keyboard switch from its published sources" # or drive the toolkit yourself node scripts/new.mjs my-object --title "My object" node scripts/check-spec.mjs examples/my-object/spec.js node scripts/render.mjs examples/my-object/index.html

On the bench.

Objects whose numbers can be computed and checked against what is published.

Enigma IRubik's cube, 20-move superflip4-cylinder engine, firing order and soundThree-speed hubKey switchMOS 6502, pinout and dieWinRAR, software: 87 bytes rebuiltWinRAR unpacking, from RFC 1951Pin tumbler lock, KW1 keyRTX 4090, cores x clock = TFLOPS3.5-inch floppy, capacity from the format (agent run)Antikythera, six periods from the teeth (agent run)Bicycle drivetrainThe next 18 objects of the agent test