Add projects and agents
Describe the project and agents you want, answer a few questions, and the agent writes each workspace. You need sc system to have run once.
Do this for me on this machine: create the project and agents I describe in the vault I choose, then check that each one renders cleanly and launches by name. This is superclaude's own guide. Read all of it as raw Markdown first, without summarizing it: curl -fsSL "https://superclaude.io/docs/workspaces.md" Then: 1. Tell me in a few lines what you are going to change. 2. Do every step yourself: run the commands, edit the files, check each result. 3. Stop only for what needs me: a browser sign-in, a choice between options, a secret to paste. 4. Finish by showing it works, and tell me the one command I will use from now on. Other superclaude pages, if you need them: https://superclaude.io/llms.txt
A workspace is one agent’s directory, <vault>/p/<project>/a/<agent>. A vault is a registered directory that holds projects. You do not write workspaces by hand: an agent interviews you and writes the files, including a manifest (.claude/superclaude.toml) that says who the agent is and which plugins it loads.
-
Describe what you want
Put your request, in your own words, in quotes after
sc create:sc create "a research project with two agents, scout and writer"The agent asks a couple of questions at a time and creates nothing until you agree on a shape. Inside
sc system, typing the same request does the same thing. -
Check that it is listed
sc listThe new project and its agents appear in the list.
-
Launch an agent by name
sc research scoutClaude Code starts in that workspace.
- There is no
sc newcommand. Creation is a conversation. - Leave out
in vault <name>to use your default vault. If you named another vault, add-v <name>to steps 2 and 3. - To change a workspace later, use
sc <project> <agent> --sc-agentor--sc-edit. See Change an agent.
What the agent does before it builds
sc create opens the system workspace, the one sc system launches, with a guided new-workspace flow already in its system prompt. Words after create, up to the first flag, become your opening request. Bare sc create starts the flow with no opening request, and the agent asks what to create.
sc createsc create needs a bootstrapped profiles home (~/.superclaude/). On a fresh machine run sc system once first; until then sc create exits with a message telling you to.
The session runs in this order:
- Orientation, read-only. The agent checks memory for preferences you have already stated, then runs
sc vault lsandsc list.sc listdoubles as a collision check: a project named like anscsubcommand cannot be reached by name. - A short interview, a couple of questions at a time. It skips anything your opening request or memory already answered:
- which vault, if more than one is registered;
- a new project, or another agent under an existing one;
- the name, what the agent is responsible for, and what is out of scope;
- whether a code repo sits behind it;
- what the agent must never do.
- Authoring. The agent runs
sc prompt exampleandsc help philosophyand writes the manifest from their output, never from memory. - Verification with the checks in the last fold below.
- A report back: what it created and where, the names of the prompt sections it added, and how to change them later.
The flow creates nothing until you agree to a concrete shape. Every registered vault is granted to the session, so the agent writes into whichever one you choose.
Add an agent from inside sc system
Inside sc system, describe what you want in free text. The system workspace’s prompt treats any request to set up or fix a project as workspace authoring, done in the conversation.
create project acme with agents backend and release in vault workadd a docs agent to project acmeThe same conversation creates a new workspace or repairs an existing one. The agent reads the project’s state on disk to tell which it is, so it does not ask you. Ask for a new plugin instead, and the same agent scaffolds one into the vault.
What the agent writes, and where a code repo goes
For each agent, it:
- creates
<vault>/p/<project>/a/<agent>/.claude/; - writes the manifest (
.claude/superclaude.toml) in the shapesc prompt exampleprints; - names an existing plugin in
pluginsbefore it writes new prose for a capability; - packages a capability that exists nowhere yet as a vault-scoped plugin, not as loose files under
.claude/.
It keeps three kinds of fact in three places. The manifest holds what is structurally true, CLAUDE.md holds the operating contract for the directory, and memory holds what is currently true. A volatile fact written into the manifest or CLAUDE.md goes stale while the prompt keeps asserting it.
If the project has a code repo, the sc create flow asks where the workspace lives:
- In the vault, with
code_repopointing at the repo. Claude runs from the workspace, which holds only a.claude/, so the repo stays free of.claude/andCLAUDE.md. The repo goes inpermissions.additionalDirectoriesin the workspace’ssettings.json.code_repomust be absolute or~/-rooted; it is what worktree fan-out resolves against. - Inside the repo. Use this when the setup should be committed and shared with everyone who clones the repo.
The agent saves your answer as a preference with sc-memory, so it does not ask again.
Make a new vault
sc vault new <name> creates the vault at ~/.superclaude/<name> and registers it in config.toml. How it fits together explains the model behind vaults, projects and agents. With --bare it makes an empty container for an agent to fill:
sc vault new work --barecreated vault `work` at ~/.superclaude/work
plugins: ~/.superclaude/work/plugins (vault-scoped, $SC_VAULT_PLUGINS — vendoring never touches it)
workspace: none (--bare) — the vault is a container only
registered in ~/.superclaude/config.toml
next: `sc system`, then describe the projects and agents you want created in vault `work` — creation is conversational, not a CLI verbIt always creates the container:
| Path | What it is |
|---|---|
memories/ | the vault’s memory hub, with a starter INDEX.md |
plugins/ | vault-scoped plugins, reached from a manifest as $SC_VAULT_PLUGINS |
workflows/ | the per-vault store for the multi-agent workflow scripts sessions run |
Without --bare it also writes one starter workspace at p/<name>/a/main, with a manifest that launches as written. The starter lists sc-harness and sc-memory in plugins, each only if it is already vendored, and names no plugin sections, because each loaded plugin’s default prose is appended to the prompt automatically; naming one in system_prompt would make sc doctor report a redundant-plugin-prose note. If the shared library ($SC_PROMPTS/core.toml) is installed, it imports that library’s sections and names them in system_prompt after identity. It writes no settings.json.
| Flag | Effect |
|---|---|
--workspace <project>/<agent> | put the starter workspace there instead; a bare <project> means agent main |
--bare | create the container only, with no workspace |
--bare and --workspace are mutually exclusive. A vault name cannot contain /, cannot start with . or -, and cannot be _global, system or plugins. sc vault new refuses to overwrite a directory that already exists; register that directory with sc vault add instead.
Use a directory I already have as a vault
sc vault add <name> <path> registers a directory you already have. The path must exist. A ~/ path is stored as you typed it and expanded when read.
sc vault add work ~/vaults/worksc refuses a name that is already registered unless you pass --force. It also refuses a path nested inside, or containing, another registered vault, because sibling-vault isolation would then lock a vault out of its own subtree.
Registration lands in config.toml as a [vaults.<name>] table. There is no auto-discovery: a directory is a vault only if it is listed.
default = "personal"
[vaults.personal]
path = "~/.superclaude/personal"
[vaults.work]
path = "~/vaults/work"List vaults and pick the default
sc vault lspersonal → ~/.superclaude/personal (default)
work → ~/vaults/workA vault whose directory is gone is marked (missing). Show or set the default with sc vault default. Setting it checks that the vault is registered and exists on disk.
sc vault default
sc vault default workPick a vault for one launch with -v <name>:
sc -v work <project> <agent>The resolution order is -v <name>, then $SUPERCLAUDE_VAULT, then the default key, then an error. If no default key is set, a vault registered as default is used. Bare sc from inside a workspace ignores all of this and reads the manifest in the current directory.
Give an agent its own skills, subagents or MCP servers
Skills, subagents, hooks and MCP servers that a workspace needs go in a plugin at <vault>/plugins/<name>/, which a manifest names as $SC_VAULT_PLUGINS/<name>. Vendoring never touches that directory. Two plugin paths exist because they have different lifetimes:
| Variable | Resolves to | Who writes it |
|---|---|---|
$SC_PLUGINS | ~/.superclaude/plugins | sc system, which replaces the tree on every run |
$SC_VAULT_PLUGINS | <vault>/plugins | you; vendoring never touches it |
Never hand-edit under $SC_PLUGINS. The next sc system reverts the change.
These are manifest variables, not shell variables. sc computes them when it renders the manifest. An exported $SC_VAULT_PLUGINS overrides the computed value; otherwise it is $SUPERCLAUDE_VAULT/plugins.
To make one, ask the agent for a plugin in this vault, then add it to the manifest. One plugins array mixes both axes:
plugins = [
"$SC_PLUGINS/sc-memory",
"$SC_VAULT_PLUGINS/release-tools",
]
system_prompt = ["identity"]
[section.identity]
content = """
## Identity
You are the release agent for the acme project. You cut release branches,
write changelogs and tag versions. Application code is out of scope.
"""Root keys such as plugins and system_prompt must sit above the first [section.*] header. A key written after a table header parses as a member of that table. A plugins entry whose directory does not exist fails the whole launch, not only that plugin.
If the plugin ships a plugin.toml, its sections become available to the manifest as <plugin>:<section>. List the ones you want in system_prompt. The full grammar is on the superclaude.toml page.
Check that a workspace renders
The agent runs these before it reports back; run them yourself after any change. The report selectors render the real launch without starting Claude Code:
sc <project> <agent> --prompt --plugins --doctor--prompt shows the assembled system prompt and where each section came from, --plugins shows each plugin directory it resolved, and --doctor runs the conformance checks for that one workspace. The agent uses these commands:
| Command | What it is for |
|---|---|
sc prompt example | the manifest grammar, printed live by the binary |
sc validate | checking a manifest it wrote |
sc <project> <agent> --prompt --plugins --doctor | rendering the real launch before it says the workspace works |
sc doctor <project> | reviewing an existing project’s setup |
For every workspace in every registered vault, or for one project, run sc doctor:
sc doctor
sc doctor <project>sc validate renders a manifest across a matrix of model families and reports errors and lints. Run it from the workspace, or pass the directory:
sc validate <dir> --strict--sc-edit opens the manifest in your editor. --sc-agent opens the system workspace with an agent pointed at that workspace, oriented and waiting for what you want changed. Change an agent covers both:
sc <project> <agent> --sc-edit
sc <project> <agent> --sc-agentNext: Change an agent