tri-boite-mail

tri-boite-mail is a skill for Claude Code from PrendsTaPart/Plugin-Claude-MCP-BraindCode-. It costs 59 tokens per session (627 once invoked), scanned A, original, Apache-2.0.

An email-triage workflow that sorts messages in a connected Gmail account using labels and CRM context. It prepares contextual reply drafts, while sending remains a human action.

In plain words
What is it for?
It helps search and inspect email threads, label them by type, match senders with CRM records, and draft replies using customer history and open quotations.
Why use it?
It reduces inbox clutter without deleting messages and makes messages needing a response easier to handle. It also helps distinguish clients, prospects, administration, and low-value email.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the rapido-direction plugin — 5 skills, 1 agent shipped together

Good fit It helps search and inspect email threads, label them by type, match senders with CRM records, and draft replies using customer history and open quotations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add PrendsTaPart/Plugin-Claude-MCP-BraindCode-
Claude Code
/plugin install rapido-direction

Made for: Claude Code.

Or install rapido-direction, the plugin that ships this one along with the rest of its 5 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tri-boite-mail

README.md
[![agentmods](https://agentmods.dev/badge/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail/github.svg)](https://agentmods.dev/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail)
Your own site
<a href="https://agentmods.dev/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail"><img src="https://agentmods.dev/badge/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tri-boite-mail

Your own site · 80×15
<a href="https://agentmods.dev/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail"><img src="https://agentmods.dev/badge/skills/prendstapart/plugin-claude-mcp-braindcode-/tri-boite-mail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00627
Opus 5 $0.00030 $0.00313
Sonnet 5 $0.00012 $0.00125
Haiku 4.5 $0.00006 $0.00063

Measured 5d ago against content hash b4c7650dff88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

tri-boite-mail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rapido-direction/skills/tri-boite-mail/SKILL.md · 47 lines

What it actually says

Tri de boîte mail

Étape 0 — Références (obligatoire)

Charger ${CLAUDE_PLUGIN_ROOT}/reference/regles-direction.md. Outils Gmail absents → expliquer + renvoyer vers README-installation.md.

Workflow

  1. Collectersearch_threads (périmètre convenu : non lus, ou une requête ciblée type from:… / is:important) ; get_thread pour le contenu des fils à traiter.
  2. Classer chaque fil — croiser avec le CRM (search_entreprises / list_contacts sur l'expéditeur) :
    • CLIENT reconnu (existe au CRM) ;
    • PROSPECT (inconnu mais métier — cf. cibles-personas.md) ;
    • ADMIN (factures, banque, administratif) ;
    • BRUIT (newsletters, spam mou).
  3. Étiqueterlist_labels puis create_label si manquants : Clients, Prospects, Factures, À-traiter — appliquer via label_thread/label_message. Le BRUIT est étiqueté, jamais supprimé (règle : on classe, on ne supprime pas).
  4. Brouillons pour l'actionnable — pour chaque fil qui attend une réponse : create_draft CONTEXTUALISÉ —
    • client/prospect CRM reconnu : historique (get_historique_prospect), devis en cours (list_devis) intégrés à la réponse ;
    • ton de rapido-kb/ton-et-accroches.md ;
    • un prospect entrant chaud → proposer d'enchaîner sur le skill secretariat-commercial (RDV).
  5. RécapN fils classés (par étiquette), N brouillons prêts (liste destinataire + objet) — RAPPELER que les brouillons attendent dans Gmail et que l'ENVOI appartient à l'utilisateur.

Garde-fous

  • JAMAIS d'envoi (l'outil ne le permet pas — ne pas le contourner par un autre canal) ; corbeille/spam = confirmation (hook).
  • Un fil ambigu (litige, ton juridique, RH) = escalade : le signaler dans le récap SANS brouillon automatique (règle « sensible » de regles-direction.md).
  • Ne pas étiqueter à tort un email personnel : en cas de doute, demander.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 47 lines · 59 tokens per session scan A b4c7650dff88

Subscribe to this mod's changes

tri-boite-mail is a skill published in the GitHub repository PrendsTaPart/Plugin-Claude-MCP-BraindCode- (8 stars, last pushed 15d ago), licensed Apache-2.0. It adds 59 tokens to every session and 627 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.