Back to skills
SKILL.md
Keys
ASecuritySecure API key management with broker. Keys never exposed to agent context.
- 17 stars
- 0 votes
- 0 copies
- 5 views
- Added September 6, 2026
Works with
Security analysis
100/100Pro scans all 5 files and shows the line behind each finding
npx -y skills add clawic/skills --skill keys --agent claude-codeAre you the author of Keys?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/clawic-keys)---
name: Keys
slug: keys
version: 1.0.0
description: Secure API key management with broker. Keys never exposed to agent context.
homepage: https://clawic.com/skills/keys
metadata:
clawdbot:
emoji: 🔑
requires:
bins:
- curl
- jq
- bash
os:
- linux
- darwin
displayName: Keys
---
## Usage
Make authenticated API calls without seeing the key:
```bash
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:
```json
{"ok": true, "status": 200, "body": {...}}
```
## Supported Services
Only preconfigured services work (security: prevents key exfiltration):
- `openai` → api.openai.com
- `anthropic` → api.anthropic.com
- `stripe` → api.stripe.com
- `github` → api.github.com
To add services, edit `ALLOWED_URLS` in `keys-broker.sh`.
## Rules
1. **Never retrieve keys directly** — always use `keys-broker call`
2. **Never ask user to paste keys in chat** — guide them to keychain commands
## Other Tasks
- First time setup → see `setup.md` (install `keys-broker.sh`)
- Add/remove/rotate keys → see `manage.md`
## Limitations
Does NOT work in: Docker containers, WSL, headless Linux servers (no keychain access).
Files in this skill
- SKILL.md
- _meta.json
- keys-broker.sh
- manage.md
- setup.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.