◇ CUBE RULE

ABOUT THE EXPERIMENT

Food by Clef.

A small project to build with and test Clef’s text and image classification on a familiar, much-debated question: how do we categorize food?

The framework comes from The Cube Rule manifesto ↗: classify food by the placement of structural starch. Theory by @Phosphatide; manifesto site by @indirect.

BUILT BY

Josh Johnson

Software developer & business advisor.
Building practical experiments with AI.

Developer profile ↗

01 / THE CLASSIFICATION LAB

What are you eating?

One food. Nine possible truths.
Try Clef with text or a photo.

SUBMIT THE EVIDENCETEXT + IMAGE
TRY

Be specific about the shape. A sealed burrito and an open wrap have different destinies.

Photos and text are sent to Cloudflare for classification.
THE VERDICTAWAITING EVIDENCE

The truth is
in the structure.

Submit a food name, a photo, or both.
We’ll find its place in the universe.

POWERED BY CLEF FLASH CLOUDFLARE WORKERS AI ↗
About this public demo

Clef Flash runs on Cloudflare Workers AI. Your food descriptions and photos are sent to Cloudflare for inference. This app does not save uploads on its server; case history stays in your browser.

The public demo allows up to five requests per minute per IP and has a shared daily allowance. If the allowance runs out, please return tomorrow.

02 / THE NINE RULINGS

Order in the food court.

Count the surfaces, not the ingredients.
Tap a ruling to inspect the evidence.

THE FINE PRINT Rotation doesn’t change a ruling. Plates don’t count. Rice is open to interpretation.

03 / THE CASE FILES

Previously on trial.

Not every sandwich
is a sandwich.

And that’s a beautiful thing.
Read the original manifesto ↗