setup-api-key
Installation
SKILL.md
Sonilo Setup
Guide the user through connecting to Sonilo. There are several ways in — pick based on what the user is actually doing, not just whichever is listed first:
| Path | Needs an API key? | Best for |
|---|---|---|
A. sonilo login (CLI sign-in, credential shared with the local MCP server) |
No — OAuth in the browser | Anyone on a machine with a browser. One sign-in covers the CLI and uvx sonilo-mcp, so the MCP config carries no secret. |
B. Remote OAuth MCP plugin (sonilo-claude-plugin) |
No — OAuth sign-in | Claude Code users who want nothing running locally. Full tool coverage. |
C. API key (SONILO_API_KEY) |
Yes | CI, containers, headless boxes, and anyone who prefers holding a key. Works with every client. |
Choosing:
- On a machine with a browser and any MCP host → Path A. It is the shortest path and leaves no secret in a config file.
- Claude Code specifically, and nothing local wanted → Path B.
- No browser (CI, a container, a remote box), or the user says they already have a key → Path C.
- Not working through an agent at all (writing code, scripting a shell) → Path D at the end; the MCP configuration in A–C does not apply.