/hildegard:hildegard-loopfrom hildegard
Runs iterative generate-render-critique-refine loops for 3D models, images, videos, audio, and web pages. Automates multi-round improvement with checkers and structured critique files.
Ships in hildegard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Most generated work fails because nobody looked at it before the next attempt. The loop makes looking the price of
the next attempt: scripts/loop.py takes round two only after round one has been critiqued, and every answer must
point at the view, frame or check that shows it. Read hildegard-craft first; for 3D, hildegard-3d; for a part to
print, hildegard-print; for a website, hildegard-web.
Run every command from your working folder; the loop keeps its state in loop.json there. <skill> is this skill's
folder, so python3 <skill>/scripts/loop.py reaches the script from anywhere. The checkers need Python
packages; install them once with python3 -m pip install pillow numpy av (a model needs only numpy and Pillow, a
still image no PyAV). Without them, FFmpeg and ffprobe still give length, size, loudness and black frames, and you
judge the pictures by looking at them.
If you read nothing else, do these steps.
python3 <skill>/scripts/loop.py start --kind model --for "a hallway shelf" --what "a standing heron finial" --specific "the S-curve neck" --specific "a flat base" --print --size-mm 40x40x120.
Kinds: model, web, image, video, audio. Rounds: 6 for a model, 5 for the web, 3 otherwise
(--rounds up to 12). It prints the questions you answer every round.round-1.stl, round-2.png, site-1/), never over the last one.python3 <skill>/scripts/loop.py submit round-1.stl --note "what changed". It runs the checker for the kind,
writes spec-1.json and the sheet, and prints every check, fail first. A web round prints the screenshot command
and the checks to audit by hand.critique-1.json, one answer per question, then
python3 <skill>/scripts/loop.py critique critique-1.json. It answers ready, revise or stop.python3 <skill>/scripts/loop.py finish --note "what it is and what still fails". It delivers the best round
(fewest fails, then fewest noes), not always the last, and writes final.md.The critique file:
{"answers": [
{"answer": "yes", "evidence": "front and left views: the S-curve and the flat base both show"},
{"answer": "no", "evidence": "check overhang: fail at 58 degrees under the beak"},
{"answer": "yes", "evidence": "all eight silhouettes read as a heron"},
{"answer": "yes", "evidence": "check size: 39.6 x 40.1 x 119.8 mm"},
{"answer": "yes", "evidence": "top view: one body, no floating bits"}],
"change": "tilt the beak up 15 degrees so its underside is under 45 degrees"}
python3 <skill>/scripts/loop.py status shows every round, its failing checks, verdict and change.
loop.py runs these for you. To check one file outside a loop, write spec.json and run the checker yourself; each
prints {"id", "status", "detail"} for every check, fail first.
| Kind | Run | It gives you |
|---|---|---|
| model | {"path": "round-1.stl", "sheet": "sheet-1.png", "print": true, "size_mm": [40, 40, 120]} then python3 <skill>/scripts/review_mesh.py spec.json | the model checks as JSON, and eight views with silhouettes |
| image, video, audio | {"path": "round-1.mp4", "sheet": "sheet-1.jpg", "final": false, "seconds": 8, "audio": true} then python3 <skill>/scripts/review_media.py spec.json | the media checks as JSON, and nine frames of a video |
| variants side by side | python3 <skill>/scripts/contact_sheet.py sheet.png a.png b.png c.png --title "Round 2" | one labelled sheet to answer "B3" from |
Web checks. Render each page at 390, 820 and 1440 px wide, light and dark (the command is in hildegard-web),
then go down these against the screens and the files, fail rows first (warn where marked):
loads, errors: the page settles and no script throws. overflow: nothing wider than the screen. contrast: text
meets WCAG AA. alt, images: every image has alt and loads. names, labels: every button, link and field has a
name. targets: tap targets at least 44 × 44 px on a phone (warn). text-size, measure: body text 16 px or more,
lines under about 80 characters (warn). fonts, headings: three families at most, no skipped heading level, one
h1 (warn). head: viewport meta and title (fail), description and language (warn). placeholder, stock-copy,
emoji-icons: no lorem ipsum, no "unlock the power of" copy, no emoji as icons. offline, weight, image-size: no
requests off the site, a light page, images no bigger than shown. dark, motion, focus: dark designed when asked
for, reduced motion respected, focus outlines kept.
For a shot or a still from the user's image or video model, the loop wraps the renders they already make: start with
--kind video (or image) and --final, --seconds, --audio as the shot asks; download each take to its own file
and submit it with a note of the prompt, seed and settings; change one thing in the prompt or the settings and render
again with the same seed unless the seed is the change.
The loop runs unattended in any coding agent that has a shell: give it this skill, the brief and the start command,
and tell it to finish when critique answers ready or stop. It works in its own folder, sends each round by path
and never starts a loop your user didn't ask for. Read loop.json and final.md to see where it got to.
| Kind | Measured | The sheet |
|---|---|---|
| model | watertight, manifold, winding, volume, bodies, debris, size; for prints units, bed, base, overhang, balance, slender, interference and fits between parts | eight views, a top or bottom view, silhouettes |
| web | the web checks above, by your audit | your screenshots at three widths, light and dark |
| image | size, highlights, shadows, contrast, colour | the image |
| video | size, length, highlights, colour, black frames, frozen, flicker, sound clipping and loudness | nine frames, start to end |
| audio | clipping and loudness | none: you can't hear it, so say what was measured and ask your user to listen |
When a piece isn't one of these (a poster as SVG, a song's lyrics), loop the same way: render it (a PNG of the SVG), submit the render as an image round, and critique that.
loop.py refuses an answer without evidence.change. Never several.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/hildegardUse for /hildegard, /art, /vus, /mus, /suno and any request to make, edit or write creative work; routes images, video, sound, music, 3D, games, web and every kind of writing./hildegard-3dUse when making a 3D model, sculpture, figurine, game asset, relief or lithophane in Blender, OpenSCAD or code, checked each round for views, watertightness and size./hildegard-artUse when making art, an image, illustration, key art, mood board or visual style with the user's image model; posters and covers with words go to hildegard-design.Other plugins' skills for the same job
npx claudepluginhub students-of-local/hildegard --plugin hildegard