.codaph/ directory and configuring sync automation.
Usage
Description
Theinit command:
- Creates
.codaph/directory for local event storage - Configures agent providers (Codex, Claude Code, Gemini CLI)
- Installs sync automation hooks (git post-commit, agent-complete)
- Saves project settings
- Generates MCP server configuration templates
codaph setup.
Flags
Project directory (defaults to current directory)Auto-detects git repo root if inside a git repository
Project name (defaults to directory basename or detected project ID)
Mubit project ID (auto-detected from git remote
owner/repo if available)Mubit run scope:
project or sessionproject(default with project ID) - Shared run across contributorssession- Separate run per session
Comma-separated agent providers:
codex, claude-code, geminiExamples:codex,claude-codeall(all providers)auto(auto-detect from marker directories)
Comma-separated providers for agent-complete hooksExamples:
codex,claude-codeallnone(skip agent-complete hooks)
Skip installing sync automation hooks
Accept defaults without prompting (non-interactive mode)
Reinstall automation hooks even if already enabled
Output JSON instead of human-readable text
Examples
Interactive Init
- Agent providers (auto-detects from
.codex/,.claude/,.gemini/) - Agent-complete hook providers
Non-interactive Init
Specify Providers
Skip Automation
Custom Project ID
Output
JSON Output
Files Created
.codaph/- Event storage directory.codaph/project.json- Project configuration.codaph/mcp/claude-code.json- MCP server template.git/hooks/post-commit- Git hook (if automation enabled).codex/.codaph-hook- Codex agent hook (if selected).claude/.codaph-hook- Claude Code agent hook (if selected)
Next Steps
After initialization:Related Commands
- codaph setup - Global configuration
- codaph pull - Sync cloud to local
- codaph push - Import agent history
- codaph status - View sync status