Install with your agent
A coding agent can do the whole setup for you. Open Claude Code or Codex in the folder where you want Mografy, for example your Desktop, and paste the prompt below.
- It checks for Node.js 22.12 or later, npm and free disk space, and tells you what is missing.
- It runs
npx mografy@latest init, which creates a mografy workspace folder with Mografy, its extras and the projects, showcase, examples and templates folders inside. - It runs
npx skills add mografy/mografyin that folder, which installs the Mografy Skill there for Claude Code and Codex. - It runs
npx mografy devin that folder. When the player opens, Mografy is installed.
Nothing global. No npm install -g, no PATH changes, no Git. Everything lives in the mografy folder; delete the folder and Mografy is gone. If something fails, paste the error back to your agent.
Install by hand
Prefer the terminal? Install Node.js 22.12 or later, then run:
npx mografy@latest init
cd mografy
npx skills add mografy/mografy
npx mografy devnpx mografy@latest init creates a mografy workspace in the current folder and installs Mografy and its extras into it (package.json and node_modules). It does not create a project: the player opens on the empty workspace, with its folders and the sixteen built-in components on the left.
npx skills add mografy/mografy installs the Mografy Skill in the workspace for Claude Code (.claude/skills/mografy) and Codex and other agents (.agents/skills/mografy). Don’t skip it: the guides for the extras, such as 3D, music and Stage, are in the Skill. Add -g only if you want the Skill in every folder. npx mografy dev opens the player; npm run dev does the same.
Want another folder name? npx mografy@latest init my-studio creates my-studio instead.
What is in the folder
The mografy folder is a workspace:
mografy/
projects/ your films, one folder each (built-in components in projects/.components)
showcase/ films from the showcase: npx mografy add showcase/ <film>
examples/ reference films: npx mografy add examples/ <film>
templates/ every template, put there by init: npx mografy add <template> projects/<film>
.claude/ .agents/ the Mografy Skill (npx skills add mografy/mografy)
node_modules/ Mografy itself and its extras
mografy.workspace.jsonEvery npx mografy command run in this folder, or in any folder inside it, uses this workspace: new films go into projects/ and showcase films download into showcase/ (npx mografy add showcase/ <film>). The reference films and every template come with init, in examples/ and templates/, so they are already installed. Start a film from a template with npx mografy add <template> projects/<film>. The MCP server started here works with it too.
Installed with an earlier version? That folder is a single project, not a workspace, and it keeps working. For the folders, run npx mografy@latest init next to it and move the project into the new projects folder.
Make your first animation
Keep the player open, then open Claude Code or Codex in the mografy folder and tell it what you want: the message, length, format and look. The Skill in the folder gives Claude and Codex the same workflow for storyboards, scene code, frame review and export.
When it looks right, press Export in the player, or ask your agent to export. Formats and presets are explained in Export.
Your agent creates each film as a project in projects/. To start one yourself, run this in the mografy folder; it creates projects/my-film:
npx mografy init my-filmUpdate Mografy
Ask your agent to update Mografy, or run this inside the mografy folder:
npx mografy@latest init
npx skills updateThe first line moves the workspace’s Mografy and extras to the newest version, the second updates the Skill; your projects, showcase films, examples and templates stay as they are. Stop a running player first, start it again with npx mografy dev, then Refresh the browser to load the new interface.
FFmpeg and Chromium
You don’t install either. Checks and exports render in the Chrome or Edge already on your computer. The first video export downloads FFmpeg into the mografy folder and uses that copy, not one on your PATH; a small Chromium downloads the same way only when there is no Chrome or Edge.
Going offline? Run npx mografy setup in the folder to download them ahead of time. Helpers such as 3D, music and Stage, every template and the reference films come with Mografy and work offline; showcase films download the first time npx mografy add needs them.
Optional: install globally
Only if you want a mografy command and the Skill in every folder on the computer. The steps above don’t need this.
npm install -g mografy
npx skills add mografy/mografy -g