Setup Skill: Environment Provisioning
This skill allows MEOW to autonomously install and configure its Level-2 specialists (Claude Code, Aider, and OpenCode) based on the current OS and environment variables.
🔎 Pre-flight Checks
- Identify OS: Determine if the environment is macOS, Linux, or Windows.
- Key Discovery:
- Check local
.envforLLM_API_KEYandLLM_BASE_URL. - Check process environment for these variables.
- If missing, ask the user or look for
ANTHROPIC_AUTH_TOKEN.
- Check local
🛠️ Installation Matrix
1. Claude Code
- Command:
npm install -g @anthropic-ai/claude-code - Verification:
claude --version - Config: Set
ANTHROPIC_API_KEYto the value ofLLM_API_KEY.
2. Aider
- Command:
pipx install aider-chat(Recommended: Use Python 3.12 for stability) - Manual Command:
pip3.12 install aider-chat - Verification:
aider --version - Config:
- Set
ANTHROPIC_API_KEYtoLLM_API_KEY. - If
LLM_BASE_URLis set, configure the specialist to use it as its API base where applicable (e.g.,OPENAI_API_BASE).
- Set
3. OpenCode
- Command (Mac/Linux):
curl -fsSL https://opencode.ai/install | bash - Command (Alternative):
npm install -g opencode-ai - Verification:
opencode --version - Config: Run
opencode /connector set relevant env vars.
🚀 Execution Procedure
- Use the
runtool to check if each tool is already in the PATH. - If missing, use the appropriate package manager (npm, pip, curl) to install.
- Once installed, verify the installation.
- Export the necessary environment variables to ensure the specialists are ready for the
summontool.
🚨 Troubleshooting
- If a package manager is missing (e.g.,
npmorpip), report the blocker to the user. - If installation fails due to permissions, try
sudoif appropriate, but prefer local/user-level installs.
Source: stancsz/meow — distributed by TomeVault.