Write it once. morf converts and installs your agents, skills, rules, prompts, hooks and MCP servers into every AI coding tool - each in its native format.
$ npm i -g @romivol/morf
A skill, an agent, a rule — each tool wants a different shape, a different folder, different frontmatter. Today you copy files around and hand-fix each one, then do it again for the next tool. morf is the translator: one command, converted for every tool you use.
morf rewrites the frontmatter, tool lists and paths into each tool's own format instead of copying the file as-is. Pick a target to see what morf produces:
--- name: bug-finder description: Finds bugs tools: [Read, Grep, Bash] model: sonnet --- # Bug Finder Reviews diffs for logic errors and edge cases…
Agents, rules, prompts, hooks and MCP servers are rewritten into each tool's own format: frontmatter, tool lists, event names and paths.
Not just rules, not just skills — all of it, each written to the shape its tool expects.
Claude, Cursor, Kilo, Copilot, Windsurf, OpenCode and Codex — install to one, several, or all at once.
No setup to learn. morf install <url> and you're done. A project file is optional, for when a team wants the same setup everywhere.
GitHub, GitLab or any git server, public or private, over https or ssh.
Pin the exact commit and content hash of everything a project uses. morf sync gives every teammate and CI the same setup.
Every change is shown as a plan first. Hooks and MCP servers, which run commands, are listed with what they run and need their own confirmation.
Zero runtime dependencies. Auditable, forkable, and yours.
morf reads each primitive once, then emits a native version for every target you asked for.
| primitive | claude | cursor | kilo | copilot | windsurf | opencode | codex |
|---|---|---|---|---|---|---|---|
| Skills | ↝ | ↝ | ↝ | ↝ | ↝ | ↝ | ↝ |
| Agents | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Rules | ✓ | ✓ | ↝ | ✓ | ✓ | ↝ | ↝ |
| Prompts | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓global only |
| Hooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| MCP | ↝ | ↝ | ↝ | ↝ | ↝ | ↝ | ↝ |
Codex has no project-level prompts, so morf skips them in a project and says so in the plan. They still install globally, to ~/.codex/prompts/.
A project pins what it uses in morf.json. morf.lock.json records the exact commit and a content hash of each item. Commit both, then run morf sync anywhere.
$ morf init $ morf install github.com/acme/agents --agent bug-finder --target claude cursor $ git add morf.json morf.lock.json # on another machine, or in CI $ morf sync
Hashes are computed the same way on Windows, macOS and Linux, so a lockfile written on one verifies on the others.
$ morf install <url>$ morf install <repo> --agent <name> --target claude$ morf install <repo> --skill <name> --target cursor$ morf list --all$ morf update --all$ morf config default <tool>$ morf init$ morf sync$ morf sync --check$ morf sync --frozen --yes$ morf install <repo> --mcp <name> --hook <name>$ morf install <repo> --dry-run$ morf uninstall --agent <name>morf.json. morf sync gives everyone the same agents, rules and MCP servers, converted for whichever tool they use.| multi-tool | converts agents | all primitives | zero-config | any git host | |
|---|---|---|---|---|---|
| morf | ✓ | ✓ | ✓ | ✓ | ✓ |
| copy-paste by hand | — | — | — | — | ✓ |
morf converts each agent into every tool's own format — and installs skills, rules, prompts, hooks and MCP servers the same way.
No. morf reads your source repo and writes converted copies into each tool's directory. Your source is never modified. In config files you also edit, such as settings.json or .mcp.json, morf adds and removes only its own entries.
morf marks it and skips only that piece — everything else still installs. For example, Codex has no project-level prompts, so in a project morf skips them, says so in the plan, and installs the rest normally.
No. morf install <url> works with nothing set up. A project file (morf.json) is optional, for teams that want a pinned, shared setup.
Any git server, public or private: GitHub, GitLab, self-hosted. Use an https or ssh address. Plain http:// and git:// addresses are not accepted.
No. If morf detects local changes to an installed item, it skips it and tells you to re-run with --force if you really want to overwrite.
Run morf update. It pulls the latest version of what you installed, skips anything you edited locally, and leaves the rest untouched. In a project it also rewrites the lockfile.
morf.json says what a project wants, for example the main branch of a repo. morf.lock.json records what that resolved to: the exact commit and a hash of each item. Two people who sync a week apart get the same files.
morf shows the full plan before changing anything and asks first. Hooks and MCP servers are listed with the commands they run and need a second confirmation. In CI nothing installs without --yes, and hooks and MCP servers also need --allow-exec.
Your installed items are left as they are and nothing is rewritten, but a few defaults change; see Upgrading from 1.1.2 in the changelog.
morf.json, morf.lock.json and morf syncmorf publishmorf is open source and early. If something doesn't work in your tool, or you want a tool or a feature added, open an issue.
$ npm i -g @romivol/morf