Logo Simulator

Simulator

Cộng đồng
Nyxera0x
simulator

Rebuild any industry as a live simulator in the format of a reference video that already worked. A bright toy-scale isometric map of the whole operation (an airport, a port, a warehouse, a factory) where every vehicle works on one clock and one item is followed through the system, a product UI matched panel by panel to the reference, one camera that only pans and zooms like a user with a mouse, selected vehicles outlined with their route drawn on the ground; then a collision sweep and a frame-by-frame 60 fps film with a synced score. Use when someone asks for a "simulator", a "digital twin", a "living map", an "operations app video", a "how an airport / port / warehouse works" film, or wants to copy the format of a simulator video they liked.

Tổng quan

Nhà phát hànhNyxera0x
Kho mãsimulator
Tên kỹ năngsimulator
Sao
59
Bản fork
18
Tệp đi kèm
88
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 88 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Nyxera0x công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Simulator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Nyxera0x/simulator/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Nyxera0x/simulator.git \
  .claude/skills/simulator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Simulator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Simulator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Simulator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Simulator

One system, one page, one film, built against a reference. Don't invent a look: take a video that already worked apart, write its rules down, and rebuild your system to those rules. Every model is code; no 3D file, no download.

SKILL_DIR is the folder this file lives in. Builds and renders go to ./simulator-out of the folder you run from.

First run

cd "$SKILL_DIR" && npm install && npx playwright install chromium

The video needs ffmpeg on PATH and the sound needs Python 3 (standard library; requests only for ElevenLabs). Set FFMPEG, PYTHON or CHROMIUM to use other binaries.

The example: Rampline, a toy airport

sims/airport-*. Pier B with 3 stands, Cargo C (a warehouse with 6 docks), a hangar, the service road and the taxilane, a city behind the fence. The hero is one container, AKE 48211 AU: the high loader lowers it out of the hold onto a tug's third dolly, the tug tows it to Cargo C, a forklift carries it into dock D3. Around it a truck backs into D6, a jet is pushed back and taxis out, a catering truck lifts its box to a door. The film runs 50 s.

FileJob
airport-shared/style.jsThe palette sampled from the reference, shared materials, rounded boxes, the stage's grade.
airport-shared/airside.jsJet, terminal pier, jet bridge, cargo terminal, tower, hangar, lights, trees, fences, city blocks. Built by subagent A.
airport-shared/gse.js15 ground vehicles from a tug to a forklift. Built by subagent B.
airport-shared/world.jsThe layout, the timetable T, every path, pose(t), the bodies for the collision check.
airport-shared/ui.jsThe product UI, matched over a reference frame. update(state) fills it.
airport-shared/select.jsSelection marks: a wireframe box, a ground glow, a route ribbon.
airport-shared/thumbs.jsCard thumbnails rendered from the models.
airport-shared/film.jsThe camera keys, the clicks, the dropdown, every card.
airport-shared/score.pyAction sounds on the timetable.
airport-film/The film's entry. airport-collide/: the collision sweep. airport-look/: a free camera for checks.
docs/BRIEF.mdThe brief the 2 subagents worked from, as a template.
node "$SKILL_DIR/sims/build.mjs" airport-film      # → simulator-out/dist/airport-film.html, offline

Three more systems on the same kit

Each one reuses the airport's look, stage, UI, selection marks and thumbnails, and adds its own models, world, film and score. Copy the one closest to your system.

SystemFolderStoryLength
Plantline, a car plantplant-shared/, plant-film/, plant-collide/line.js (robot arm with analytic IK and 4 tools, a car body that builds, paints and gets its wheels, skid, conveyor, press, paint booth, rolling road) and plant.js (open-top hall, AGVs, parts racks, car carrier, cell fences). One body from cell C4 to the carrier. runToyPlantFilm({look: 'claude'}) gives the clay version.50 s
Buildline, a construction sitesite-shared/, site-film/, site-collide/machines.js (excavator with reach(), tipper, mixer with a swinging chute and a pour stream, dozer, loader, roller, flatbed) and site.js (a pit heightfield that digs itself as a function of k, rebar, formwork, a slab that spreads from the chute, blockwork, batching plant). One mixer from the plant to the pour. Nothing above 9 m.43.7 s
Stockline, a warehouse networkwarehouse-shared/, warehouse-film/, warehouse-collide/Built from the airport kit alone: three cargo terminals named per site, trucks reversing into docks, forklifts on keyed routes between the trucks and the staging rows, chargers. The detail card shows a depot's stat grid, inventory and forklift fleet.39.4 s

Give every system its own length (somewhere in 38-52 s, never a round number) and uneven gaps between the clicks, so a series never reads as one template.

Keep everything low. A camera at 36 degrees over tall frames (quay cranes, gantries, portals, tower cranes) sees the frames, not the work. Choose systems whose action happens on the ground, or keep the one tall thing to the side.

Building a new system

  1. Take the reference apart. Frames every 3 s at full size, a contact sheet. Write down the camera (does it cut, its angle, how it travels), sample the colours with ffmpeg (crop 6x6 at a point, scale=1:1, rawvideo rgb24), list the UI panels with positions and sizes as a share of the frame, list what a selected object gets. Rules only, no opinions.
  2. Write the brief from docs/BRIEF.md: the frames, the palette in style.js, a scale contract both kits meet (door sills, deck heights), the split between 2 subagents. One of them starts by matching the reference's own vehicle side by side.
  3. Fix the light. createToyStage uses Neutral tone mapping: ACES greys pale grounds out. Sample the ground in a still and compare it to the reference's hex.
  4. Match the UI over a frame. Put a reference frame under the HTML at 50% opacity and match every panel. Use your own words. Watch for class names that clash with sims/kit/style.css (.prog is taken).
  5. Write the day as a function of time in world.js: one hero item's timetable, every vehicle on a path by arc length (CatmullRomCurve3, centripetal), trains as cars at fixed distances behind the leader on the same path, anything carried placed from scratch every frame.
  6. Direct it like a user. One azimuth and elevation for the whole film; keys of {t, x, z, d} with eased glides and a zoom-out arc on long moves; the camera can ride a moving vehicle. Clicks switch the detail card; the selected vehicle gets the box, the glow, its route. Site changes go through the switcher's dropdown.
  7. Sweep for collisions with airport-collide: every 0.1 s, oriented boxes from each body's own geometry, jets as fuselages, trees as points, trucks against building walls. List the pairs that are meant to touch. Wings are not in the sweep: check vehicles under a wing on a close-up still from airport-look.
  8. Score it and render it.

render(t) contract

  • render(t) is a pure function of time. Render any second out of order and it looks the same. No physics, no random timers, no state carried between frames.
  • Vehicles move by distance along their paths, eased at the ends. A reversing vehicle faces against its tangent.
  • Carrying is rebuilt every frame: the item's position comes from whatever holds it right now.
  • Background vehicles run on the same clock, never on their own timers.

Review

  • Contact sheets at the beats: node sims/capture.mjs airport-film --stills 0,3,9,15,20,30,40,48 --cols 4 --out s.png.
  • The first frame decides the feed: one whole scene at medium distance, the UI fully drawn, pins, something moving.
  • Run the collision sweep after every path change.

Sound and render

node sims/capture.mjs airport-film --size 1600x900 --dpr 1.2 --out simulator-out/airport-film.mp4
python run_sfx.py sims/airport-shared/score.py --out simulator-out/fx.wav               # the action sounds alone, to check
python tools/sfx_fetch.py "airport ambience" --n 4 --max-dur 60                           # real CC0 recordings, with credits
python tools/music.py --film simulator-out/airport-film.mp4 --score sims/airport-shared/score.py     --plan docs/music_plan.json --ambience simulator-out/sfx/<the file you picked>.wav --out simulator-out/airport-final.mp4

docs/music_plan.json is the ElevenLabs composition plan the airport used: 6 sections cut to the film's beats. With no ELEVENLABS_API_KEY the mix carries the action sounds and the ambience only.

Master to -14 LUFS. Check the music for gaps with silencedetect before mixing.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 28 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Simulator làm được gì?

Rebuild any industry as a live simulator in the format of a reference video that already worked. A bright toy-scale isometric map of the whole operation (an airport, a port, a warehouse, a factory) where every vehicle works on one clock and one item is followed through the system, a product UI matched panel by panel to the reference, one camera that only pans and zooms like a user with a mouse, selected vehicles outlined with their route drawn on the ground; then a collision sweep and a frame-by-frame 60 fps film with a synced score. Use when someone asks for a "simulator", a "digital twin"...

Vì sao nên dùng Simulator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Simulator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Simulator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Nyxera0x/simulator/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Simulator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Simulator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Simulator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Simulator có miễn phí không?

Có. Kỹ năng này được Nyxera0x phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇