one agent,
every tool

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
View on GitHub →
ClaudeCursorKilo CopilotWindsurfOpenCodeCodex
morf — install
# why

Every AI tool speaks its own dialect.

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.

# conversion

The same agent, reshaped for each tool.

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:

sourcebug-finder.md
---
name: bug-finder
description: Finds bugs
tools: [Read, Grep, Bash]
model: sonnet
---
# Bug Finder
Reviews diffs for logic
errors and edge cases…
morfed →cursor

    
# features

Built to move between tools.

✓convertnative format per tool

Real format conversion

Agents, rules, prompts, hooks and MCP servers are rewritten into each tool's own format: frontmatter, tool lists, event names and paths.

✓primitivesskills · agents · rules · prompts · hooks · mcp

Every primitive

Not just rules, not just skills — all of it, each written to the shape its tool expects.

↝targets

Every major tool

Claude, Cursor, Kilo, Copilot, Windsurf, OpenCode and Codex — install to one, several, or all at once.

±no-config

Zero config

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.

⎇any-host

Any git host

GitHub, GitLab or any git server, public or private, over https or ssh.

↻reproduciblemorf.json + morf.lock.json

Reproducible

Pin the exact commit and content hash of everything a project uses. morf sync gives every teammate and CI the same setup.

?approvalplan first, then ask

Nothing runs unasked

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.

✓MIT

Open source

Zero runtime dependencies. Auditable, forkable, and yours.

# how it works

Clone, parse, convert, route.

morf reads each primitive once, then emits a native version for every target you asked for.

01
clone
fetch the repo
02
parse
read primitives + frontmatter
03
convert
reshape per tool
04
route
write to each native path
primitiveclaudecursorkilocopilotwindsurfopencodecodex
Skills↝↝↝↝↝↝↝
Agents✓✓✓✓✓✓✓
Rules✓✓↝✓✓↝↝
Prompts✓✓✓✓✓✓✓global only
Hooks✓✓✓✓✓✓✓
MCP↝↝↝↝↝↝↝
✓ converted  ·  ↝ routed (copied or merged into the tool's own file)  ·  global only = skipped in a project

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/.

# projects

The same setup, on every machine.

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.

# commands

Simple commands, all the way down.

$ morf install <url>
clone & convert into every detected tool
$ morf install <repo> --agent <name> --target claude
install one agent into Claude
$ morf install <repo> --skill <name> --target cursor
install one skill into Cursor
$ morf list --all
see what's installed, in every tool
$ morf update --all
pull latest for everything you installed
$ morf config default <tool>
set your primary target once
$ morf init
start a project: creates morf.json
$ morf sync
install exactly what the lockfile pins
$ morf sync --check
change nothing; exit 1 if the project has drifted
$ morf sync --frozen --yes
for CI: never rewrites the lockfile
$ morf install <repo> --mcp <name> --hook <name>
install an MCP server and a hook set
$ morf install <repo> --dry-run
show the plan, write nothing
$ morf uninstall --agent <name>
remove an item from every tool it is in
# who it's for

Made for people who switch tools.

"I built a great agent in Claude - now I want it in Cursor too."
One command. morf reshapes its frontmatter and drops it in, correctly.
"Our team uses three different AI tools and everyone's config drifts."
Pin it once in morf.json. morf sync gives everyone the same agents, rules and MCP servers, converted for whichever tool they use.
"I keep a personal library of skills and rules I reuse everywhere."
Keep them in one git repo. morf installs them anywhere in seconds.
# comparison

One command. Every tool. Every primitive.

multi-toolconverts agentsall primitiveszero-configany 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.

# faq

Good to know.

Does morf change my original files?

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.

What happens for a tool that doesn't support a primitive?

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.

Do I need a config file?

No. morf install <url> works with nothing set up. A project file (morf.json) is optional, for teams that want a pinned, shared setup.

Which git hosts work?

Any git server, public or private: GitHub, GitLab, self-hosted. Use an https or ssh address. Plain http:// and git:// addresses are not accepted.

Will it overwrite something I edited locally?

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.

What happens when a repo updates?

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.

What is the lockfile for?

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.

Is it safe to sync a project someone else set up?

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.

I'm on 1.x. What changes when I upgrade?

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.

# roadmap

Where morf is headed.

shippedSkills, agents, rules, prompts, hooks and MCP servers for seven tools
shippedProject mode: morf.json, morf.lock.json and morf sync
nextPublic registry with search and short-name installs
nextA user-level lockfile for a personal global setup
nextmorf publish
# feedback

Found a bug? Got an idea?

morf 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.

Write once. morf it everywhere.

$ npm i -g @romivol/morf