Back to dashboardOptional installation and ownership

Optional installation and ownership

The primary workflow is cloning the project template and running Claude in it; no installation command is needed. This document applies only to copying the framework into another existing repository. Root .claude assets are canonical; the source template marker is not copied. Do not run this installer into the template itself.

The source distribution is a Git repository; no marketplace, package manager or external runtime dependency is needed. Use CLI flags for noninteractive and interactive-terminal use; there is no separate wizard. The default target is the current directory; prefer an explicit absolute path. Existing target directories only. Home, root, global Claude directories and symlink target ancestry are refused. No user-level installer exists.

Managed payload: .claude/agents/eng-*.md, .claude/skills/*/SKILL.md, .claude/framework/, marked CLAUDE.md block, ignore additions and optional merged settings. .claude/framework/config.json records selections and advisory limits, not editable project gates. User gates belong to .claude/framework.local.json; gate commands execute only with --execute. All installed payload paths and original bytes are in .claude/framework-manifest.json.

Existing unrelated files remain untouched. Unowned collisions abort before writes. Merge supports CLAUDE.md append/marked replacement, .gitignore line additions and adding one hook entry while retaining settings keys. It is not a general JSON/YAML semantic merge. For ownership safety edits anywhere in managed CLAUDE.md/settings/.gitignore also block later updates/removal. Inspect diffs and export local changes first; no silent override. Omitted update flags preserve selections; explicit profiles/hook flags replace those selections.

Each write uses atomic replacement; ordinary exceptions trigger best-effort restoration of completed writes. This is not a crash/power-loss transaction or concurrency lock. Run one installer at a time in a trusted, quiescent repository. Unexpected process termination requires inspecting the ignored manifest and Git diff before retrying. Do not run installer against adversarial directories or concurrently mutate files.

Backups may contain original settings with sensitive environment values. The installer ignores its manifest and local gate/task state; this is not encryption or a secret scanner. Never force-add the manifest. Existing tracked secret-bearing settings require separate remediation. Rollback retains local configuration/task files and ensures their ignore entries remain, even if this means .gitignore differs from its original bytes. Otherwise rollback restores original bytes. It removes only owned files, not user directories. Manifest deletion/corruption or post-install managed edits require manual review; no destructive recovery command is provided.

Dependency detection: doctor checks Claude availability/version, owned-file hashes, JSON mapping validity, local gate schema, permission grants and presence of MCP entries/hooks. It does not connect MCP, audit all settings schema fields, discover every user/managed source or verify model availability. Use Claude's native configuration diagnostics in a separately approved trusted session for effective settings. Local tests qualify only macOS ARM64/Python 3.14; portability intentions do not imply Linux/Windows support.

Shared team gates can now live in .claude/framework/gates.json; ignored .claude/framework.local.json adds distinct personal gate names. Preview/execute remains explicit, and review receipts use the same combined list. Workspace configure/status provides preview-first new/existing and solo/team setup. See workspace automation.