engine SKILL.md skillB
engine from illodev/drawn-by-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add illodev/drawn-by-code/engine@git:20261002.7d0e422Pins git:20261002.7d0e422 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- illodev/drawn-by-code
- Path
.claude/skills/engine/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261002.7d0e422, committed Oct 2, 2026
- First version recorded
- Sep 24, 2026
- Size
- 11,207 bytes
- Repository stars
- 27
- License
- a license file GitHub does not identify
Technical reference for the drawn-by-code engine. Use it when writing or debugging a scene's code (scene.js), when rendering to MP4 or stills, when touching engine/ or a style kit, or when something jitters, runs slow or doesn't load. Covers the Motion.scene contract, determinism, units, caching and commands.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Engine
2D canvas in headless Chromium, frame by frame. No animation libraries: time is a
variable `t` and every frame is a **pure function of t**.
## Scene contract
```js
Motion.scene({
fps: 24, duration: 6.5,
logical: [1600, 900], // logical units; the output is scaled (k = px/unit)
uses: ['styles/paper-cutout/paper.js', 'styles/paper-cutout/kit.js', 'sandbox/x/cast.js'],
fonts: [{ family: 'Hand', src: 'fonts/PatrickHand-Regular.ttf' },
{ family: 'Shrikhand', src: 'fonts/Shrikhand-latin.woff2' }],
bpm: 120, beatOffset: 0, // musical grid (review.mjs checks the cuts)
shots: [[0, 4, 'Workshop'], [4, 8, 'Box']],
audio: { mix: 'mix.wav' }, // render.mjs adds it automatically
setup(env) { return { kit: PaperKit.make(env) }; }, // → env.state
draw(g, t, env) { ... }, // logical coordinates; the canvas comes already scaled
post(ctx, t, env) { ... }, // optional, in PIXELS: grain, vignette
});
```
`env`: `W, H` (logical), `k`, `fps`, `duration`, `total`, `px: [width, height]`, `state`.
Paths in `uses` and `fonts` are relative to the repo root. An entry can be optional
…Read the whole file at its exact version.
How to install
mdr add illodev/drawn-by-code/engine@sha256:c8741d1a70a82947The line at the top of this page pins the label git:20261002.7d0e422, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_j4nc3iohefr4cisx)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Sep 24, 2026 and Oct 2, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261002.7d0e422 latest | 2026-10-02 | 7d0e422 | 11,207 B | B | view · diff |
| git:20260930.ddcd787 | 2026-09-30 | ddcd787 | 10,823 B | B | view · diff |
| git:20260927.d2faaf2 | 2026-09-27 | d2faaf2 | 9,089 B | B | view · diff |
| git:20260927.38dda83 | 2026-09-27 | 38dda83 | 8,069 B | B | view · diff |
| git:20260925.ae11cd8 | 2026-09-25 | ae11cd8 | 7,374 B | B | view · diff |
| git:20260924.2147771 | 2026-09-24 | 2147771 | 7,115 B | B | view · diff |
| git:20260924.433dc80 | 2026-09-24 | 433dc80 | 7,003 B | B | view · diff |
| git:20260924.29a33f0 | 2026-09-24 | 29a33f0 | 7,000 B | B | view · diff |
| git:20260924.7707275 | 2026-09-24 | 7707275 | 6,888 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:5173)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11207 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
illodev/drawn-by-code · 27 stars · license a license file GitHub does not identify · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_j4nc3iohefr4cisx GET https://markdownregistry.com/api/v1/resolve?ref=illodev/drawn-by-code/engine GET https://markdownregistry.com/api/v1/blob/c8741d1a70a82947dacb7fb1c3337c250ca7621f0d01a415ce1397a61440c7d8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.