總覽

和程式代理一起,讓畫面動起來。

向 Claude Code 或 Codex 描述場景。Mografy 為你預覽每個影格,並匯出 MP4、WebM、Lottie 或 SVGA。

把這句話貼給 Claude Code 或 Codex,Agent 會幫你裝好 Mografy 並打開播放器。

安裝 Mografy
Install Mografy in a new folder and open its player. Mografy is an open-source tool for making motion graphics with coding agents. It installs from npm into one folder, not globally; do not clone the GitHub repository and do not run npm install -g. Documentation: https://www.mografy.app/docs/getting-started Source: https://github.com/mografy/mografy First check the computer before installing anything: operating system, Node.js version (22.12 or later is required), npm, and free disk space. Tell me what is missing and how you plan to install it. Then install it: 1. In the current folder, run npx mografy@latest init. It creates a mografy workspace folder with projects/ (my films), showcase/ (showcase films), examples/ (reference films) and templates/ (Mografy Templates, empty until I add one), installs Mografy and its extras (3D, music, Stage and the other helpers) into it (package.json and node_modules). It does not create a project and does not install the Mografy Skill. If npm reports a permission error, stop and tell me instead of using sudo. 2. Run cd mografy. 3. Run npx skills add mografy/mografy in the mografy folder, without -g, so the Mografy Skill is installed in this workspace for Claude Code (.claude/skills/mografy) and Codex (.agents/skills/mografy). If it asks which agents, choose Claude Code and Codex. Do not skip this step: the guides for Mografy and its extras are in the Skill. 4. Run npx mografy dev and give me the local address. The player opens on the empty workspace (projects, showcase, examples, templates and the built-in components on the left); new films are created in projects/ when I ask for one. Do not install FFmpeg or Chromium: the first video export downloads FFmpeg into the folder, and Chrome or Edge renders checks and exports (a small Chromium downloads only when neither is installed). If a step fails, read the error, fix the cause and try again; do not skip steps. When you are done, tell me that everything lives in the mografy folder (deleting it removes Mografy), that I should open Claude Code or Codex in that folder to make animations, how to start Mografy again (npx mografy dev in that folder), how to update (npx mografy@latest init in that folder, and npx skills update for the Skill), and suggest a first animation I could ask for.

已經安裝了?

在 mografy 資料夾裡執行。它會更新 Mografy 和 extras,你的專案不會變。

終端機
npx mografy@latest init
更新指南 →

探索