Communitygithub.com

fruit-stories

Make an original clay story Short (vertical 30-60 s claymation drama with a cast of sculpted plasticine people, quirky music, word-highlight captions, a twist and a finished ending), rendered entirely on this machine in Blender (big-headed clay people with bead eyes, strand hair and scored clay clothes, stop-motion timing) with no external video or voice service. Use when the author asks for a "clay story", "claymation short", "clay video", "fruit story", "fruit video", "Orchard Row episode", or a video "like the clay stories / AI fruit stories channels". Follows a fixed pipeline with a linter, a cold-reader story review and an audio check, so it works on smaller models. NOT for motion graphics (use mograph) or live-action editing (use OpenMontage).

Was ist fruit-stories?

fruit-stories is a Claude Code agent skill that make an original clay story Short (vertical 30-60 s claymation drama with a cast of sculpted plasticine people, quirky music, word-highlight captions, a twist and a finished ending), rendered entirely on this machine in Blender (big-headed clay people with bead eyes, strand hair and scored clay clothes, stop-motion timing) with no external video or voice service. Use when the author asks for a "clay story", "claymation short", "clay video", "fruit story", "fruit video", "Orchard Row episode", or a video "like the clay stories / AI fruit stories channels". Follows a fixed pipeline with a linter, a cold-reader story review and an audio check, so it works on smaller models. NOT for motion graphics (use mograph) or live-action editing (use OpenMontage).

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/advaycode/animation-story-skills/tree/HEAD/skills/fruit-stories

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht fruit-stories?

Everything lives in <clay-stories>. Run all commands from that folder. You write ONE file, episodes/<slug>/episode.json. Scripts do the voices, animation, music, captions and the final video. Nothing costs money and nothing leaves this machine.

The one thing that matters most: a stranger must be able to follow the story on first watch. the author rejected an earlier episode as too hard to follow and cut off at the end.

The cast are clay people (since 2026-11-23): eight neighbours of Orchard Row. Their ids are still the old fruit words, but those are only ids: fig = Fenn, a small young man in green overalls and glasses; lemon = Madame Citra, a tall lady in a teal dress and pearls; mango = Manny, a plump man in a mustard jacket with a moustache; radish = Ruby, a little girl with red pigtails; coconut = Old Coco, an old man in a grey cardigan; pear = Perla, a woman in a green dress and white apron; chili = Chad, a tall young man in a white tracksuit; onion = Inspector Allie, a woman with a silver bob in a trench coat. Never call anyone a fruit or a vegetable in a title, logline or line, and never write a line that only makes sense for a fruit.

Step 1. See what you can use

python scripts/lint_episode.py --library

You may ONLY use names from that list. If the story needs something that is not there, pick the closest thing that is.

Then get your assignment, so this video is different from the ones before it:

python scripts/variety.py

It prints which hero, wrongdoer and helper to use, the outcome, how to open, which proofs and set pieces are fresh, and what recent videos already did. Follow it. The linter fails any episode that repeats a recent pairing, proof, outcome or set of places. Also invent a new thing to fight over and new place ids; do not reuse the template's shop, moneybag or key.

Last, get the rules learned from the reels the author sends:

python scripts/learned.py

Follow every rule it prints, like the rules below. If it prints new limits (number of clips, total seconds), those replace the numbers written in this skill. If it says there are none, carry on.

Step 2. Plan a story that is easy to follow AND worth finishing

Your assignment names a plot. There are five story shapes; never write the same shape as the last video. Fill in the plot's sentence before writing anything else.

plotThe story in one sentenceanswers.wrongdoer isanswers.proof isoutcome
backfireSCHEMER sets a sneaky trick with an OBJECT to cheat HERO. The trick goes wrong and hits the schemer.the schemerthe trick objecttrick_backfires
misjudgedHERO is sure OTHER is up to no good (sneaking, hiding an OBJECT). Hero follows and finds OTHER was secretly doing something kind.the one who looked badthe object that shows the kindnessmisjudged_was_kind
testAn ELDER secretly tests two others with an OBJECT. The GREEDY one fails; honest HERO passes and is rewarded.the greedy onethe test objecthonest_one_rewarded
underdogBOASTER mocks small HERO before a contest. HERO uses one humble OBJECT cleverly and wins fairly.the boasterthe humble objectunderdog_wins
framedHERO is blamed for what WRONGDOER did. A helper finds PROOF and the truth comes out.who really did itthe wrongdoer's own objectone of wrongdoer_caught, wrongdoer_says_sorry, hero_gets_it_back, hero_forgives

What makes it interesting (a reader rates this, and under 4/5 fails):

  • Open on a question. Clip 1 must make the viewer wonder something: why is she sneaking out at night? what is he hiding in that sack? will the trick work?
  • The twist must not be guessable from clip 1. The viewer should expect one thing and get another: the "thief" was feeding a hungry friend; the trap catches the one who set it.
  • Show the object early, pay it off late. The OBJECT is on screen before the twist, and the twist changes what it means.
  • Raise the stakes once in the middle: it gets worse, or the schemer gets closer to winning.
  • End on a feeling: a laugh at the schemer, a hug, a prize. Not a lecture.

Rules for every plot:

  • Exactly 3 characters: the hero, the other main character, and one more (helper, elder or judge). Use the three from your assignment.
  • One problem, one object, one ending. No side plots, no "to be continued".
  • OBJECT is one prop from the library, from the list in your assignment.
  • Keep it all-ages: no romance beyond hand-holding, no hitting, no weapons.
  • If the user's idea names specific characters or a plot, theirs win; keep the rest of the assignment.

Step 3. Write episode.json

Copy episodes/_template/episode.json to episodes/<slug>/episode.json (slug: lowercase-with-dashes) and replace every value. Keep the same keys.

Episode fields:

  • series: Orchard Row. part: 1. plot: the plot from your assignment (the template is a framed story; change it).
  • title: <Who> <does what>, But <reversal> or ..., Then <reversal>. 8-16 words. Must be true.
  • logline, moral, twist: one sentence each.
  • answers: { "hero": cast id, "wrongdoer": cast id, "proof": prop name, "outcome": ... } with the meanings from the plot table in step 2. These are the facts a viewer must be able to work out. The reviewer is tested against them.
  • locations: 3 places, each { "kind": "indoor" or "outdoor", "time": ..., "ground": "#rrggbb", "wall": "#rrggbb" (indoor only), "elements": [...] }.
    • elements: 3-8 set pieces written name@slot or name@slot:#rrggbb. Slots: bl bc br (back), ml mr (middle sides), fl fr (front edges). One ground piece per slot.
    • Give each place a different time so every change of place is obvious.
  • clips: 7-10 clips. Every plot starts with hook, has a setup at clip 2, at least one escalation, one silent reaction, one twist at 35-85% of the runtime, and ends on payoff. What each beat holds depends on the plot:
beatbackfiremisjudgedtestunderdogframed
hookSchemer shows the trick object and boastsHero spots the other sneaking with the objectElder says "I will test them" and shows the objectBoaster mocks the heroThe accusation or the loss
setupHero, unaware, says what they are about to doHero says what they think is going onHero and the greedy one arrive; hero says what they needHero says they will still tryHero says they did not do it
escalationThe trick is set; it looks like it will workHero follows; it looks worse and worseThe greedy one grabs or hides the object and liesContest starts; boaster is far aheadIt gets worse; helper says where they will look
reaction (silent)The moment before the trick springsHero peeks into the placeThe elder watching, hiddenHero thinking, holding the objectHelper searching
twistThe object does the opposite: it hits the schemerThe object is revealed as a gift or helpThe elder steps out and names the object as a testHero uses the object and overtakesHelper holds up the proof and names it
consequenceSchemer says what they tried to doHero says they were wrongThe greedy one admits they kept itBoaster admits the hero was cleverWrongdoer says what they did
payoffHero wins or is safe; a last funny lineThey share it; hero says sorry or thanksHero gets the rewardHero holds the prizeThe result, already done

Plant the object. The answers.proof prop must be seen (held or placed) before the twist, and held or placed again in the twist clip, whose line says its name. In a framed story it must be the wrongdoer's own thing, in the wrongdoer's hands in clip 1, and nobody else holds it until the twist. Clips 1 and 2 are in the same place. Never cut to a place for one shot and straight back. The hero speaks in clip 1 or 2 and the other main character speaks in the first three clips.

Lessons from failed reviews: a look is not enough, characters must say what they did or thought. The ending must show the result already done (the prize is in their hands, the bell is fixed), not a promise. Before a silent shot, a line must say where that character is going and why. Do not have a character carry an object that belongs to someone else unless a line says so.

Clip fields:

  • beat, location (an id from locations).
  • shot: medium (two characters), close or extreme_close (one face; needs focus), wide (three characters or a walk), low_wide (someone powerful).
  • move: static push_in pull_out orbit_left orbit_right tilt_up handheld. Use push_in on reveals.
  • focus: a cast id on screen, or all. A cast id is required for close and extreme_close.
  • staging: 1-3 characters, each { "who": id, "at": "left|center|right", "gesture": ..., "emotion": ..., "holds": prop, "look": "other|camera|up|down" }. One character goes at center; two go at left and right. Every character needs an emotion.
  • speaker + line: optional, always together. The speaker must be in staging.
  • duration: only for clips with no line, 1.5-5 seconds.
  • placed: props standing in the scene: { "prop": name, "at": position, "y": 0.3, "scale": 2 }. y is height above the floor; scale 2-3.5 so it reads. With two characters on screen use far_left or far_right, never center.
  • sfx: sounds as name@seconds, for example "[email protected]".
  • music: quirky (light), tense (threat, reveal), sad (loss), none.

How to write lines people can follow:

  1. 2-10 words, one idea, a complete sentence ending in . ! or ?. Never trail off.
  2. Everyday words. If a 9-year-old would not know the word, change it.
  3. Say names. Start lines with the name of the person being spoken to: Chad, you took it! A character never says their own name.
  4. Say what things are. The twist line must contain the object's name: Look, a note!
  5. Say what you see. A line should match what is on screen in that clip.
  6. No hints, no riddles. If a fact matters, a character says it out loud.
  7. The last line closes the story: who was right, and what happens now.

Other rules the linter checks: twist starts at 35-85% of the runtime and its music differs from the clip before; at least one clip has no line; never more than 3 clips in a row in one place; not the same place AND shot twice in a row.

Step 4. Lint until it passes

python scripts/lint_episode.py episodes/<slug>

Fix every ERROR exactly as it says and rerun until it prints PASS. Fix WARN lines too.

Step 5. Cold-reader review (do not skip, do not do it yourself)

You wrote the story, so it will always seem clear to you. Someone who has not seen your plan must read it and prove they understood it.

python scripts/story_review.py episodes/<slug> --packet

Start a fresh subagent (Agent tool, model haiku) with exactly this prompt and nothing more:

Read the file <packet path printed above>. Follow its instructions. Write your JSON answers to <answers path printed above>. Do not read any other file in that folder. Reply "done".

Then grade it:

python scripts/story_review.py episodes/<slug> --grade
  • REVIEW PASS: go on.
  • REVIEW FAIL: it lists what the reader got wrong, or says the story was not interesting enough (rewrite the hook to raise a question and make the twist less guessable). Rewrite the lines to fix exactly that (usually: name the person, say the fact out loud, simplify the ending), lint again, run --packet again, and use a new subagent. Never edit the answers file and never tell the reviewer the intended answers. If it still fails after 3 rounds, start over with a simpler story.

Step 6. Draft render and look at it

python scripts/render_episode.py episodes/<slug> --draft

One to two minutes. It renders two stills per clip, in order, into episodes/<slug>/out/sheet.jpg. Read that image and check: every character fully in frame and not hidden; the proof clearly visible in the twist clip; the two stills of a clip are not identical; front set pieces are not in front of a character. Fix by editing at, shot, focus, gesture or placed, lint, redraft. (Changing lines, gestures or held props means running the review again.)

Step 7. Final render

python scripts/render_episode.py episodes/<slug>

About 40 minutes on this laptop: run it in the background and wait. Output: episodes/<slug>/out/<slug>.mp4. Quality is chosen automatically (see "The look" below); add --quality film or --quality gpu only when the user asks for a specific one.

Step 8. Quality gate

python scripts/prepublish.py episodes/<slug>

This listens to the finished audio (speech-to-text) and checks that the scripted lines, including the last one, are really audible; checks picture, length and loudness; and requires the story review to have passed for this exact script. READY means it is good to post. BLOCKED lists why.

Step 9. Report

Tell the user: the mp4 path, its length, the title, the reviewer's one-line retelling of the story, and the gate result.

Do not

  • Do not use any name that --library did not print.
  • Do not use characters, names or designs from other channels, shows or memes.
  • Do not edit files in scripts/ or config/ while making an episode.
  • Do not add a narrator. Do not end on a cliffhanger.

The look: claymation (settings, not something to redo per episode)

The picture is made to look like plasticine puppets on a tabletop set, shot as stop motion. the author's reference (2026-11-23) is the "clay stories" genre: a clay family with big heads, bead eyes, strand hair and scored clothes, shot close with a soft blurred backdrop. He rejected fruit puppets with a clay coating as "still the same look", so the cast is now sculpted people. It is switched in config/config.json -> render:

  • cast: people (default; the sculpted clay people in scripts/blender/clay_people.py) or fruit (the earlier fruit puppets in fruit_render.py). Same ids, names and voices, so every episode file works with either. One run: FS_CAST=fruit. Each cast entry in config/cast.json has a person block (height, skin, hair style, top, bottom, extras) beside the fruit model.
  • look: clay (default) or classic (the earlier smooth look). One run: FS_LOOK=classic.
  • quality: auto picks film when Blender's Cycles finds a graphics card and laptop when it does not. laptop = Eevee at full 1080x1920, 24 samples (this machine: Intel Arc, no Cycles GPU; measured about 6 s a photo with the clay people and sets, so a 30 s episode is about 45 minutes). fast = Eevee at 810x1440 upscaled (3 s a photo). gpu = Eevee at 1080x1920, 64 samples. film = Cycles path tracing on the card, 128 samples, denoised: the best picture, meant for the desktop with the NVIDIA card. film on this laptop runs on the CPU at about 8 minutes per full-size frame: only use it here for a single still.
  • step: 2 = every pose is held for two frames ("on twos"), so only half the frames are rendered.

What makes it read as clay (keep these if you touch the renderer):

  1. Nothing is exactly round or flat: every mesh is pushed in and out by soft dents (lumpy, lump_d), boxes are pressed slabs with round edges, a character's clothes follow its lumps.
  2. Hand marks at four sizes in one shared node group (clay_group): thumb dents, dragged tool strokes, finger prints, fine grain. Creases are a little darker; pressed patches a little shinier.
  3. Each material is the tabletop version of itself: cloth is a ribbed slab, wood is scored, metal is painted foil. Eyes, lamps and glass stay clean and glossy for contrast.
  4. Stop-motion timing: poses on twos, mouths snapped to a few shapes, a tiny re-posing wobble on whoever is being animated, and finger marks on characters that shift every few holds ("boil").
  5. Soft, close light and shallow focus, so the set reads as small.
  6. The people are real sculpted geometry, not a texture on a ball (clay_people.py): an egg head with bead eyes under rolled lids, a stuck-on nose and ears, hair laid on as ropes of clay (HAIR styles: fringe, sidepart, quiff, bob, long, bun, backbun, pigtails, ponytail, bald), clothes as thick slabs with real ribs and pleats plus scored tool lines (pmat patterns), and ready-made mouths swapped per photo. People stand shoulder to shoulder (place) and the camera frames them by head size (Cam.update, the people branch).
  7. The sets are hand-made too (scripts/blender/clay_sets.py, called from build_parts and build_set when the look is clay). The library still describes set pieces as plain boxes, balls, cylinders and cones; the near ones are swapped for model-maker versions: a 4-sided roof cone becomes rows of pressed-on tiles, a leaf ball becomes a clump of balled-up lumps, a wood cylinder gets bark or staves, wood boxes are scored into planks along their long side, stone is pressed into blocks, house plaster shows brick patches. Rooms get wallpaper, a wainscot and floorboards; outdoor sets get hills far behind and grass tufts, flowers and pebbles on the ground (kept clear of where the puppets stand). Everything is seeded from the place's description, so a place looks the same in every shot. The far backdrop (CHEAP) stays plain because it is out of focus.

The first render after any change to the materials compiles shaders once on this laptop (about 10 minutes, then cached by the graphics driver). To judge a look change, render one still: blender -b --factory-startup -P scripts/blender/fruit_render.py -- <episode>/work/scene.json <abs out dir> --stills 1 --clips 2 --quality film --scale 0.5 --samples 32 (about a minute on the CPU, no shader compile). Finished samples are in samples/clay_people/.

When the author sends a reel to learn from

He sends Instagram reels, TikToks and Shorts as references ("learn how they make these"). Do not make a video in reply. Study the reel: follow research/reels/README.md (watch it with the yt-watch script in reel mode, write one breakdown, update research/reels/PATTERNS.md and _Index.md), then apply it as section 4 there says: each lesson goes into use at once through scripts/learned.py (a rule the writer reads in step 1, a setting inside fixed bounds, or one small script change behind a test gate that can be put back). We take principles, never their characters, lines or look. Changes to the clay look are not applied by a run: they wait for his yes.

Reels also arrive without a message: he shares them from his phone to the contact Reel Study (his own mail address with +reels), and they queue in research/reels/inbox.md. When he says "check the reels" or "check the inbox", or you are about to study a reel anyway, do an inbox run (section 0 of that README; scripts/reel_inbox.py keeps the queue). The scheduled task reel-inbox-check does the same four times a day (research/reels/scheduled-check.md).

Comparison shorts (a second series, since 2026-11-28)

When he asks for a "comparison short", a "split-screen short" or "another one like the plant one": that is not an episode. It is 12 to 15 seconds, one unbroken shot, no dialogue, a few yellow labels, made with the same clay people. Read shorts/README.md and copy shorts/001-forgotten-plant/. None of the episode steps above (variety, lint, review, prepublish) apply to it.

Extending the library (only when the user asks, or as a gated change for a learned lesson)

A lesson from a reel may add a prop, set piece, gesture or sound cue without him asking, but only the way research/reels/README.md section 4c says: python scripts/learned.py backup first, the gate after, and never the files that hold the clay look.

Everything a story can use is plain data in scripts/blender/library.py: PROPS, ELEMENTS (set pieces), EMOTIONS, GESTURES, SHAPES and SKINS. Parts are built from boxes, balls, cylinders, cones and tori with a material name (clay, metal, wood, cloth, paper, stone, leaf, glow, glass, plaster, roof). A new gesture also needs its pose in Person.update in scripts/blender/clay_people.py (and Character.update in fruit_render.py for the fruit cast). New character: config/cast.json (give it both a model and a person). New hair style: HAIR in clay_people.py. New sound: scripts/sfx.py. The linter reads the library, so new names work at once. Render a draft and look at it.

Verwandte Skills