CLI

larkx setup-agents

Re-create or update agent instruction files.

Usage

bash
larkx setup-agents

What it does

Runs the same wizard as larkx init but only the agent-file portion. Useful when you start using a new AI agent and want to add its instruction file without re-initializing.

Supported agents

  • Claude Code → CLAUDE.md + .claude/settings.json hook
  • GitHub Copilot → .github/copilot-instructions.md
  • Cursor → .cursorrules
  • OpenAI Codex → AGENTS.md
  • Gemini CLI → GEMINI.md

Existing files are preserved, never overwritten.