Import
Switching from another coding agent? One command brings your setup over.
Run it bare and Command Code scans every supported source on your machine โ your home directory and the current project โ and imports from all of them. Or name one:
An unrecognized name is rejected with the list of valid ones โ nothing is written.
Five kinds of thing, at both user scope (your home directory) and project scope (this repo), depending on where the source keeps them:
| Item | Lands in |
|---|---|
| Skills | ~/.commandcode/skills/ or <project>/.commandcode/skills/ |
| Custom agents | ~/.commandcode/agents/ or <project>/.commandcode/agents/ |
| Custom slash commands | ~/.commandcode/commands/ or <project>/.commandcode/commands/ (subdirectory namespacing preserved) |
| MCP server configs | ~/.commandcode/mcp.json |
| Memory files | ~/.commandcode/AGENTS.md (user) or <project>/AGENTS.md (project) โ see Memory |
Formats that are already compatible copy over as-is: agent frontmatter (name, description, tools, model) and the custom-command markdown convention โ including $ARGUMENTS and positional substitution โ mean the same thing in Command Code. Where a source uses a different format (for example Codex's TOML agents), the item is converted on the way in.
Additive. /import never overwrites your existing Command Code configuration. Anything already present is left exactly as it is and reported as skipped.
Idempotent. Running /import again is safe โ nothing duplicates, nothing gets clobbered.
Fault-isolated. Each item imports independently, and each source is scanned independently. One unreadable skill, one malformed MCP entry, or one source whose config format has changed can't take the rest of the run down โ the failure is reported and everything else still goes through.
Every item ends in one of four states, and the summary tells you which:
| Status | Meaning |
|---|---|
imported | Copied (or converted and copied) into your Command Code config |
skipped-existing | You already have something at that target path |
skipped-unsupported | Detected but not representable in Command Code; reported so you know it exists |
failed | Read or write error on that one item |
/import and taste onboarding solve two different problems:
| Copies | Learns | |
|---|---|---|
/import | Config: skills, agents, slash commands, MCP servers, memory files | โ |
/learn-taste | โ | Your style, from your past sessions in other agents |
/import brings over the things you built. Taste onboarding learns the way you work from your history in other tools. Run both and Command Code feels like home immediately: your setup is there, and so is your style.
How taste learning works, where profiles live, and how to push, pull, and share them across projects and your team.