# Coming from Claude Code

> superclaude adds to Claude Code rather than replacing it. sc launches the same claude, leaves your code and ~/.claude alone, and plain claude keeps working as before.
>
> sc launches the same claude, never edits your code or your ~/.claude, and plain claude keeps working. To undo it, delete ~/.superclaude and sc.

Try it on a repository you already use. These two steps do not touch the repository or plain `claude`.

1. Ask the system agent for a workspace

   ```sh
   sc system
   ```

   A Claude Code session opens. Tell it:

   > Create a project called `<project>` with one agent, main, for the repository at `<repo path>`. Keep the workspace outside the repository.

2. Launch it

   ```sh
   sc <project>
   ```

   Claude Code starts in the new workspace, signed in as you are today.

- Plain `claude` works exactly as before. `sc` does not edit `~/.claude` or `~/.claude.json`, and installs nothing into Claude Code.
- `sc` sessions use your existing Claude Code login and the user settings in `~/.claude`.
- `sc` does not edit your code repositories. The workspace is a separate directory in your `sc` folder that points at the repository. The repository gets no `.claude/` and no `CLAUDE.md`.
- Everything `sc` adds applies only to the sessions `sc` launches.

**How does the workspace reach my repository?**

The workspace sits in a vault (a registered directory that holds projects and their memories) at `<vault>/p/<project>/a/main/` and holds only a `.claude/` directory. The manifest (`.claude/superclaude.toml`) names the repository with `code_repo`, and `.claude/settings.json` grants access through `permissions.additionalDirectories`.


**What changes inside sc sessions**

- Named workspaces, each with its own prompt and plugins, launched with `sc <project> <agent>` from any directory.
- A manifest (`.claude/superclaude.toml`) that builds the system prompt from a [shared section library](/docs/system-prompt).
- A curated set of [features](/features), most of them plugins: typed memory, web research, your own browser and more.
- [Other models](/docs/models) through profiles (`sc -u <profile>`), including Codex and Grok subscriptions.

[How it compares](/docs/compare) sets this next to plain Claude Code and other agent tools, and says when each fits better.


**What sc passes to claude**

- The working directory is the workspace, not the repository. Claude Code's `CLAUDE.md` walk-up starts there, so put what the agent needs in the workspace's own `CLAUDE.md` or its manifest.
- `--system-prompt` carries the assembled prompt. It replaces Claude Code's default system prompt for that session.
- `--plugin-dir` once per plugin the manifest names.
- One `--settings` object: the status line, and any tools the manifest's `[harness]` table removes.
- `--add-dir` for the vault's memory hub and workflow store.
- Environment: `SUPERCLAUDE_VAULT`, `CLAUDE_MEMORY_HUB` (`<vault>/memories`), `SC_WORKFLOWS` (`<vault>/workflows`), `VISUAL` and `EDITOR` when `sc` has an editor to set, and `CLAUDE_CODE_FORK_SUBAGENT=1` and `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1` unless you already set them. Your shell's own values stay unchanged.

`sc doctor` checks the setup. `sc <project> <agent> --prompt --plugins --doctor` prints the prompt and plugins a launch receives, without starting Claude Code.


**What sc writes to my machine**

- `~/.superclaude/`: `config.toml`, the vendored plugins, the shared prompt library, the system workspace, the default vault, and small state files.
- Your vaults: workspaces, `memories/` and `workflows/`.
- `~/.local/bin/sc` and the `superclaude` symlink, from the installer.
- Shell completions: `~/.zsh/completions/_sc`, `~/.local/share/bash-completion/completions/sc`, or `~/.config/fish/completions/sc.fish`.
- A runtime directory for the [daemon](/docs/daemon) under `$TMPDIR`: its socket, pid file and log.
- Worktrees, only when a session asks for one. `git worktree add` creates it beside the repository at `<repo>/../worktrees/`, on a `worktree-<name>` branch. That adds a branch and a worktree entry to the repository's git metadata and leaves its working tree alone. `sc worktree ls` and `sc worktree prune` manage them.

[Add projects and agents](/docs/workspaces) covers workspaces in detail.


**Does sc ever touch my Claude Code login?**

Two commands you opt into do. `sc accounts use --label <name>` writes a stored login into the macOS keychain entry Claude Code reads, so plain `claude` uses that account too. The daemon's accounts monitor does the same when you enable `[daemon.accounts_monitor]` in `config.toml`; it is off by default.


**Remove superclaude**

```sh
sc vault ls
sc daemon stop
rm -rf ~/.superclaude
rm ~/.local/bin/sc ~/.local/bin/superclaude
```

`sc vault ls` shows where your vaults are. A vault outside `~/.superclaude` is its own folder; delete it too if you want its workspaces gone. If you installed with `SC_INSTALL_DIR`, remove `sc` and `superclaude` from there instead.
