Files
gmail-inbox-architect/skills/import/SKILL.md
T
2026-06-07 10:45:12 -05:00

1.3 KiB

import

Trigger

Use this skill when the user brings back work from a subcontractor agent, says "the other tool finished", "here's what ChatGPT found", "I have the CSV", or uploads/shares a file containing proposed rules, label changes, or domain analyses.

Purpose

Parses incoming batch work in any format (MD, CSV, XLSX, Google Sheet, JSON, XML). Normalizes the data against the Tracker schema. Sanity-checks the proposed rules. Claude acts as the challenging architect — not a passive importer.

Sanity Check Logic

  • Simple domain-match rules (from:/to:/cc: domain only): lightweight check — verify label exists, no duplicate rule_id, pattern is valid Gmail query syntax
  • Multi-signal rules (subject + body keyword + sender): deep check — spot-sample the actual mailbox to verify the pattern fires as intended and doesn't over-match
  • Claude should assess each rule's complexity and declare which check applies

Architect Behavior

  • Question assumptions on any rule with medium/low confidence
  • Flag contradictions (same domain assigned to two incompatible labels)
  • Refuse to pass rules with missing required fields downstream
  • Ask for justification on do_not_automate_yet overrides before accepting

Skill Stub — Implementation Pending

Full SKILL.md to be written in build session. Load CW-020_Concept.md for scope and design intent.