{"skill":{"slug":"clawapi","displayName":"ClawAPI","summary":"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 S...","description":"---\nname: clawapi\ndescription: 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.\nhomepage: https://github.com/Gogo6969/clawapi\nuser-invocable: true\nmetadata: {\"openclaw\":{\"emoji\":\"🔑\",\"requires\":{\"bins\":[\"curl\"],\"config\":[\"skills.entries.clawapi\"]},\"install\":[{\"kind\":\"script\",\"command\":\"curl -fsSL https://raw.githubusercontent.com/Gogo6969/clawapi/main/install.sh | bash\"}]}}\n---\n\n# ClawAPI — Model Switcher & Key Vault for OpenClaw\n\nClawAPI is a native macOS app that lets you switch AI models and manage API keys for OpenClaw.\n\n## What It Does\n\n- **One-click model switching** — Pick any model from any provider and apply it instantly\n- **Touch ID** — Biometric authentication for adding and deleting API keys\n- **16 providers** — OpenAI, Anthropic, xAI, Google, Groq, Mistral, OpenRouter, Cerebras, Kimi, MiniMax, Z.AI, OpenCode Zen, Vercel AI, HuggingFace, Ollama, LM Studio\n- **Config safety** — JSON validation before writing, automatic `.bak` backups\n\n## Installation\n\n### Option 1: Download from GitHub Releases (recommended)\n\nDownload the latest signed and notarized `.zip` from [GitHub Releases](https://github.com/Gogo6969/clawapi/releases), unzip, and move `ClawAPI.app` to `/Applications`.\n\n### Option 2: Install script\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/Gogo6969/clawapi/main/install.sh | bash\n```\n\nThe 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.\n\nRequires macOS 14+. The app is signed with an Apple Developer ID and notarized by Apple.\n\n## How It Works\n\n1. **Add a provider** — Click `+`, pick a provider, paste your API key\n2. **Pick a model** — Use the dropdown to choose a sub-model (GPT-4.1, Claude Sonnet 4, Grok 4, etc.)\n3. **Done** — ClawAPI syncs everything to OpenClaw automatically\n\n## Where API Keys Are Stored\n\nAPI keys are managed in **two places** by design:\n\n1. **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.\n2. **`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/`.\n\nThe active model selection is written to `openclaw.json`. No proxy, no middleware — OpenClaw talks directly to provider APIs.\n\n## Security & Privacy\n\n- 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\n- **Touch ID** authentication for adding/deleting keys (password fallback on Macs without Touch ID)\n- The app is **signed with Apple Developer ID** and **notarized by Apple**\n- Hardened runtime enabled\n- **No data leaves your machine** — ClawAPI only reads/writes local OpenClaw config files\n- No telemetry, no analytics, no phone-home\n\n## External Endpoints\n\n| Endpoint | Purpose | Data Sent |\n|----------|---------|-----------|\n| `raw.githubusercontent.com` | Check for app updates | None (reads `update.json`) |\n| `localhost:11434` | Discover Ollama models | None (reads local API) |\n| `localhost:1234` | Discover LM Studio models | None (reads local API) |\n\nNo other network requests are made by ClawAPI.\n\n## Links\n\n- **GitHub:** [github.com/Gogo6969/clawapi](https://github.com/Gogo6969/clawapi)\n- **Wiki:** [github.com/Gogo6969/clawapi/wiki](https://github.com/Gogo6969/clawapi/wiki)\n- **User Guide:** [docs/USER_GUIDE.md](https://github.com/Gogo6969/clawapi/blob/main/docs/USER_GUIDE.md)\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":296,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":2},"createdAt":1771366686378,"updatedAt":1778991291927},"latestVersion":{"version":"1.0.1","createdAt":1771367467683,"changelog":"Security clarifications: Explained two-copy key storage design (Keychain + auth-profiles.json), added manual download as primary install method, removed VPS/SSH references","license":null},"metadata":{"setup":[{"key":"skills.entries.clawapi","required":true}],"os":null,"systems":null},"owner":{"handle":"gogo6969","userId":"s17c6x273aeq4p6mgqegpf04js885zh9","displayName":"AgentRepublic","image":"https://avatars.githubusercontent.com/u/7610933?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779972891360}}