CLI
larkx init
Initialize a project for indexing.
Usage
bash
larkx initWhat it does
- Creates
.larkx/with empty data files - Adds
.larkxto.gitignore - Prompts: "Set up MCP server?", creates
.mcp.json - Prompts: "Which AI agents do you use?", creates per-agent instruction files
- If Claude Code is selected, adds
UserPromptSubmithook to.claude/settings.json
Idempotent
Re-running on an initialized project prints a warning and exits without overwriting anything.
Related
larkx setup-agents, re-run just the agent file wizardlarkx index, next step after init