ClawAPI — Model Switcher & Key Vault for OpenClaw
ClawAPI is a native macOS app that lets you switch AI models and manage API keys for OpenClaw.
What It Does
- One-click model switching — Pick any model from any provider and apply it instantly
- Touch ID — Biometric authentication for adding and deleting API keys
- 16 providers — OpenAI, Anthropic, xAI, Google, Groq, Mistral, OpenRouter, Cerebras, Kimi, MiniMax, Z.AI, OpenCode Zen, Vercel AI, HuggingFace, Ollama, LM Studio
- Config safety — JSON validation before writing, automatic
.bak backups
Installation
Option 1: Download from GitHub Releases (recommended)
Download the latest signed and notarized .zip from GitHub Releases, unzip, and move ClawAPI.app to /Applications.
Option 2: Install script
curl -fsSL https://raw.githubusercontent.com/Gogo6969/clawapi/main/install.sh | bash
The install script downloads the same signed .zip from GitHub Releases, verifies the SHA-256 checksum, unzips it, and moves the app to /Applications. You can review the script source before running it.
Requires macOS 14+. The app is signed with an Apple Developer ID and notarized by Apple.
How It Works
- Add a provider — Click
+, pick a provider, paste your API key
- Pick a model — Use the dropdown to choose a sub-model (GPT-4.1, Claude Sonnet 4, Grok 4, etc.)
- Done — ClawAPI syncs everything to OpenClaw automatically
Where API Keys Are Stored
API keys are managed in two places by design:
- macOS Keychain (master copy) — The key you enter is stored in the macOS Keychain, protected by hardware encryption and Touch ID. This is the authoritative copy.
auth-profiles.json (sync copy for OpenClaw) — OpenClaw reads API keys from its own auth-profiles.json config file. ClawAPI writes a copy of the key there so OpenClaw can use it. This file lives in ~/Library/Application Support/OpenClaw/.
The active model selection is written to openclaw.json. No proxy, no middleware — OpenClaw talks directly to provider APIs.
Security & Privacy
- API keys are stored in the macOS Keychain with hardware encryption; a sync copy is written to OpenClaw's
auth-profiles.json so that OpenClaw can read them
- Touch ID authentication for adding/deleting keys (password fallback on Macs without Touch ID)
- The app is signed with Apple Developer ID and notarized by Apple
- Hardened runtime enabled
- No data leaves your machine — ClawAPI only reads/writes local OpenClaw config files
- No telemetry, no analytics, no phone-home
External Endpoints
| Endpoint |
Purpose |
Data Sent |
raw.githubusercontent.com |
Check for app updates |
None (reads update.json) |
localhost:11434 |
Discover Ollama models |
None (reads local API) |
localhost:1234 |
Discover LM Studio models |
None (reads local API) |
No other network requests are made by ClawAPI.
Links
1---
2name: clawapi
3description: Switch AI models and manage API keys for OpenClaw with a native macOS app. Supports 16 providers including OpenAI, Anthropic, xAI, Google, Groq, Ollama, LM Studio, and more.
4homepage: https://github.com/Gogo6969/clawapi
5user-invocable: true
6metadata:
7 source: https://skillmd.com/skills/modbender/clawapi
8 openclaw:
9 emoji: 🔑
10 requires:
11 bins:
12 - curl
13 config:
14 - skills.entries.clawapi
15 install:
16 - kind: script
17 command: curl -fsSL https://raw.githubusercontent.com/Gogo6969/clawapi/main/install.sh | bash
18---
19
20# ClawAPI — Model Switcher & Key Vault for OpenClaw
21
22ClawAPI is a native macOS app that lets you switch AI models and manage API keys for OpenClaw.
23
24## What It Does
25
26- **One-click model switching** — Pick any model from any provider and apply it instantly
27- **Touch ID** — Biometric authentication for adding and deleting API keys
28- **16 providers** — OpenAI, Anthropic, xAI, Google, Groq, Mistral, OpenRouter, Cerebras, Kimi, MiniMax, Z.AI, OpenCode Zen, Vercel AI, HuggingFace, Ollama, LM Studio
29- **Config safety** — JSON validation before writing, automatic `.bak` backups
30
31## Installation
32
33### Option 1: Download from GitHub Releases (recommended)
34
35Download the latest signed and notarized `.zip` from [GitHub Releases](https://github.com/Gogo6969/clawapi/releases), unzip, and move `ClawAPI.app` to `/Applications`.
36
37### Option 2: Install script
38
39```bash
40curl -fsSL https://raw.githubusercontent.com/Gogo6969/clawapi/main/install.sh | bash
41```
42
43The install script downloads the same signed `.zip` from GitHub Releases, verifies the SHA-256 checksum, unzips it, and moves the app to `/Applications`. You can [review the script source](https://github.com/Gogo6969/clawapi/blob/main/install.sh) before running it.
44
45Requires macOS 14+. The app is signed with an Apple Developer ID and notarized by Apple.
46
47## How It Works
48
491. **Add a provider** — Click `+`, pick a provider, paste your API key
502. **Pick a model** — Use the dropdown to choose a sub-model (GPT-4.1, Claude Sonnet 4, Grok 4, etc.)
513. **Done** — ClawAPI syncs everything to OpenClaw automatically
52
53## Where API Keys Are Stored
54
55API keys are managed in **two places** by design:
56
571. **macOS Keychain (master copy)** — The key you enter is stored in the macOS Keychain, protected by hardware encryption and Touch ID. This is the authoritative copy.
582. **`auth-profiles.json` (sync copy for OpenClaw)** — OpenClaw reads API keys from its own `auth-profiles.json` config file. ClawAPI writes a copy of the key there so OpenClaw can use it. This file lives in `~/Library/Application Support/OpenClaw/`.
59
60The active model selection is written to `openclaw.json`. No proxy, no middleware — OpenClaw talks directly to provider APIs.
61
62## Security & Privacy
63
64- API keys are stored in the **macOS Keychain** with hardware encryption; a sync copy is written to OpenClaw's `auth-profiles.json` so that OpenClaw can read them
65- **Touch ID** authentication for adding/deleting keys (password fallback on Macs without Touch ID)
66- The app is **signed with Apple Developer ID** and **notarized by Apple**
67- Hardened runtime enabled
68- **No data leaves your machine** — ClawAPI only reads/writes local OpenClaw config files
69- No telemetry, no analytics, no phone-home
70
71## External Endpoints
72
73| Endpoint | Purpose | Data Sent |
74|----------|---------|-----------|
75| `raw.githubusercontent.com` | Check for app updates | None (reads `update.json`) |
76| `localhost:11434` | Discover Ollama models | None (reads local API) |
77| `localhost:1234` | Discover LM Studio models | None (reads local API) |
78
79No other network requests are made by ClawAPI.
80
81## Links
82
83- **GitHub:** [github.com/Gogo6969/clawapi](https://github.com/Gogo6969/clawapi)
84- **Wiki:** [github.com/Gogo6969/clawapi/wiki](https://github.com/Gogo6969/clawapi/wiki)
85- **User Guide:** [docs/USER_GUIDE.md](https://github.com/Gogo6969/clawapi/blob/main/docs/USER_GUIDE.md)