build-deploy
Build llm-mux binary and run locally for development/debugging
When & Why to Use This Skill
This Claude skill automates the local build and execution workflow for the llm-mux project. It streamlines the development cycle by handling process termination, Go compilation, and binary execution in a single step, making it an essential tool for developers needing to iterate quickly and monitor real-time logs in a local environment.
Use Cases
- Rapid Feature Development: Instantly rebuild and restart the llm-mux server to test new code changes and verify functionality locally.
- System Troubleshooting: Utilize the built-in debug logging toggle to identify and resolve complex integration issues within the LLM proxy layer.
- Real-time Log Monitoring: Execute the binary directly in the terminal to observe live request/response flows and performance metrics during development.
| name | build-deploy |
|---|---|
| description | Build llm-mux binary and run locally for development/debugging |
Overview
Build and run llm-mux locally for development. For production, use install.sh or Docker.
Paths
| Item | Path |
|---|---|
| Binary | /Users/nghiahoang/Dev/CLIProxyAPI-Extended/llm-mux |
| Config | ~/.config/llm-mux/config.yaml |
| Auth files | ~/.config/llm-mux/auth/ |
Build & Run
pkill -f llm-mux; go build -o llm-mux ./cmd/server && ./llm-mux
Press Ctrl+C to stop.
Enable Debug Logging
Set in ~/.config/llm-mux/config.yaml:
debug: true
When to use
- Developing new features
- Troubleshooting issues
- Checking logs in real-time