Moving from the old SuperClaude
Bring your old SuperClaude projects over without touching the old setup. You need sc installed and the old root readable.
I'm moving from the old SuperClaude to the new superclaude (the `sc` CLI). Migrate my projects for me. Best run inside `sc system`; any Claude Code session with `sc` installed works. Read the migration guide first, as raw Markdown, without summarizing it: curl -fsSL "https://superclaude.io/docs/migrate-superclaude.md" The rest of the docs, when you need them: https://superclaude.io/llms.txt Follow these rules: 1. Leave the old SuperClaude exactly as it is. Move, edit and delete nothing in it; I can keep using it. The new one lives in its own home (`sc vault ls` shows where), so the two never touch. 2. Find my old projects yourself. The old root is usually /opt/superclaude: each agent sits at p/<project>/a/<agent>/, with its prompt in .claude/system-prompt.md and its memory in .claude/memory/. List every project with its code repository and memory folder, and let me pick which ones to bring over. 3. Never edit a code repository. Create each new workspace at <vault>/p/<project>/a/<agent>/ and point it at the SAME repository: `code_repo = "<repo path>"` in the manifest, plus the repo under permissions.additionalDirectories in the workspace's .claude/settings.json. 4. Start the prompt fresh. Do not copy or adapt the old system-prompt.md. Instead: a. Learn the project from its code: layout, build and test commands, conventions. Then run `/claude-api prompt-audit <repo path>` (the prompt audit bundled with Claude Code) on its CLAUDE.md, skills and agent files, and take its findings as recommendations. b. Write .claude/superclaude.toml from that: import the shared library ($SC_PROMPTS/core.toml), write a new `identity` section in a few lines (what this agent owns, where the code is), and add a section only for what the audit found that the library does not already cover. `sc prompt example` shows the format. c. Write the workspace's own CLAUDE.md as its operating contract: build and test commands, conventions, and what must never happen, all taken from the audit and the code, not from the old prompt. d. If the audit proposes edits to the repository's own CLAUDE.md, show them to me and apply nothing there unless I say yes. 5. Start memory fresh and keep the old memory in reach. Copy no old memory files. Add the old memory folder to permissions.additionalDirectories too, and add one short manifest section saying it is this project's previous memory: read-only history to consult when a topic comes up, never copied wholesale. New memory then grows on its own. 6. Check each workspace before calling it done: `sc doctor <project>`, then `sc <project> <agent> --prompt --plugins` to show me what it renders. `sc validate <workspace dir>` also checks the manifest. Finish with a table of project, launch command (`sc <project> <agent>`), code repo and old memory path, then tell me how to launch the first one.
The old SuperClaude kept each agent at p/<project>/a/<agent>/ under a root such as /opt/superclaude, with its prompt in .claude/system-prompt.md and its memory in .claude/memory/.
-
Start the system agent
sc systemClaude Code opens with the agent that creates workspaces for you.
-
Tell it what to bring over
Say where the old root is, for example
/opt/superclaude, and ask it to migrate your projects. Ask it to list each project with its code repository and memory folder, so you can pick which ones to bring over. For example, say:Migrate my projects from /opt/superclaude. List each with its code repository and memory folder, and let me pick which to bring over.
-
Check what it built
sc doctor <project> sc <project> <agent> --prompt --plugins --doctorsc doctor <project>checks that project’s workspaces. The second command renders the real launch: the assembled prompt, the plugins and where each resolved, and the conformance verdict. -
Launch it
sc <project> <agent>Claude Code opens as that agent, in its new workspace.
Each project is moved on four rules:
- The old root is never touched. superclaude keeps its files in its own profiles home (
~/.superclaude/) and your vaults (the folderssc vault lslists), so both keep working. - The code stays where it is. The workspace’s manifest (
.claude/superclaude.toml) names the repository withcode_repo. - The prompt starts fresh. The old
system-prompt.mdis not ported. - Memory starts fresh. No old memory is copied; the workspace can read the old folder as history.
What will the agent do for each project?
Given this page, the agent:
- Finds your old projects, usually under
/opt/superclaude, and lists each with its code repository and memory folder. - Creates each workspace at
<vault>/p/<project>/a/<agent>/, withcode_reposet to the same repository and the repository added topermissions.additionalDirectoriesin the workspace’s.claude/settings.json. - Runs the prompt audit and writes the manifest: the
$SC_PROMPTS/core.tomlimport, a new identity section, and extra sections only for what the library does not cover. - Writes the workspace’s own
CLAUDE.mdfrom the audit and the code. Changes to the repository’sCLAUDE.mdwait for your yes. - Adds the old memory folder to
additionalDirectories, with a short manifest section that names it as read-only history. - Checks each workspace and ends with a table of project, launch command, code repository and old memory path.
Do it by hand
1. Find what you have#
Each old agent sits at <old-root>/p/<project>/a/<agent>/. Inside its .claude/:
system-prompt.mdis the old prompt. Read it for context; do not copy it.memory/is the old memory. It is often a symlink into<old-root>/memories/, so note the path it resolves to.
Note the code repository each agent works on.
2. Create the workspace#
sc vault ls
mkdir -p <vault>/p/<project>/a/<agent>/.claude3. Audit the repository#
In a Claude Code session, run /claude-api prompt-audit <repo path>. It is the prompt audit bundled with Claude Code, and it audits the repository’s CLAUDE.md files, skills, agents and commands for prompting patterns written for older models. Use what it finds, plus the code itself, for the identity section and the workspace’s CLAUDE.md: build and test commands, conventions, and what must never happen.
4. Write the manifest#
Write <vault>/p/<project>/a/<agent>/.claude/superclaude.toml. code_repo takes an absolute or ~/ path. sc prompt example prints the full grammar, and The shared system prompt lists every section core.toml defines. A starting point:
code_repo = "<repo path>"
import = [
{ from = "$SC_PROMPTS/core.toml", use = [
"discover_dont_recall",
"git_policy",
"communication",
] },
]
system_prompt = [
"identity",
"discover_dont_recall",
"git_policy",
"communication",
"previous_memory",
]
plugins = [
"$SC_PLUGINS/sc-memory",
]
[section.identity]
content = """
<identity>
You own <what this agent is responsible for>. The code is in <repo path>.
Out of scope: <what this agent must not touch>.
</identity>
"""
[section.previous_memory]
content = """
<previous_memory>
<old memory path> holds this project's memory from the old SuperClaude. It is
read-only history: consult it when a topic comes up, and never copy it wholesale.
</previous_memory>
"""A loaded plugin renders its own prose in the main prompt, so system_prompt does not name the sc-memory: sections.
5. Grant access#
Write <vault>/p/<project>/a/<agent>/.claude/settings.json with absolute paths:
{
"permissions": {
"additionalDirectories": [
"<repo path>",
"<old memory path>"
]
}
}Then run the checks from step 3 above and launch.
Check the manifest on its own
sc validate <workspace dir> renders the manifest across a model-family matrix and reports errors and lints. It loads plugins as a launch does, so a line such as sc-memory:memory_protocol resolves. The --prompt --plugins --doctor report in step 3 stays the one to trust, because it shows the real launch. Older sc builds did not load plugins here and rejected such lines.
Where did each old thing go?
| Old SuperClaude | superclaude | |
|---|---|---|
| Home | /opt/superclaude | ~/.superclaude/ plus your vaults |
| Prompt | .claude/system-prompt.md, one file per agent | .claude/superclaude.toml, importing shared sections from core.toml |
| Skills, hooks, subagents | files under each agent’s .claude/ | plugins listed in the manifest’s plugins |
| Memory | .claude/memory/, linked into a memories/ folder | sc-memory, with a memory hub at <vault>/memories |
| Code | the repository | the same repository, named by code_repo |
Next: The background daemon