CLIProxy + OpenClaw
name: cliproxy-openclaw
by ayder21 · published 2026-04-01
$ claw add gh:ayder21/ayder21-cliproxy-openclaw---
name: cliproxy-openclaw
description: Deploy and configure CLIProxyAPI, expose its dashboard safely, connect OAuth providers like Claude Code, Gemini, Codex, Qwen, and iFlow, generate a reusable API endpoint and API key, and integrate it with OpenClaw or other OpenAI-compatible tools. Use when the user wants one API layer from subscription-based CLI or OAuth accounts, multi-account routing, or CLIProxy setup on a VPS or local machine.
metadata:
openclaw:
os: [linux, darwin]
---
# CLIProxy + OpenClaw
Use this skill when the user wants to:
Outcome
The job is complete only when all of these are true:
1. CLIProxyAPI is installed and running
2. the intended dashboard or management URL is reachable
3. the user has added one or more OAuth-backed providers or accounts
4. a reusable API endpoint and API key are available
5. OpenClaw or the target client is configured to use CLIProxy
6. a smoke test succeeds against a real model
Default workflow
1. Determine the target mode:
- local only
- VPS or private LAN
- public remote dashboard access
2. Inspect the environment before changing anything:
- OS and package/runtime availability
- whether Docker, systemd, nginx, Caddy, or another reverse proxy already exists
- whether OpenClaw is already installed and how it is configured
- firewall state and whether public exposure is actually desired
3. Install and start CLIProxyAPI.
- Prefer a stable service deployment over an ad-hoc shell session.
- Prefer systemd when available.
- After install, verify the process is actually listening.
4. Expose access only as needed.
- If the user wants remote access, prefer reverse proxy plus minimal port exposure.
- Do not open management surfaces wider than necessary.
- State clearly what URL and what ports will become reachable.
5. Guide provider onboarding.
- Tell the user how to open the dashboard.
- Have them add OAuth providers or accounts.
- Confirm that models become visible and usable.
6. Capture integration details.
- base URL
- API key or token
- model names
- any special headers if the deployment requires them
7. Connect the result to OpenClaw.
- Use the most direct compatible provider path available in OpenClaw.
- If exact manual values are needed, provide them explicitly.
8. Run a smoke test.
- list models if available
- send a minimal request
- verify the selected model returns a real response
Read references only when needed
Operating rules
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...