/install keys
Usage
Make authenticated API calls without seeing the key:
keys-broker call '{"action":"call","service":"openai","url":"https://api.openai.com/v1/chat/completions","method":"POST","body":{"model":"gpt-4","messages":[{"role":"user","content":"Hello"}]}}'
Response:
{"ok": true, "status": 200, "body": {...}}
Supported Services
Only preconfigured services work (security: prevents key exfiltration):
openai→ api.openai.comanthropic→ api.anthropic.comstripe→ api.stripe.comgithub→ api.github.com
To add services, edit ALLOWED_URLS in keys-broker.sh.
Rules
- Never retrieve keys directly — always use
keys-broker call - Never ask user to paste keys in chat — guide them to keychain commands
Other Tasks
- First time setup → see
setup.md(installkeys-broker.sh) - Add/remove/rotate keys → see
manage.md
Limitations
Does NOT work in: Docker containers, WSL, headless Linux servers (no keychain access).
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install keys - After installation, invoke the skill by name or use
/keys - Provide required inputs per the skill's parameter spec and get structured output
What is Keys?
Secure API key management with broker. Keys never exposed to agent context. It is an AI Agent Skill for Claude Code / OpenClaw, with 968 downloads so far.
How do I install Keys?
Run "/install keys" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Keys free?
Yes, Keys is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Keys support?
Keys is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin).
Who created Keys?
It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.