Logo : Inkworks

Inkworks

Communauté
Moh4696
inkworks

Builds interactive 3D "how it works" explainer pages for any machine or mechanism (engines, pumps, locks, gearboxes, turbines, printers, hearts) in the Inkworks look, a white engineering drawing with ink-outlined three.js parts, numbered balloon labels and a cycle you can slow down, step, scrub and orbit. Two layouts, a full drafting sheet with instruments and a cycle chart, or a clean figure card with the model alone. You write one mechanism file of geometry, kinematics and words, the kit does the rest. Also records a frame-exact 60 fps walkthrough clip with a visible cursor and can add a code-synthesised sound track. Use for "3D explainer of how X works", "interactive simulation of an engine", "animated cutaway", "inkworks", "drafting sheet", "blueprint style 3D page", "explain this mechanism in 3D", or a clip of one for X or YouTube.

Présentation

ÉditeurMoh4696
Dépôtinkworks-skill
Nom de la compétenceinkworks
Étoiles
750
Forks
91
Fichiers inclus
21
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 21

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par Moh4696 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Inkworks dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/Moh4696/inkworks-skill/tree/main/skills/inkworks
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Moh4696/inkworks-skill.git /tmp/inkworks-skill
mkdir -p .claude/skills
cp -r /tmp/inkworks-skill/skills/inkworks .claude/skills/inkworks
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Inkworks dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Inkworks dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Inkworks n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Inkworks

A page made this way is an engineering drawing that moves. One machine, drawn in light grey parts with ink outlines on white grid paper, labelled with numbered drafting balloons, running through its cycle slowly enough to follow. People can pause it, step one phase at a time, scrub a chart, follow one cylinder, open the throttle and orbit the camera.

It started as a four-cylinder engine and was then split into a reusable kit and one small file per machine. The second machine, a bicycle floor pump, proved the split works. Both ship here as worked examples.

What you get

PathWhat it is
kit/A complete page. Copy it, add a mechanism, serve it. No build step, three.js is vendored
kit/js/kit.jsRendering kit: toon parts with ink edges and outlines, hidden-line ghosts, flow particles, flashes, gears, springs
kit/js/sheet.jsEverything around the machine: DOM, state, loop, both layouts, controls, gauge, charts, labels, tags
kit/js/mechanisms/starter.jsThe smallest complete mechanism (a slider-crank), every field commented. Start here
kit/js/mechanisms/engine.jsInline-4 four-stroke engine: 4 instances with phase offsets, valvetrain, spark, gas, heat
kit/js/mechanisms/pump.jsBike floor pump: 1 instance, phase bounds that move with state, mechanism state, an action button
kit/tools/smoke.pyClicks every control in both layouts at three sizes and fails on any page error
kit/tools/shoot.pyHeadless stills at any size
kit/tools/record.pyFrame-exact 60 fps clip with a drawn cursor and real mouse events, from a plan in kit/tools/clips/
kit/tools/engine_sound.pyExample sound track synthesised from the clip's per-frame state
scripts/new_project.pyCopies the kit into a new folder with a renamed mechanism and a chosen layout
references/mechanism-api.mdEvery field a mechanism file can set, and what the page does with it
references/look.mdThe visual spec for both layouts. Keep it
references/clips.mdRecording the walkthrough and adding sound
references/lessons.mdThings that broke while building this, and the fixes

Needs a browser and Python 3 for the static server. The tools need pip install playwright && playwright install webkit, ffmpeg for clips, and numpy plus scipy for sound.

Workflow

  1. Pin the machine down. Before any code, settle: what it is, who it is for, what single value drives it (crank angle, handle stroke, gear turn, heartbeat), how many repeated units it has (cylinders, pistons, chambers), what the phases of one cycle are called, and what the reader controls (throttle, pumping speed, load). If the user has a reference to answer, ask what it looks like so the page stays visibly different from it.
  2. Start the project. python3 scripts/new_project.py <dest> --name <machine> --from starter (or --from engine / --from pump when the new machine is close to one). Add --layout figure for the clean card. Serve it with python3 <dest>/serve.py <port>.
  3. Write the kinematics first. Closed-form functions of the driver angle only: positions, valve lifts, pressures, volumes. If you cannot write a part's position as a function of the angle, the page cannot scrub or step it. State that accumulates (a tyre filling, heat) goes in state.mech and only advances when the angle moves forward.
  4. Build the parts. Use kit.part() for solids, kit.ghost() for housings and casings, M.glass for anything see-through that holds the action (manifolds, barrels, hoses), kit.stream() for flowing fluid. Keep to the material palette in references/look.md.
  5. Words. Phase names with a one-word nickname, two or three plain sentences per phase that say what moves and why, labels for 8 to 14 parts, 3 to 5 live readouts. Write for a curious 14 year old. No em dashes.
  6. Frame it. Set view.target, view.dir and view.box (the bounding box of everything that moves, at full travel), then tune radius, radiusFigure and radiusCompact until nothing leaves the frame at either end of the cycle.
  7. Check. Run kit/tools/smoke.py (all checks must pass), then look at stills from kit/tools/shoot.py at 1440x900, 1280x720 and 390x844 in both layouts. Look at both ends of the stroke, not just the start.
  8. Clip (optional). Copy a plan from kit/tools/clips/, adapt it, check with --frames-every 30, then render. Clips are silent unless the user asks for sound; see references/clips.md.

The rules

  1. One driver variable. Everything on screen comes from state.theta. Play, step, scrub, the recorder and the sound track only ever move theta. No wall-clock animation inside pose(), apart from smoothing that uses dt.
  2. Phases are honest. Phase boundaries come from the physics. If they move (the pump's delivery starts later as the tyre fills), compute them in bounds(state); never fake a fixed split.
  3. Show the inside. Housings are hidden-line ghosts or translucent glass, never opaque shells. The interesting part must be visible from the default camera.
  4. Colour means phase. The four hues mean the same thing everywhere on the page: 3D gas, chart rows, list dots, tags, readouts. Heat is shown by lerping a material's colour to red, not by emissive glow, which washes out on white.
  5. Labels never pile up. Callouts are laid out every frame in two columns. Point each one at a part that is visible from the default view, and give the compact list for phones.
  6. Drawing, not render. Light greys, ink outlines, flat toon light, no shadows, no environment maps, no post effects.
  7. Real behaviour. Use the real mechanism: real firing order, real valve timing, real check valve logic. Simplify numbers, never the logic, and say so in the text when you round.

Two layouts

  • sheet (default for most): grid paper, ink border with zone letters, title, phase panel with readouts (A), instruments with gauge, input slider, speed buttons, x-y plot, transport and title block (B), cycle chart you can scrub (C). Best for a page people explore.
  • figure: the model alone on a rounded card, labels both sides, instance tags with dashed leaders above the units, a status line ("Shown at 1/60 speed · running"), a phase chip, and a slim control strip. Best for embeds, posts and clips.

Pick with meta.layout in the mechanism, data-layout on <body>, or ?layout= in the URL. Both are always available, so show the user both.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Inkworks ?

Builds interactive 3D "how it works" explainer pages for any machine or mechanism (engines, pumps, locks, gearboxes, turbines, printers, hearts) in the Inkworks look, a white engineering drawing with ink-outlined three.js parts, numbered balloon labels and a cycle you can slow down, step, scrub and orbit. Two layouts, a full drafting sheet with instruments and a cycle chart, or a clean figure card with the model alone. You write one mechanism file of geometry, kinematics and words, the kit does the rest. Also records a frame-exact 60 fps walkthrough clip with a visible cursor and can add a...

Pourquoi utiliser Inkworks sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Inkworks se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Inkworks dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/Moh4696/inkworks-skill/tree/main/skills/inkworks. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Inkworks ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Inkworks ?

Autant que vous le souhaitez. Vous pouvez utiliser Inkworks avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Inkworks est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par Moh4696 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇