Motion Kit setup
Videogen Motion Kit is installed by its own command-line tool, videogen, not by this plugin. This skill checks the install, runs the installer when the kit is missing, then hands off to the video skills. Run each command with your shell tool.
1. Check the install
The installer puts videogen in ~/.local/bin, which is not always on PATH, so check with:
PATH="$HOME/.local/bin:$PATH" videogen status
| Result | Meaning | Next |
|---|---|---|
| Exit 0: prints the version, plan and install directory | Installed | Step 4 |
Exit 2 "not installed", or command not found | Not installed | Step 2 |
| Exit 3 | Key refused: wrong, revoked or not entitled | Step 2, and ask for a valid key |
| Exit 4 | Network error | Say so. An installed kit keeps working offline for 14 days; go to step 4 |
ultramotion` and `motion-kit are aliases of videogen: the same command under its former names. If only one of them exists, the kit was installed by an earlier release. Run the install command in step 3 once to upgrade it in place; it keeps the license and links the videogen command. When the user asks for Motion Kit, then Ultra Motion, they mean this product.
2. Get a key, or choose the free tier
- If
VIDEOGEN_KEY(or a formerULTRAMOTION_KEY` and `MOTION_KIT_KEY) is set in the environment, the installer uses it. Don't ask. - Otherwise ask the user, with your question tool if you have one: "Do you have a key for Motion Kit? It starts with
vg_live_(an older key starting withum_live_` and `mk_live_works too). Paste it, or say free to install the free tier." - If they have no key and want the premium packs or Pro, send them to https://videogen.in/pricing. The key arrives by email and on the checkout success screen. The free tier needs no key.
Treat the key like a password. Never repeat it in full, and never write it to project files, commits or logs. The installer keeps it in ~/.config/videogen/license.json with mode 0600.
3. Install
Pass the key in the environment, not as an argument, so it stays out of shell history. With curl and sh:
curl -fsSL https://api.videogen.in/install.sh | VIDEOGEN_KEY='<key>' sh
Or with npx:
VIDEOGEN_KEY='<key>' npx -y https://api.videogen.in/cli.tgz install
For the free tier, run either command without the key.
| Exit | Meaning | Next |
|---|---|---|
| 0 | Installed | Run the check in step 1, then go to step 4 |
| 2 | Bad arguments, or Node.js older than 18 | Fix the command, or ask the user to install Node.js 18 or later |
| 3 | Key refused, nothing installed | Ask for the key again, or point to the pricing page |
| 4 | Network error | Retry once, then report the error |
| 5 | Integrity check failed | Stop and report it. Don't retry or work around it |
If ~/.local/bin is not on the user's PATH, tell them to add it to their shell profile: export PATH="$HOME/.local/bin:$PATH".
4. Hand off
- create-video plans, scripts, reviews and renders a video of one type: explainers, tutorials, launch films, teasers, demos and more.
- scratch-video makes a short premium film built from scratch in Remotion.
The installer links both skills into the skills folder of each agent it finds: ~/.claude/skills, ~/.copilot/skills, ~/.agents/skills and ~/.pi/agent/skills. A running session may not list them yet. Start a new session, or reload: /reload in pi, /skills reload in Copilot CLI. Until then, read create-video/SKILL.md or scratch-video/SKILL.md under current/ in the install directory that status prints (by default ~/.videogen), and follow it.
The plugin's videogen MCP server, in Claude Code and Copilot CLI, starts in the next session once the kit is installed with a key and Bun is on PATH. In pi, add it once: pi mcp add videogen -- ~/.local/bin/videogen mcp.
Update, change key, remove
- Update the kit, or pick up packs the user just bought:
videogen update - Use a new key:
VIDEOGEN_KEY='<key>' videogen login, thenvideogen update - Remove the kit:
videogen uninstall. It keeps the license; add--purgeto delete it too. - Buy or upgrade: https://videogen.in/pricing
- Help:
videogen --help, or write to [email protected]