liza setup once per machine to install Liza’s global contract files. This command writes behavioral contracts, composable skills, support documentation, default pipeline configuration, and the critical AGENT_TOOLS.md tool contract to ~/.liza/ — the foundation every project and agent session depends on.
What liza setup Does
liza setup populates ~/.liza/ with everything Liza needs to operate across any project on your machine. It does not touch your project directories — that is the job of liza init.
Behavioral Contracts
Installs
CORE.md, PAIRING_MODE.md, MULTI_AGENT_MODE.md, COLLABORATION_CONTINUITY.md, and related contract files that govern how agents behave.Composable Skills
Installs the
skills/ directory with reusable agent skills such as checkpoint-summary. Provider flags create symlinks from each provider’s own skill directory back to ~/.liza/skills/.AGENT_TOOLS.md
Installs the agent tool contract — the file that tells agents which CLI tools and MCP servers to use and in what order.
Support Docs & Pipeline Config
Installs
support-docs/, a default pipeline.yaml, and the CUSTOMIZING_AGENT_TOOLS.md guide agents can reference during setup review.Command Syntax
Run the base setup, then add provider flags for every coding agent CLI you intend to use:What Gets Installed
After runningliza setup, your ~/.liza/ directory contains:
~/.liza/skills/:
Provider-Specific Notes
Each provider CLI has a different integration model. Read the relevant section before running setup.- Claude
- Codex
- OpenCode
- Gemini
- Kimi
- Mistral / Vibe
liza setup --claude handles the full global install for Claude Code. It creates skill symlinks under ~/.claude/skills/ pointing to ~/.liza/skills/.Project-level Claude settings (.claude/settings.json, .claude/hooks/) are written by liza init --claude — not by setup.How to Upgrade
After updating the Liza binary, refresh existing global files with the--force flag:
--force, liza setup skips files that already exist. Use --force after every binary upgrade to ensure contracts, skills, and AGENT_TOOLS.md reflect the latest version.
Using a Custom AGENT_TOOLS.md
If you maintain your own tool contract, pass it at setup time:~/.liza/AGENT_TOOLS.md instead of the embedded default. Repass this flag with --force after upgrades if you want to keep your custom version: