You’ve spent time customizing Claude Code — CLAUDE.md, custom skills, hooks, plugins, MCP servers. When you create a new cac environment, you don’t want to set all that up again.Documentation Index
Fetch the complete documentation index at: https://cac.nextmind.space/docs/llms.txt
Use this file to discover all available pages before exploring further.
--clone lets you inherit your existing config into a new isolated environment, while keeping device identity and telemetry protection fully separate.
Quick start
work environment now has all your customizations, with its own isolated identity.
What gets inherited
| Resource | Default (symlink) | With --no-link (copy) |
|---|---|---|
commands/ | Symlinked — changes reflect everywhere | Copied — independent |
hooks/ | Symlinked | Copied |
skills/ | Symlinked | Copied |
plugins/ | Symlinked | Copied |
CLAUDE.md | Symlinked | Copied + cac instructions appended |
settings.json | Layered merge via settings.override.json | Layered merge via settings.override.json |
- Device identity (UUID, hostname, MAC address, machine ID)
- Credentials and sessions
- Telemetry protection settings
- mTLS certificates
Symlink vs copy
Symlink (default)
~/.claude/, every cloned environment sees the change immediately.
Best for: keeping all environments in sync with one set of customizations.
Copy (--no-link)
Clone from another environment
You can clone from any existing cac environment instead of~/.claude/:
Settings merge
Settings use a layered merge system regardless of symlink/copy mode:- Base:
settings.jsonfrom the source (host~/.claude/or another env) - Override:
settings.override.jsonin the environment (cac-specific overrides) - Result: Merged
settings.jsonwritten to the environment’s.claude/directory
claude startup, so if you update your base settings, all cloned environments pick up the changes automatically.
Typical workflow
Combining with other flags
Allcreate flags work together: