Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
fix: update all remaining stale gog auth/calendar commands
auroracapital532ea82d718a
diff --git a/claude-ops/CLAUDE.md b/claude-ops/CLAUDE.mdindex a86cdf5e..b4643120 100644--- a/claude-ops/CLAUDE.md+++ b/claude-ops/CLAUDE.md@@ -37,7 +37,7 @@ The `AskUserQuestion` tool enforces a hard schema limit of `<=4` items in the `oWhen a skill says "tell the user to run X in a separate terminal" or "Run `command` in your terminal":- **Run it via the Bash tool instead** (backgrounded with `run_in_background: true` if it is long-running or interactive).-- **OAuth flows** (`gog auth login`, `doppler login`, `op signin`): run via Bash with `run_in_background: true` — the browser will open automatically.+- **OAuth flows** (`gog auth add <email> --services gmail,calendar,...`, `doppler login`, `op signin`): run via Bash with `run_in_background: true` — the browser will open automatically.- **Password manager unlock** (`bw unlock`, `dcli configure`): run via Bash tool directly.- **Exception — QR-based auth** (`wacli auth`): this genuinely requires the user's phone camera pointed at the terminal. This is the ONLY case where you should tell the user to act in a separate terminal.diff --git a/claude-ops/bin/ops-autofix b/claude-ops/bin/ops-autofixindex a0e539e5..7e4261a0 100755--- a/claude-ops/bin/ops-autofix+++ b/claude-ops/bin/ops-autofix@@ -193,7 +193,7 @@ fix_channel_health() {if echo "$GOG_AUTH" | grep -qi "authenticated\|logged in\|valid"; thenGOG_TEST=$(gog gmail labels list --json 2>/dev/null | head -5)if [ -z "$GOG_TEST" ] || echo "$GOG_TEST" | grep -qi "error\|failed"; then- log_fail "gog-health: authenticated but Gmail API failing (token may need refresh — run gog auth login)"+ log_fail "gog-health: authenticated but Gmail API failing (token may need refresh — run gog auth add <email> --services gmail,calendar,drive,contacts,docs,sheets)"elselog_skip "gog-health: email working"fidiff --git a/claude-ops/skills/ops-go/SKILL.md b/claude-ops/skills/ops-go/SKILL.mdindex 8da28547..e4cc889a 100644--- a/claude-ops/skills/ops-go/SKILL.md+++ b/claude-ops/skills/ops-go/SKILL.md@@ -55,7 +55,7 @@ Before executing, load available context:| Command | Usage | Output ||---------|-------|--------|-| `gog calendar list --date "$(date +%Y-%m-%d)"` | Today's calendar events | Calendar events |+| `gog calendar events primary --today --json` | Today's calendar events | Calendar events || `gog gmail search -j --results-only --no-input --max 30 "in:inbox"` | Search inbox | JSON array of threads |---@@ -111,7 +111,7 @@ done### Calendar (today)```!-gog calendar list --date "$(date +%Y-%m-%d)" 2>/dev/null | head -20 || echo "calendar unavailable"+gog calendar events primary --today --json 2>/dev/null | head -20 || echo "calendar unavailable"```## Your taskdiff --git a/claude-ops/skills/setup/SKILL.md b/claude-ops/skills/setup/SKILL.mdindex ca579a75..114d2930 100644--- a/claude-ops/skills/setup/SKILL.md+++ b/claude-ops/skills/setup/SKILL.md@@ -274,8 +274,8 @@ Whenever a channel has a **browser-based OAuth flow** available, offer that firs| Channel | OAuth path | Manual fallback || -------------- | ---------------------------------------------------------- | -------------------------------------- |-| Email (gog) | `gog auth login` (browser) | n/a — gog is OAuth-only |-| Calendar (gog) | same `gog auth login` with `--scopes=calendar` | n/a |+| Email (gog) | `gog auth add <email> --services gmail,calendar,drive,contacts,docs,sheets` (browser) | n/a — gog is OAuth-only |+| Calendar (gog) | same `gog auth add` with calendar in `--services` | n/a || Slack | `claude mcp add slack` (handles OAuth through Claude Code) | bot token via auto-scan + manual paste || Linear | `claude mcp add linear` | API key || Sentry | `claude mcp add sentry` | DSN / auth token |@@ -756,12 +756,12 @@ Email has two possible backends, tried in this order:1. Check `gog` on PATH with `command -v gog`.2. **If installed**, run `gog auth status 2>&1 || true` and show the output.- - If auth is red (not authenticated / token expired / exit != 0), run `gog auth login` via Bash tool with `run_in_background: true` (it opens a browser for the OAuth flow). Tell the user: "Opening browser for Gmail OAuth — complete the sign-in there, then type 'done'." Use `AskUserQuestion`: `[Done — authenticated]`, `[Skip email]`.+ - If auth is red (not authenticated / token expired / exit != 0), run `gog auth add "$USER_EMAIL" --services gmail,calendar,drive,contacts,docs,sheets` via Bash tool with `run_in_background: true` (it opens a browser for the OAuth flow). Tell the user: "Opening browser for Gmail OAuth — complete the sign-in there, then type 'done'." Use `AskUserQuestion`: `[Done — authenticated]`, `[Skip email]`.- If auth is green, probe with:```bashgog gmail labels list --json 2>&1 | head -5```- If this returns JSON containing a `labels` array, gog is authenticated and the Gmail API is working. Report ✓. If the output is an error or empty, treat as broken and instruct the user to re-run `gog auth login`.+ If this returns JSON containing a `labels` array, gog is authenticated and the Gmail API is working. Report ✓. If the output is an error or empty, treat as broken and instruct the user to re-run `gog auth add <email> --services gmail,calendar,drive,contacts,docs,sheets`.- Record `channels.email = "gog"` in `$PREFS_PATH` and stop here.#### Fallback: Claude Gmail MCP connector