شعار Claude Animation

Claude Animation

المجتمع
buildwithhanif
claude-animation

Make short hand-drawn 2D animations entirely in JavaScript — storybook / textured-editorial illustration (paper grain, hatching, blue construction guides, glossy insect characters, nest cross-sections) and brush-ink + watercolour explainers — rendered frame-exact with node canvas and ffmpeg, with synthesised sound. Use for "bikin animasi", "animate this story", "hand-drawn animation", "storybook animation", "JS animation", "line drawing animation", "animasi semut", kids' story or science explainer animations. Not for UI micro-interactions, slide decks, or talking-head video editing.

نظرة عامة

الناشرbuildwithhanif
المستودعclaude-animation-skill
اسم المهارةclaude-animation
النجوم
117
التفريعات
17
الملفات المرفقة
29
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 29

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها buildwithhanif على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Claude Animation في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/buildwithhanif/claude-animation-skill/tree/main/plugins/claude-animation/skills/claude-animation
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buildwithhanif/claude-animation-skill.git /tmp/claude-animation-skill
mkdir -p .claude/skills
cp -r /tmp/claude-animation-skill/plugins/claude-animation/skills/claude-animation .claude/skills/claude-animation
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Claude Animation في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Claude Animation تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Claude Animation بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

claude-animation

Frame-exact, hand-drawn-looking 2D animation written as code. A film is a pure function frame(ctx, t); the library draws the look (brush, pencil, watercolour, grain, hatching), the rigs act (a detailed ant, a bean-bodied cast), and the harness renders, previews and checks it.

Every rule below is something that went wrong on a real film — a 59 s brush-ink + watercolour history recap and a set of storybook insect films — and took a render to find.

Read first

I need to…Go to
Make an original animation from a briefreferences/workflow.md → templates/beat-sheet.md → templates/film-template.mjs
Make it more detailed (materials, textures, characters)references/detail.md — the detail bible. Read it before drawing any surface
Draw / pose / walk the ant, or build a new creature rigreferences/characters.md, lib/rigs/ant.mjs
A colony: leaves, brood, fungus, roots, a nest cross-section with walkable tunnelslib/colony.mjs
Faceted low-poly poster art (flat vector landscapes, ambient seamless loops)lib/lowpoly.mjs, references/styles.md § 5, examples/claude-balloon/
Action / video-game feel: jumps, punches, hit-stop, shake, sparks, combo, boss barlib/fx.mjs, lib/rigs/critter.mjs, lib/rigs/bug.mjs, examples/claude-game/
People (bean body, stick limbs, watercolour)lib/rigs/bean.mjs
Timing, acting, cuts, camera, transitionsreferences/motion.md
Pick or match a look (editorial-texture, brush-watercolour, line-doodle, 3D type)references/styles.md
Sound: SFX from the picture's timeline, a synthesised bed, loudnessreferences/sound.md, scripts/sound.mjs, scripts/music.mjs
Something brokereferences/traps.md
What other animation skills do, and what we tookreferences/prior-art.md

The library (lib/)

filegives you
core.mjseasing (eOut eIn eIO eBack eElastic eBounce eExpo popS), ss windows, hash rng noise1, catmull pathOf ik, canvas helpers (at line poly smooth ellipse stroke fill taper), texture (hatch fibre grainOver burst speedLines)
pen.mjsPen: tapered brush stroke, pencil (3 broken passes), ring, box (overshooting corners), wash (blooming watercolour), text (writes itself), reveal-in-order, stable named seeds, opt-in boil
textures.mjspaper fibrePaper lightBands sun moon star4 grass soil nightSky fleshCells filmFinish
nature.mjssprout melonLeaf tendril vine blossom bee drop
rigs/ant.mjsant(ctx, x, groundY, s, pose) — the detailed ant (pose.look = ink / fill / tex layers for build-up reveals); antGuides() blue construction lines; seed()
colony.mjsleaf leafPiece egg larva cocoon seedGrain fungus roots nestCanvas (chambers + tunnels baked into soil, returns pathOf walkers)
lowpoly.mjsfacetMass (bake a mass into lit triangles from a ramp, with dome / fade / haze), ridge, skyGradient, facetCloud, RAMPS (canyon, dusk, mesa, forest, ice, water, balloon, cloud)
fx.mjstimeWarp (hit-stop: game time freezes on contact, effects keep running), shake, burstParticles (spark / debris / dust / confetti / ember), landDust, ring, flashAlpha, comicText, floatText, afterimages, starburst, heart
rigs/critter.mjsa blocky action hero: run, jump, flip, squash & stretch, punch, kick, hurt, charge aura, expressions
rigs/bug.mjsa beetle enemy (and boss with horns): scuttle, jaw, flash, squash, spin
rigs/chibi.mjsa big-head cartoon person with real joints, styled by a look preset (hair, glasses, shirt, pocket + pen, pants, shoes): walk / run / jump / cheer / point / wave / carry, eyes, brows, lip-sync mouths, blush, sweat
rigs/bean.mjsperson bust bubble flagCloth hat SKIN
film.mjsrun({...}) → render / sheet / strip / verify; exposure(t, track, fps) for ones / twos / holds

Install once per machine: cd <skill dir> && npm install (only dependency: @napi-rs/canvas). ffmpeg on PATH.

The loop

brief ─▶ style bible + beat sheet ─▶ film.mjs (copy the template) ─▶ sheet ─▶ fix ─▶ strip the fast bits
     ─▶ verify ─▶ render ─▶ cues.json ─▶ sound.mjs ─▶ look at the master's contact sheet ─▶ deliver

Hard rules

  1. Beats before code. Fill templates/beat-sheet.md: every beat has an end state the viewer could point at, a camera, an exposure and a sound cue. Designing inside the code makes slides.
  2. Every surface gets three layers: base → texture → edge. A flat fill is unfinished. The detail bible lists the texture for each material (fruit = packed cells + seeds with highlights, soil = hatch + strata + pebbles, chitin = gradient + form hatch + specular streak + rim light + setae…).
  3. Characters are rigs with anatomy, not blobs. Use lib/rigs/ant.mjs for insects; its local origin is the ground under the waist, so ant(ctx, x, groundY, …) always stands on the ground. Never add a per-call "ground" offset (that exact knob produced stilt legs for two passes).
  4. Boil is a decision, not a default. The textured-editorial look holds still shots perfectly still; the brush-watercolour look boils at 10 fps. Write the choice in the style bible.
  5. Stable seeds. Marks are seeded from a name (pen.begin("ant/body")), never from the frame index, so a held drawing keeps its marks and a re-render is identical. node film.mjs verify must pass.
  6. Look at pixels, every pass. sheet before render, strip around every contact or fast action, and a contact sheet of the encoded master before you call it done. A render that exits 0 proves nothing.
  7. Sound comes from the picture's timeline, ~0.03 s before each contact. No continuous pencil-scratch bed (tested, rejected: it fights everything). Loudnorm the mix.
  8. Show the world, not a slide. A setting needs layers (sky, far, mid, ground, foreground passing the camera), and a place needs inhabitants doing things. The camera moves through it.

Quick start

bash
SK=~/.claude/skills/claude-animation            # wherever this skill lives
mkdir my-film && cd my-film && cp $SK/templates/film-template.mjs film.mjs
CLAUDE_ANIMATION_LIB=$SK/lib node film.mjs sheet 0,1,2,3,4    # look
CLAUDE_ANIMATION_LIB=$SK/lib node film.mjs render             # out/template.mp4
node $SK/scripts/music.mjs bed.wav --dur 5 --end 4.4
node $SK/scripts/sound.mjs cues.json out/template.mp4 out/final.mp4 --bed bed.wav

Worked films in the repo: examples/money-quest/ — a 30 s two-hander adventure (the chibi rig + the critter); examples/claude-balloon/ — a 30 s seamless ambient loop in faceted low-poly (every motion periodic in 30 s, audio in 4 × 7.5 s bars so it loops too); examples/claude-game/ — a 30 s video-game short (platforming, bugs, a boss fight with hit-stop, combo, special, K.O., chiptune from scripts/chiptune.mjs); and examples/ant-colony/ — 32 s, 16:9: a sketch → ink → colour → polish build-up, a leafcutter cutting and carrying a leaf through a meadow, a dive into a nest cross-section (fungus garden, nursery, queen, stores, tunnels full of traffic), 240 sound cues from the timeline; renders in ~27 s.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Claude Animation؟

Make short hand-drawn 2D animations entirely in JavaScript — storybook / textured-editorial illustration (paper grain, hatching, blue construction guides, glossy insect characters, nest cross-sections) and brush-ink + watercolour explainers — rendered frame-exact with node canvas and ffmpeg, with synthesised sound. Use for "bikin animasi", "animate this story", "hand-drawn animation", "storybook animation", "JS animation", "line drawing animation", "animasi semut", kids' story or science explainer animations. Not for UI micro-interactions, slide decks, or talking-head video editing.

لماذا تستخدم Claude Animation على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Claude Animation عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Claude Animation في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/buildwithhanif/claude-animation-skill/tree/main/plugins/claude-animation/skills/claude-animation. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Claude Animation؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Claude Animation؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Claude Animation معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Claude Animation مجانية؟

نعم. نشرها buildwithhanif على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇