Λογότυπο Handwriting Stand Up

Handwriting Stand Up

Κοινότητα
limin112
handwriting-stand-up

Turn a screen recording of handwriting (or a photo of handwritten text) into a single-file HTML "continuation" — the recording plays, the ink lifts off the page as solid 3D letters, a short animated story plays out in front of them (medieval-marginalia characters on a pop-up paper stage, captions, synthesized sound), and everything lies back down on the page at the end. Use when the user sends a video or photo of handwriting and asks to make it 立起来 / 站起来讲故事 / 做成 HTML 延续 / 让手写字变 3D / animate handwritten words into a story, or asks for a new story on an existing stand-up project.

Add to TypingMind

Επισκόπηση

Εκδότηςlimin112
Αποθετήριοmin-skill
Όνομα δεξιότηταςhandwriting-stand-up
Αστέρια
507
Διακλαδώσεις
71
Συνοδευτικά αρχεία
14
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 14

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό limin112. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Handwriting Stand Up στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/limin112/min-skill/tree/main/skills/handwriting-stand-up
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/limin112/min-skill.git /tmp/min-skill
mkdir -p .claude/skills
cp -r /tmp/min-skill/skills/handwriting-stand-up .claude/skills/handwriting-stand-up
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Handwriting Stand Up σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Handwriting Stand Up μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Handwriting Stand Up δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Handwriting Stand-Up

Input: a phone screen recording of someone writing a word (the Notes-app kind), or a photo of handwriting. Output: one self-contained .html (video, fonts, images inlined; ~0.5 MB) that

  1. plays the recording inside an iPhone mock (photos: a paper card),
  2. hands over to a pixel-aligned vector copy of the last frame, dissolves the UI, and stands the written pieces up one by one as thick black ink on an endless paper stage,
  3. tells a ~90 s story in front of them, written in story.js,
  4. folds everything back onto the page and returns to the phone — the note now has the story's doodles in its margin.

Everything runs on one paused GSAP timeline, so any moment can be screenshotted by seeking. That is what makes iterating cheap: change a number, re-shoot three frames, look.

input.mp4 / .jpg ──prepare.py──▶ project/                     ──shot.js───▶ shots/*.png (check)
                                  index.html                   ──build.py──▶ dist/<name>.html
                                                               ──record.js─▶ dist/<name>.mp4 (optional)
                                  assets/source.js   ← traced glyphs, pivots, page size, video
                                  assets/story.js    ← you write this
                                  assets/engine.js   ← stage, camera, characters, audio
                                  trace_check.png    ← look at this before anything else

Step 1 — Prepare and check the trace

bash
H=~/.claude/skills/minli-skill/skills/handwriting-stand-up     # wherever this skill lives
python3 $H/scripts/prepare.py <recording.mp4|photo.jpg> --out <project-dir>

Then open <project-dir>/trace_check.png. It shows each piece in its own colour with its index, and a dashed line where that piece is hinged to the paper. Get this right before writing any story — every later step depends on it.

  • Pieces are what stand up one at a time. Latin: roughly one per letter or per connected cursive run (Opus5 → O / pus / 5). CJK: one per character (radicals like 亻 are merged automatically). Wrong split → --cuts x1,x2,… (source px, split lines between pieces). Too many tiny pieces → --max-pieces 5 or --merge-gap <px>. Keep it ≤ 8: each piece is 18 SVG layers.
  • Pivots (dashed lines) are the hinge. They should sit on the baseline of each piece; a descender (the stem of p/g/y) below the line is intended — it gets planted into the paper. Wrong → --pivots y1,y2,… (one per piece, source px).
  • UI picked up as ink (buttons, status bar) → --roi x,y,w,h. The default already skips the top/bottom 11 % of portrait recordings and drops anything already dark in the first frame.
  • Nothing / too much found → --thresh N (ink = gray < N). Assumes dark ink on light paper.

Re-running prepare.py keeps an existing assets/story.js (--fresh-story to reset it). --engine-only --out <dir> refreshes just the engine files in a project.

Step 2 — Write the story

assets/story.js starts as the template: a complete ~90 s boxing tale ("两位骑士为这页纸打一架") that already works on any traced word, because every position is relative to the handwriting (S.WORD) and to the ring placed in front of it.

Ask what story they want if they didn't say. Then, cheapest first:

  1. Recast — edit CAST (names, colours, hair, props) and LINES (every caption) and meta (intro title, hero line). This alone makes it a different story. The worked example examples/opus5/story.js is exactly this: Dario vs Altman, "$1T" glove, a book titled 宪法.
  2. Re-plot — keep the machinery, rewrite beats in build(S). Read references/story-api.md first; it lists every tool (S.knight, S.writeIn, S.shot, S.caption, S.card, S.lights, S.rock, S.tag, S.finale, …) and the poses that read well.

Story craft that held up:

  • One idea per caption, ≤ 18 CJK chars, on screen 2.2–3.5 s. Say what the picture can't (motive, irony); don't narrate what is visible.
  • Structure: rise (engine, 0–9 s) → setup (who, what's at stake) → 3 escalating beats → a turn that uses the handwriting itself (a letter wobbles, the last glyph lends its light) → a quiet resolution → S.finale() with a last line that points back at the page.
  • Tie the plot to "standing up": knocked out = folded flat back onto the paper; helped up = stands again; the end = everything lies down and becomes doodles.
  • Real people are fine as affectionate parody; keep it good-natured, nobody humiliated, and let the loser be helped up.

Step 3 — Preview by seeking, not by watching

bash
cd $H/scripts && npm i playwright-core          # once
node $H/scripts/shot.js <project-dir> --times 6,17,24,34,37.4,48,59,62.5,66,77,90
node $H/scripts/shot.js <project-dir> --times 6,24,62.5,90 --size 390x844 --dpr 2   # phone
node $H/scripts/shot.js <project-dir> --live 15                                    # real-time: errors + frame pacing

It writes shots/t<time>_<size>.png plus a contact sheet shots/sheet_<size>.png — look at the sheet. It exits non-zero and prints any page error. Check both a landscape and a portrait size: portrait uses each shot's pspan and needs its own framing.

What to look for: captions sitting on the ring's front rope; faces too small to read (tighten span); letters cut off at the top in wide shots (raise span or oy); a pose that reads wrong from the camera angle (see the "flat reads as upright" note below).

Step 4 — Build

bash
python3 $H/scripts/build.py <project-dir>          # → <project-dir>/dist/<project-name>.html

Fetches Noto Serif SC / Cormorant Garamond / UnifrakturMaguntia from Google Fonts subset to the characters the story uses and inlines everything. Offline → --no-fonts (system fonts). The file opens from disk, in WeChat, or on any static host.

Step 5 (optional) — Export an MP4

bash
node $H/scripts/record.js <project-dir> --out film_16x9.mp4                            # 1920×1080
node $H/scripts/record.js <project-dir> --size 540x960 --dpr 2 --out film_9x16.mp4      # 1080×1920, for phones

Renders frame by frame by seeking (recording first, then the story; no dropped frames), renders the synthesized soundtrack offline with the same timeline calls, and muxes both. --from/--to for a slice. ~0.1 s per 1080p frame (~5 min for the 100 s film) on Apple silicon with Chrome for Testing and GPU flags; run sizes one after another — two at once starve each other. Layout follows the viewport, so pick the CSS size the audience will see (540x960 --dpr 2 looks like a phone).

Things that will bite you

Every animation must live on S.tl. A bare gsap.to() or setTimeout breaks seeking, replay and the screenshot tool. Randomness too: derive it from t (the engine's idle bob, flag flutter and blinks are all functions of timeline time).

fromTo values that only appear in the "from" object don't survive seeking. Position a sprite with S.set(obj, {x, y, h, a: 0}, t) then S.to(obj, {a: 1}, t). Same for DOM you tween more than once — tween a plain state object and apply it in render, like stage.rc.

Switch expressions with S.set, not in a long tween. S.set(k.s, {face: 'ouch'}, t). Faces: calm smile grin firm ouch tired sad; eyes: open x shut.

A card lying flat still reads as a standing figure from a low camera. Folding a knight onto the paper (rx: 0) seen from tilt 70° just looks shorter. For "knocked flat", also rotate it in the paper plane (tip: 68) and crane the camera up (tilt ≈ 34); for anything in between, add dizzy stars.

Walk the actors to the front of the ring before S.finale(). Folded doodles extend behind their feet, toward the lettering; if they stand near the back they land on the letters.

Wide words dwarf the cast. The template scales shot spans with WORD.w; for very long lines pick a camera x near the action and let the letters crop, or cut the line into fewer pieces.

The spotlight darkens everything in 2D. A glyph with glow > 0 automatically gets a 2D light on top so it still shines; anything else you want visible in the dark must sit inside the pool (S.spotAt).

Don't trim or re-time the recording. The hand-over is seamless only because the plate and the traced glyphs come from the recording's last frame. Change the input → re-run prepare.py.

Performance is fine on phones for ≤ 8 pieces, 3 actors and ~20 sprites at once. Blur/filter on big DOM and backdrop-filter are the expensive parts; the engine only uses them briefly.

Requirements

  • Python 3.9+ with opencv-python and numpy; ffmpeg + ffprobe.
  • Node 18+ with playwright-core and any Chrome/Chromium — only for shot.js.
  • Network only for fonts at build time (optional).

Developed on macOS (Apple Silicon); nothing is macOS-specific.

Files

  • engine/ — index.html, style.css, engine.js, gsap.min.js, story.template.js. prepare.py copies these into each project.
  • scripts/prepare.py · scripts/shot.js · scripts/build.py · scripts/record.js
  • references/story-api.md — the S toolkit, coordinates, figure options, sound list.
  • examples/opus5/ — the original: input.mp4, story.js, built opus5.html, preview.jpg. Rebuild: prepare.py examples/opus5/input.mp4 --out /tmp/opus5 && cp examples/opus5/story.js /tmp/opus5/assets/ && build.py /tmp/opus5.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Handwriting Stand Up;

Turn a screen recording of handwriting (or a photo of handwritten text) into a single-file HTML "continuation" — the recording plays, the ink lifts off the page as solid 3D letters, a short animated story plays out in front of them (medieval-marginalia characters on a pop-up paper stage, captions, synthesized sound), and everything lies back down on the page at the end. Use when the user sends a video or photo of handwriting and asks to make it 立起来 / 站起来讲故事 / 做成 HTML 延续 / 让手写字变 3D / animate handwritten words into a story, or asks for a new story on an existing stand-up project.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Handwriting Stand Up στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Handwriting Stand Up είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Handwriting Stand Up στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/limin112/min-skill/tree/main/skills/handwriting-stand-up. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Handwriting Stand Up;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Handwriting Stand Up;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Handwriting Stand Up με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Handwriting Stand Up;

Δημοσιεύεται στο GitHub από τον λογαριασμό limin112. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇