← Commit history

SKILL.md: document multi-account (--account) support

John Lauer ·b24f596b07 ·3mo ago ·parent 96d3bf5
1 file changed +11
SKILL.md+11
@@ -171,8 +171,19 @@ adom-google chat send --to <space-id|email> "<text>"      # post; email auto-res adom-google chat read --from <space-id|email> [--limit N] [--json]   # recent messages  adom-google status     # mode (safe/full) + what's authorized (never prints secrets)+adom-google accounts   # list all configured accounts (work + personal, isolated) ``` +## Multiple accounts (v0.8.0+) — e.g. work + personal, fully isolated++`adom-google --account <name> <cmd>` (or `ADOM_GOOGLE_ACCOUNT=<name>`) runs ANY command against a+named account stored at `~/.config/adom-google/accounts/<name>/` with its OWN refresh token, mode,+and provider.json (inherits the default account's provider unless overridden — a Workspace-Internal+OAuth client can't sign in a gmail.com user, so a personal account typically needs its own External+client via `--account <name> provider set`). The default (unnamed) account keeps the original paths —+existing setups are untouched. First-run auth for a new account follows the SAME ask-the-user+safe/full rule: `adom-google --account personal auth [--full]`.+ **`chat` vs [adom-gchat](/adom/adom-gchat):** adom-google posts as **you** and does the **full Chat lifecycle** — post, read, edit, delete, react — as your own Google identity (clean, no prefix). For an **attributed bot post** to a team space (deploys/alerts as