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
ops-inbox: exclude Actioned completion labels from protected todo guardrail
Cursor Agentcd2763781727
diff --git a/claude-ops/skills/ops-inbox/SKILL.md b/claude-ops/skills/ops-inbox/SKILL.mdindex 01a1eb1d..f25ad4f5 100644--- a/claude-ops/skills/ops-inbox/SKILL.md+++ b/claude-ops/skills/ops-inbox/SKILL.md@@ -545,7 +545,7 @@ All channel credentials come from env vars or CLI auth — no hardcoded secrets.> **🚫 HARD GUARDRAIL — NEVER ARCHIVE A TODO/ACTION-LABELED EMAIL UNTIL VERIFIED DONE (overrides every archive rule below).**> An email carrying ANY of the user's todo/action labels is an open task the user is tracking — it MUST stay in the inbox until the task is verified complete, regardless of how it looks to the classifier (even if the subject reads like spam, a newsletter, or an automated notification, and even if it lands in WAITING/FYI). Treat the label as the user's explicit intent and obey it over your own classification.-> - **Protected labels** (case-insensitive, match by name): `To Respond`, `Respond`, `Reply`, `Reply Later`, `Action`, `Needs Action`, `Follow up`, `Awaiting Reply`, `To-do` / `Todo`, `Tasklet`, `Timed Actions`, and any label whose name contains `to-do`/`todo`/`task`/`action`/`respond`/`follow up`/`reply later`/`needs action`/`awaiting reply`. (Skip Gmail system labels `INBOX/SENT/DRAFT/UNREAD/IMPORTANT/STARRED/CATEGORY_*` — those are not todo markers.)+> - **Protected labels** (case-insensitive, match by name): `To Respond`, `Respond`, `Reply`, `Reply Later`, `Action`, `Needs Action`, `Follow up`, `Awaiting Reply`, `To-do` / `Todo`, `Tasklet`, `Timed Actions`, and any label whose name contains `to-do`/`todo`/`task`/`action`/`respond`/`follow up`/`reply later`/`needs action`/`awaiting reply` — **except** completion labels like `Actioned` or any name containing `actioned` (those signal verified done, not open todos). (Skip Gmail system labels `INBOX/SENT/DRAFT/UNREAD/IMPORTANT/STARRED/CATEGORY_*` — those are not todo markers.)> - **Check before archiving ANY email.** Read the message's `labelIds` (`gog gmail raw <messageId>` is authoritative) and if it carries a protected label, KEEP it — do not archive, do not count it in the archive set.> - **"Verified done"** = the protected label has been removed, OR the thread was moved to a completion label (e.g. `Actioned`), OR the user explicitly says it's handled. Only then may it be archived. Archiving a still-todo-labeled email is a defect, not cleanup — surface it as a kept actionable item instead.> - This applies on every channel that exposes labels/flags (email today; extend to any future labeled channel). For label-less channels (WhatsApp/iMessage), the equivalent is "never archive a thread with a live unresolved action item" per rule 1.@@ -1067,7 +1067,7 @@ def classify_thread(thread_id):- **DRAFT**: Unsent draft exists → verify no reply already sent, then offer to send- **FYI**: Newsletters, automated notifications, receipts → bulk archive — **UNLESS the message carries a protected todo/action label (see the HARD GUARDRAIL in "Core principle: INBOX ZERO"), in which case it is KEPT as an actionable item regardless of its FYI appearance.**- **Before building the FYI/archive set, drop any message whose `labelIds` include a protected todo/action label** (`To Respond`/`Respond`/`Reply`/`Reply Later`/`Action`/`Needs Action`/`Follow up`/`Awaiting Reply`/`To-do`/`Todo`/`Tasklet`/`Timed Actions`, or any custom label name containing those terms — ignoring system labels `INBOX/SENT/DRAFT/UNREAD/IMPORTANT/STARRED/CATEGORY_*`). Those are user-tracked open tasks and must stay in the inbox until verified done.+ **Before building the FYI/archive set, drop any message whose `labelIds` include a protected todo/action label** (`To Respond`/`Respond`/`Reply`/`Reply Later`/`Action`/`Needs Action`/`Follow up`/`Awaiting Reply`/`To-do`/`Todo`/`Tasklet`/`Timed Actions`, or any custom label name containing those terms — except completion labels like `Actioned` or names containing `actioned`; ignoring system labels `INBOX/SENT/DRAFT/UNREAD/IMPORTANT/STARRED/CATEGORY_*`). Those are user-tracked open tasks and must stay in the inbox until verified done.**Phase 2 — Build context for NEEDS REPLY items (run in parallel):**For each NEEDS REPLY thread, gather: