mirage-module SKILL.md skillA
mirage-module from paraldameta/mirage-engine is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add paraldameta/mirage-engine/mirage-module@git:20261104.ba0858ePins git:20261104.ba0858e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- paraldameta/mirage-engine
- Path
agent/mirage-module/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261104.ba0858e, committed Nov 4, 2026
- First version recorded
- Oct 25, 2026
- Size
- 7,564 bytes
- Repository stars
- 16
- License
- MIT
Write or fix one Mirage world module (modules/<name>.js) that follows the world protocol - positions only from the site plan, seeded randomness, anchors offered and consumed, NOTES.md requests, walk-grid collision and collider proxies, materials through patch() hooks or the texture layer, triangle and draw-call budgets, and a self-test. Use when asked to "build the pier / walls / terrain / trees module", "add X to the world", when a sub-agent is given one module of a Mirage world, or when a…
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
# One module
You own `modules/<name>.js`, `scenarios/<name>.json` and the `## <name>` section of `NOTES.md`. Nothing else.
Before writing: read `BRIEF.md` (your module brief), `plan.js`, `NOTES.md` (all of it), and
`$MIRAGE/docs/world-protocol.md`. Start from `references/module-template.js` (next to this file).
## Shape
```js
export default {
name: 'pier',
build(ctx) { /* geometry into ctx.root; return anything (others see it as ctx.modules.pier) */ },
anchors: (ctx, built) => ({ lamps: [{ pos: [x, y, z], rotY }] }), // optional: what you offer
finalize(ctx) { /* optional: runs after every build; ctx.anchors has everyone's anchors */ },
ambientVolumes: (ctx) => [{ min, max, factor: 0.35 }], // optional: interiors
};
```
`ctx`: `THREE, plan, R` (your seeded random stream), `rng(sub)`, `geom`, `mat`, `root`, `anchors`, `modules`,
`shared` (what main.js passes, e.g. `tex`; `materials(ctx)` caches `mats` there), `onUpdate(fn(t))`, `collider(mesh)`, `world` (`world.G` uniforms,
`world.camera`), `log`.
## Rules (each one has broken a world before)
…Read the whole file at its exact version.
How to install
mdr add paraldameta/mirage-engine/mirage-module@sha256:8427e66718a3d320The line at the top of this page pins the label git:20261104.ba0858e, 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_j7y3mpigarwu7sca)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 25, 2026 and Nov 4, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261104.ba0858e latest | 2026-11-04 | ba0858e | 7,564 B | A | view · diff |
| git:20261025.cd36420 | 2026-10-25 | cd36420 | 7,432 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7564 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 link to a raw IP address
- pass: No script tag
Source
paraldameta/mirage-engine · 16 stars · license MIT · pushed 2026-11-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_j7y3mpigarwu7sca GET https://markdownregistry.com/api/v1/resolve?ref=paraldameta/mirage-engine/mirage-module GET https://markdownregistry.com/api/v1/blob/8427e66718a3d320e03bc0c43d3374d97c9d90d6c457f558a785e7602b1c1d80
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.