skills/email-triage/SKILL.md
Classifies incoming emails from the shared [email protected] inbox by topic and routes them: career topics to Andy, health topics to Cooper, MARS-owned items stay with MARS, unsure items escalate to Maxime. Self-contained dispatch logic with strict safety rules for mailbox mutations.
npx skillsauth add maximebaudette/agent-skills email-triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill sorts emails from the shared inbox according to topic and decides what to do with each message:
career → dispatch to Andy (career-manager profile)health → dispatch to Cooper (health-coach profile)MARS-owned → handle locally (limited safe actions only)unsure → escalate directly to Maxime (never auto-archived or mutated)The inbox polling cron loads this skill when it detects new mail. The skill performs the actual classification and routing.
Core principle:
Only ever hand off a message_id plus a very short summary. The receiving profile is responsible for fetching the full message content using the google-workspace skill.
This skill is fully self-contained. It no longer requires a separate agent-dispatch skill.
Every processed message must be classified into exactly one of the four categories above.
If classification is ambiguous or the model is not confident, the message must fall back to unsure.
When a message is classified as career or health, this skill is responsible for handing it off to the correct profile.
Preferred handoff (recommended):
email_id and minimal context.Lightweight alternative (when kanban is not suitable):
hermes chat -p career-manager -q "Fetch and process Gmail message <id>. Short context: ..."After a successful handoff, the skill may archive + mark the original message as read (Inbox messages only). Non-Inbox targeted messages keep their current state.
Messages classified as MARS-owned are processed directly by this skill.
Allowed actions (keep them minimal and safe):
Forbidden:
If a safe action is taken successfully on an Inbox message, it may be archived and marked read.
Messages classified as unsure must never be mutated by this skill.
message_id, sender, subject, date, and a short reason why it was marked unsure.This ensures the message remains visible on future sweeps until a human resolves it.
unsure messages: zero mutations ever.The skill can also be invoked directly for a single message or a custom query (useful for re-processing or debugging):
email_idTargeted runs follow the same classification and mutation rules.
agent-dispatch contract has been retired.All mailbox changes go through the google-workspace skill. Failed or uncertain handoffs leave the original message untouched so the flow is repeatable and safe.
development
Compile LaTeX documents using the Tectonic engine. Use this skill whenever the user wants to create, edit, or compile a LaTeX document — letters, articles, CVs, reports. Tectonic is a self-contained compiler that auto-downloads only the packages it needs.
tools
Maintain living stack documentation for the MARS host in the Prime Radiant KB. Use this skill whenever: updating the mars host page after infrastructure changes, appending archive entries for deprecated components, documenting a new service/skill/plugin being added or removed, or when the user asks to 'update stack docs', 'document this change', 'archive this setup', 'what's in the stack', or 'generate stack summary'. Also use when you've just finished installing or removing any service, plugin, skill, tool, or cron — proactively suggest documenting it.
tools
Run autonomous dev tasks using Gemini CLI (gemini-cli) with Maxime's free Google quota. Use for programming projects where MARS needs to delegate agentic coding work — file edits, code gen, refactoring, analysis — to Gemini in a project directory.
testing
Weekly or on-demand audit of all agent workspaces (Cooper, Andy, MARS). Checks for stale script references, wrong skill paths, snapshot count drift, config vs file drift, and contradictory instructions. Auto-fixes simple unambiguous issues. Emails Maxime only for items requiring judgment. Silent on clean runs. MARS-only — do not invoke as Cooper or Andy.