diff --git a/skills/import/SKILL.md b/skills/import/SKILL.md new file mode 100644 index 0000000..4e7819e --- /dev/null +++ b/skills/import/SKILL.md @@ -0,0 +1,27 @@ +# 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.