paprika3d
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PAPRIKA3D_CHROME | No | Path to Chrome or Chromium. Optional: found automatically on PATH (chromium, google-chrome) or at the usual install path. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use these tools, the paprika server's, rather than a Playwright or Chrome DevTools script, to run, see, test, play or profile any three.js, React Three Fiber or other WebGL page, new or existing, in Chrome or Firefox: a game, a viewer, a product configurator, a simulation, a shader or post-processing demo. open runs the page in headless Chrome (by default) on a paused, seeded clock, so the same inputs always give the same frames and state; look shows what a viewer sees and lists what is on screen and what never appears (a model loaded at the wrong scale, out of view or not loaded at all shows only there). look's Lighting: and Surfaces: lines name the object, where it is and the number that fixes it. Search for the tool by what you need: look to see the page, interact to play it, observe to read its state, eval to run code in it, feel to measure how an event reacts, perf to time it against a budget, model_run to build a model in code (three and Manifold, as in Blender) and model_look to see it from four sides, saved as a .glb the page loads, unity_export to hand the scene to Unity as a project, asset_search for a ready-made model (84,249, CC BY or CC0), PBR texture or HDRI sky from the hosted library. Before building a character, creature, vehicle, building, prop, surface texture or sky in code, search asset_search for it, as paprika-make's picking round does (https://github.com/Keeno-Corp/paprika3d/blob/main/skills/paprika-make/sheets.md#the-picking-round): pick a close hit (it writes the loading code and the credit line in CREDITS.md) and build in code only what no search finds. Calls run one at a time: a call made while another still runs, one moved to the background included, waits for it to finish, and its reply starts with how long it waited.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| openA | Opens a three.js, React Three Fiber or WebGL page (a game, viewer, configurator, simulation or shader demo) in headless Chrome (or the |
| observeA | Reads the open page's state as JSON (window.__game.observe(), or its named three.js objects), renderer counts, new console errors and what changed since the last observe. |
| evalA | Runs JavaScript in the open page and returns what it returns, as JSON, then up to 5 lines it logged (console.log, warn, info) and up to 5 console errors. In scope: scene, camera, renderer, find(name), stats(target) (vertices, triangles, bounds, closed, volume, genus per mesh), realNow(), window, and THREE on a page that loads three through an import map. performance.now, Date and timers run on the harness's paused clock (code that awaits a timer or frame steps it until done), so to time code here use realNow() (real milliseconds), and end GPU work before reading it (a 1-pixel gl.readPixels; on WebGPU, await renderer.backend.device.queue.onSubmittedWorkDone()). Use it to inspect the scene, try a change before writing it into the source, measure an imported model, or check procedural geometry with stats after each step; changes vanish on reload. A thrown error names where it threw: a line of this code or of the page's own files. Code that keeps the page busy for 30 s (longer on a busy host) is stopped and the page kept: split long work across calls, or await a 0 ms timer every few hundred iterations. |
| interactA | Plays |
| lookA | Screenshot of the open page in the reply, an ID image beside it (one colour per object, the path with -ids before .png), and a list of what is on screen and the named objects no look has seen, with size and place. It sends no input; sheet, scroll, viewports and compare reload the page for their pictures. One mode a call: cameras, viewports, scroll, sheet, opening, zoom, at, target, save or compare. It ends with the lines the skill's references/lighting.md explains, the |
| feelA | Measures game feel, how the page reacts to an event: on a fresh reload, sends the steps, then watches the next frames for camera shake or one camera move out and back (a hit's lurch), scale pops, smooth moves versus teleports, colour flashes, particles (a Points pool's or an InstancedMesh's count), spawned objects, HUD text ticks and sounds, each with the watched frame it came on. Leading { state } steps set the scene up (the player next to the coin), and nothing is measured until they and one frame have run; what moved during the other steps is listed as a fact on its own line, and teleports are jumps between two watched frames, so a setup or a walk in the steps is never one. It shows whether each event a feel brief names (hits, clears, explosions, pickups, deaths, wins) reacts on screen, and whether anything teleports. It measures and saves nothing: to keep the play as a check, send the same steps to |
| perfA | Measures the open page's frame time (fps), draw calls, triangles and asset size against a budget (desktop by default): it is for a frame a reply reports over budget, or a user who asks about performance (stutter, low fps). To find what costs the frame, give |
| model_auditA | Inspects 3D model files (.glb, .gltf, and USD: .usd, .usda, .usdc, .usdz): megabytes, triangles, materials, each texture's size and format, and whether it uses Draco, meshopt and KTX2, for one file or every one under a folder ( |
| model_runA | Runs JavaScript against the modelling scene: a three.js scene this server keeps between calls, apart from any page, for building a model in code as in Blender, then saving it as a .glb the page loads. The code is an async function body with THREE, BufferGeometryUtils (mergeGeometries, mergeVertices), scene, geo (Manifold, started: geo.Manifold, geo.CrossSection, geo.toGeometry(manifold), geo.toManifold(geometry), geo.boolean(op, a, ...b)), scatter, find(name), stats(target) (vertices, triangles, bounds, closed, volume, genus per mesh), load(path) (a .glb, .obj or .fbx from the project, an asset_search pick included, added to the scene and returned), save(path, object = scene) (a GLB under cwd; replies with its size and the line that loads it) and clear() in scope, and returns what it returns, as JSON, with up to 5 lines it logged. What it adds to scene stays for the next call and is saved to paprika3d/model/scene.glb after each run that changed it, so a restart loads it back; variables (a Manifold) do not last between calls. Manifold works in metres with Z up and angles in degrees; three is Y up. Name every object you make: model_look lists them by name. Search |
| model_lookA | Shows the modelling scene that |
| unity_exportA | Writes the open page's three.js scene, at the frame it is on, as a Unity 6 project: the GLB (three's GLTFExporter: meshes, hierarchy, names, PBR materials and textures, lights, animations, skins, instancing, the camera), glTFast as its importer, an editor script that builds the Unity scene from it on the first open (hidden objects, background, fog, ambient light), GameState.cs from __game.observe(), and PORTING.md: what does not carry over (custom shaders, sprites, compressed and canvas textures, environment maps; named in the reply) and what to port by hand (game loop, input, physics, UI, sound). Gameplay code is not converted. The GLB is loaded back in the page and counted; Unity is not run. |
| testA | Reruns every check saved with |
| referenceA | Reads a reference picture the page should match (a photo, artwork, mockup or screenshot in the project, e.g. refs/01.jpg) at full resolution, in one call and with no page open: |
| asset_searchA | Searches the hosted paprika3d asset library over the network (assets.keeno.dev) for a ready-made model (84,249, CC BY or CC0, as GLB and some as USD), PBR texture or HDRI sky, and puts the one you pick in the project with its loading code. A search answers one numbered line per hit (id, name, size, licence, preview image) and a contact sheet: the hits' thumbnails in one row, numbered as the lines are. |
| sheetA | Picture sheets for paprika-make's brief, and which image and 3D model keys this machine has. |
| publishA | Publishes the project at https://.paprika3d.app (public; preview, invite-only), only when the person asks; never for another host. Never read or print ~/.config/paprika3d/credentials.json: this tool reads the key. |
| send_feedbackA | Sends the paprika3d team a bug, feedback or criticism about the harness itself (not about the user's page): a reply that was wrong or unclear, a tool that hung, errored or got in your way, a check you disagree with, or something you needed and no tool gave. It attaches the last tool call's name, options and error, never the page's code or files. Use it, not the client's own feedback command (Claude Code's |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| paprika-make | Builds a new three.js, React Three Fiber or WebGL page with the paprika3d tools: a short brief first, then the build start to finish. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| paprika-loop/SKILL.md | |
| paprika-loop/builder-scene-around.md | |
| paprika-loop/builder-scene-bare.md | |
| paprika-loop/builder-scene.md | |
| paprika-loop/builder.md | |
| paprika-loop/judge-scene-around.md | |
| paprika-loop/judge-scene.md | |
| paprika-loop/judge.md | |
| paprika-make/SKILL.md | |
| paprika-make/assets.md | |
| paprika-make/critic.md | |
| paprika-make/refs.md | |
| paprika-make/sheets.md | |
| paprika-make/study.md | |
| paprika-publish/SKILL.md | |
| threejs-game/SKILL.md | |
| threejs-game/references/assets.md | |
| threejs-game/references/configurator.md | |
| threejs-game/references/fx.md | |
| threejs-game/references/geometry.md | |
| threejs-game/references/lighting.md | |
| threejs-game/references/optimize.md | |
| threejs-game/references/state.md | |
| threejs-game/references/tools.md | |
| threejs-game/templates/plain.html | |
| threejs-game/templates/r3f.tsx | |
| threejs-game/templates/rapier.ts | |
| threejs-game/templates/viewer.html | |
| threejs-glb-audit/SKILL.md | |
| threejs-perf/SKILL.md | |
| threejs-play/SKILL.md | |
| threejs-screenshot/SKILL.md | |
| threejs-test/SKILL.md | |
| threejs-to-unity/SKILL.md | |
| threejs-to-unreal/SKILL.md | |
| threejs-visual-regression/SKILL.md |
TDQS
Scored across 17 tools
Each tool targets a distinct concern: observe reads state, eval runs code, interact plays steps, look screenshots, feel measures reactions, perf measures frame cost. The closest pairs (interact vs feel, look vs model_look vs reference vs sheet) are separated by clear descriptions, though an agent could still hesitate between interact and feel when it just wants to send input.
Naming mixes single-word verbs (observe, open, eval, interact, look, feel, perf, publish) with prefixed forms (model_audit, model_run, model_look, unity_export, asset_search, send_feedback) and bare nouns (reference, sheet). A loose pattern exists — page-level tools are single words, subsystem tools are prefixed — but it is not a predictable verb_noun convention throughout.
17 tools is slightly above the comfortable range, but the server spans page inspection, testing, model authoring, asset search, export and publishing, so most tools earn their place. A few, such as sheet and reference, are narrow enough that the surface feels a touch heavy.
The lifecycle is well covered: open/serve a page, observe and interact, save and rerun checks, screenshot and compare, measure performance, build and audit models, search assets, export to Unity and publish. Gaps are minor — no dedicated audio authoring or scene-file editing tool, but eval and the agent's own file tools cover those workarounds.