Skip to content

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.

fix(inbox): consistent JSON keys, correct Gmail query semantics, valid Slack search syntax

auroracapital315bbbc81c3b
diff --git a/claude-ops/bin/ops-unread b/claude-ops/bin/ops-unread
index f144a957..96631daf 100755
--- a/claude-ops/bin/ops-unread
+++ b/claude-ops/bin/ops-unread
@@ -85,10 +85,10 @@ except:
[[ "$EMAIL_COUNT" =~ ^[0-9]+$ ]] || EMAIL_COUNT="0"
RESULT=$(echo "$RESULT" | jq --argjson c "$EMAIL_COUNT" '.channels.email = {"inbox_count": $c, "available": true}')
else
- RESULT=$(echo "$RESULT" | jq '.channels.email = {"unread": 0, "available": false, "note": "gog not authenticated — run: gog gmail auth"}')
+ RESULT=$(echo "$RESULT" | jq '.channels.email = {"inbox_count": 0, "available": false, "note": "gog not authenticated — run: gog gmail auth"}')
fi
else
- RESULT=$(echo "$RESULT" | jq '.channels.email = {"unread": 0, "available": false, "note": "gog not installed — run: npm install -g @example/gog (or bun install -g @example/gog, or clone github.com/example/gog)"}')
+ RESULT=$(echo "$RESULT" | jq '.channels.email = {"inbox_count": 0, "available": false, "note": "gog not installed — run: npm install -g @example/gog (or bun install -g @example/gog, or clone github.com/example/gog)"}')
fi
# ── Slack — MCP-based, check env ──
diff --git a/claude-ops/scripts/ops-cron-inbox-digest.sh b/claude-ops/scripts/ops-cron-inbox-digest.sh
index af566e09..f09f47cb 100755
--- a/claude-ops/scripts/ops-cron-inbox-digest.sh
+++ b/claude-ops/scripts/ops-cron-inbox-digest.sh
@@ -64,7 +64,7 @@ data = json.load(sys.stdin)
subjects = [m.get('subject', '')[:50] for m in (data if isinstance(data, list) else [])[:3]]
print('\n - '.join(subjects))
" 2>/dev/null || echo "")
- EMAIL_SUMMARY="Email: $EMAIL_COUNT unread"
+ EMAIL_SUMMARY="Email: $EMAIL_COUNT in inbox"
[[ -n "$EMAIL_SUBJECTS" ]] && EMAIL_SUMMARY="$EMAIL_SUMMARY
- $EMAIL_SUBJECTS"
fi
diff --git a/claude-ops/skills/ops-inbox/SKILL.md b/claude-ops/skills/ops-inbox/SKILL.md
index aa4121ea..f646a9cf 100644
--- a/claude-ops/skills/ops-inbox/SKILL.md
+++ b/claude-ops/skills/ops-inbox/SKILL.md
@@ -417,7 +417,7 @@ Draft replies via `gog gmail send`. Archive via `gog gmail labels modify --remov
### Slack
-Use Slack MCP tools with `query: "in:channel"` (NOT `is:unread` — scan full recent activity, not just unread) for mentions.
+Use Slack MCP tools with `query: "in:*"` (NOT `is:unread` — scan full recent activity, not just unread) for mentions.
For each result, show channel, sender, preview. Read thread for context.
```