Λογότυπο Inbox Cleanup

Inbox Cleanup

ΟργανισμόςΔημοφιλής
vellum-ai
inbox-cleanup

Run a high-recall, multi-pass email inbox cleanup. Pattern-based subject queries catch 25x more archivable email than sender scans alone. Includes urgency triage, classification signals, and post-cleanup filter setup.

Add to TypingMind

Επισκόπηση

Εκδότηςvellum-ai
Αποθετήριοvellum-assistant
Όνομα δεξιότηταςinbox-cleanup
Αστέρια
1.3K
Διακλαδώσεις
186
Συνοδευτικά αρχεία
1
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 1

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό vellum-ai. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Inbox Cleanup στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/inbox-cleanup
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/inbox-cleanup .claude/skills/inbox-cleanup
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Inbox Cleanup σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Inbox Cleanup μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Inbox Cleanup δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Inbox Cleanup Skill

A playbook for large-scale email inbox cleanup. The core insight: sender-based scans are low-recall. Subject/body pattern queries catch 25x more archivable email. This skill is a multi-pass pipeline built around that insight.

Works with any connected email provider. Adapt query syntax to whatever the provider supports — the strategy (what to search for, how to decide what to archive) is universal.

Gmail is a required integration. It's declared via includes: ["gmail"] in the frontmatter so it loads synchronously on activation, not lazily after the preferences form. Load/confirm the Gmail integration the moment this skill activates — before Phase 1 — so a missing or unauthorized connection surfaces up front rather than mid-cleanup.


Phase 1: Preference Capture

Do this before touching anything. Ask the user:

1. Aggressiveness level

  • Conservative — newsletters with unsubscribe headers + obvious spam only
  • Standard — above + cold outreach heuristics (subject patterns, unknown senders)
  • Aggressive — above + anything from senders with no prior thread history

2. Age threshold Archive everything older than X days? Common choices: 30 / 60 / 90 days. Or no age filter.

First-run scope: On first invocation, scope to last 30 days or top 3 noise patterns, whichever surfaces faster. Show result, offer to expand. Prove the approach on a fast, visible slice before draining the whole backlog.

3. VIP senders to protect Ask: "Are there any senders that might look like cold outreach but you actually care about? Think: specific individuals at investors, advisors, your lawyer, accountant, recruiters you're actively working with."

Build an explicit keep list. Do not archive anything matching it, ever, regardless of aggressiveness.

4. Categories to confirm before archiving These need a sample + explicit approval before bulk action:

  • Financial/billing alerts
  • Legal/contracts
  • Account suspension notices
  • Government/regulatory

Phase 2: Urgency Triage (do this before any archiving)

Scan the inbox first for high-stakes items that should be surfaced, not archived. Look for:

SignalWhy it matters
"past due", "overdue", "final notice", "balance due"Outstanding invoice — financial consequence
"will be suspended", "account suspension", "service interruption"Service shutoff — operational consequence
"collections", "case #", "recovery" in sender domainCollections agency — credit/legal consequence
"signature required", "agreement", "DocuSign pending"Legal action needed
Government TLDs (.gov), "IRS", "state of", "department of"Regulatory — can't be skipped

Surface these to the user before running the cleanup. They're easy to miss buried in a big inbox.


Phase 3: The Query Pipeline

Run these passes in order. Each pass should paginate to exhaustion (keep fetching while more results exist). After each pass, show the user a count + 5 sample subjects before archiving anything.

Pass 1: Age-based bulk (biggest catch)

Search for all inbox messages older than the user's age threshold (e.g. 30 days). Typically 50–80% of the archivable backlog. Always show a sample before bulk archiving.

Note on result caps: Some providers cap query results (e.g. ~5,000). If a query returns exactly at the cap, archive that batch and re-run the same query — the next batch will surface. Repeat until it returns fewer than the cap.

Pass 2: Personalized cold outreach (subject patterns)

Ask the user for their first name and company name, then search for subject lines containing patterns like:

  • [FirstName] -, [FirstName],, for [FirstName], hi [FirstName], hey [FirstName], [FirstName] |
  • [CompanyName] -, [CompanyName]?, for [CompanyName], re: [CompanyName], [CompanyName] AI

These are the highest-recall patterns for cold outreach and partnership spam. A startup founder's inbox will see the biggest wins here.

Pass 3: Generic cold outreach phrases

Search for subject lines containing:

  • "quick question", "quick note", "checking in"
  • "following up", "just following up", "circling back"
  • "would love to connect", "15 minutes", "quick call"
  • "intro call", "reaching out", "came across your"
  • "are you the right person", "happy to hop on"

Pass 4: No-reply & newsletters

Search for:

  • Messages from noreply/no-reply/donotreply sender addresses
  • Subject lines containing "unsubscribe", "newsletter", "weekly digest", "monthly digest"

Pass 5: Calendar noise

Search for subject lines containing:

  • "accepted:", "declined:", "tentative:"
  • "has accepted", "has declined", "invitation:"

Calendar response confirmations are pure noise. Safe to bulk archive without review.

Pass 6: Transactional/receipts

Search for subject lines containing:

  • "your order", "order confirmation", "your receipt"
  • "shipment", "has shipped", "delivered"

Cross-check against urgency triage first — filter out any "past due" or "final notice" items before archiving this batch.

Pass 7: Sketchy TLDs

Search for messages from sender domains ending in .shop, .biz, .xyz, .info, .club, .online.

Disproportionately spam. Safe to bulk archive.

Pass 8: High-volume repeat senders

After the above passes, run a sender frequency count on what remains. Any sender with 3+ emails not on the keep list is a candidate for bulk archive. Show grouped list to user for approval.


Phase 4: Cold Outreach Classification

For emails not caught by pattern queries, use LLM-based classification in Standard/Aggressive mode. Flag as cold outreach if 3+ signals are present:

  • Sender domain not in user's contact/thread history
  • No prior reply from user to this sender
  • Subject contains user's name + company together (personalization ≠ trust)
  • Body contains: "came across your company", "I help companies like", "reaching out because", "15 minutes", "quick call", "are you the right person"
  • Sender domain is a known outreach tool: apollo.io, outreach.io, lemlist.com, instantly.ai, salesloft.com
  • Email is not a reply (no Re: prefix, no quoted text from user in body)

Dry-Run Defaults

Every bulk archive previews before it executes — regardless of batch size or trust stage. Run the pipeline with --dry-run on all archive calls, then render a ui_show table preview the user commits or refines from. Never archive in bulk straight from a query.

The preview table must show:

  1. Total emails matching — the full count this bulk archive would touch
  2. Top-10 sender breakdown — senders by volume, so the user spots anything they care about
  3. 10–20 sample subjects — a representative spread, not just the first few
  4. Categories flagged for confirm-before-archive — the Phase 1 categories (financial/billing, legal/contracts, account suspension, government/regulatory) that matched, called out for explicit approval

Surface "things worth flagging before you confirm" inside the preview, not after. If the dry-run catches claim documents, failed-payment notices, or any urgency-triage signal (Phase 2), call them out in the preview so the user sees them while deciding — never let a flag-worthy item get archived first and surfaced afterward.

After rendering the preview:

  1. Ask the user to confirm or refine: "This would archive X,XXX emails across Y passes. Commit, or refine the scope?"
  2. If confirmed, commit via bun run scripts/gmail-commit.ts commit --run-id "<run-id>"
  3. If rejected, cancel via bun run scripts/gmail-commit.ts cancel --run-id "<run-id>"

Larger batches (e.g. >1,000 operations) and lower trust stages (stage 0 flag-only) warrant extra scrutiny in the preview, but the preview itself is always required before any bulk archive — including small batches and high trust stages. Direct archives are still logged for audit/reversal.


Error Recovery & Resume

Archive operations are logged to an operation log for resumability. If a pass fails mid-run (rate limit, daily quota, OAuth expiry, crash):

  1. Check for interrupted runs before starting a new cleanup: bun run scripts/gmail-runs.ts list. If a recent run shows status: "interrupted", offer to resume it.
  2. Resume: bun run scripts/gmail-archive.ts archive --resume "<run-id>". This skips already-committed chunks and retries pending ones.
  3. Daily quota (403): The archive script detects daily quota exhaustion and writes an interrupted log entry with a resume hint. Do not retry until after midnight PT — offer to resume the run later.
  4. Rate limit (429): Handled automatically with exponential backoff (up to 5 retries for batch operations). No user intervention needed.

All archive outputs now include a run_id. Pass --run-id to group multiple passes under one run, and --phase to label the pipeline phase (e.g. --phase "noise_archive").


Phase 5: Post-Cleanup

  1. Report totals — how many archived per pass, which categories, and the run_id for each pass
  2. Update blocklist — remember which senders/domains were archived; use for faster future passes
  3. Surface any urgents found — if financial/legal/suspension items surfaced during the pass, present them now with recommended actions
  4. Mention reversal — remind the user: "If any of these archives were wrong, I can reverse specific threads: bun run scripts/gmail-reverse.ts --run-id <id> --thread <message-id>"

Phase 6: Permanent Filter Setup

After cleanup, propose Gmail filters so the same categories don't re-accumulate. This bridges cleanup (drain backlog once) and inbox-management (keep inbox clean on schedule).

Note: Filter creation capabilities vary by provider. The gmail-auto-filters.ts script handles Gmail. If the provider doesn't support programmatic filter creation, give the user manual instructions instead.

Filters are permanent behavior changes. Unlike a one-time archive, a filter silently skips the inbox for every future matching email. A wrong filter means the user misses emails they were expecting — with no indication anything happened. Always confirm with the user before creating filters.

Which patterns are safe as permanent filters

One-time bulk archiving and permanent auto-archiving are different risk levels. The auto-filter script only derives candidates from patterns marked "Yes" below:

PatternSafe as permanent filter?Notes
noreply / no-reply / donotreply sendersYesAutomated senders, never personal
Calendar responses (accepted/declined in subject)YesPure noise
Specific spam domains identified during cleanupYesDomain-level, not pattern-level
Sketchy TLDs (.shop, .biz, .xyz, .info)YesHigh spam signal, low false positive risk
Known newsletter senders confirmed during cleanupYesUser just explicitly confirmed unwanted
Generic phrases ("quick question", "checking in")RiskyReal colleagues use these — don't filter
Name/company subject patterns ("for [Name]", "[Company] -")NoToo broad — will catch real emails
Age-basedNoNot generally supported as a filter condition

Running auto-filter generation

After the cleanup pipeline completes (Phase 5 post-cleanup report), invoke:

bash
# Preview: show what filters would be created (no confirmation prompt)
bun run scripts/gmail-auto-filters.ts preview --run-id "<cleanup-run-id>"

# Generate: show plan, confirm with user, then create
bun run scripts/gmail-auto-filters.ts generate --run-id "<cleanup-run-id>"

If --run-id is omitted, the script finds the most recent completed cleanup run automatically.

The script:

  1. Reads the cleanup run's op-log to extract archived patterns
  2. Derives filter candidates from safe categories only
  3. Fetches existing Gmail filters and skips duplicates
  4. Shows the user a confirmation dialog listing every filter that will be created, its criteria, and its label — the user must explicitly approve before any filter is created
  5. Creates one filter per logical category with an auto/* label (e.g. auto/no-reply, auto/calendar, auto/newsletter, auto/sketchy-tld)
  6. Logs all filter creations to the op-log for audit and reversal

Label strategy

Every auto-filter applies an auto/* label instead of silently archiving. This gives the user an audit trail — search label:auto/calendar to see what was caught. Labels are created automatically if they don't exist.

After filter creation

Tell the user:

  • How many filters were created and what each covers
  • How to find auto-archived emails (search by label, e.g. label:auto/no-reply)
  • How to remove a filter: bun run scripts/gmail-manage.ts filters --action delete --filter-id "<id>"

Reference: Proven Catch Rates

From a single cleanup session on a startup founder's inbox (April 2026):

PassApprox. catch
Older than 30 days~7,200
Name-personalized subject patterns~35,000
Company-name subject patterns~50,000
Sketchy TLDs (.shop/.biz/.xyz)~3,741
Newsletters/digests~1,014
Calendar responses~142
Generic cold outreach phrases~23
Completed DocuSigns~34

Total: ~90,000+ emails in one session. The name/company pattern passes alone accounted for ~85k. This is why patterns dominate sender scans.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Inbox Cleanup;

Run a high-recall, multi-pass email inbox cleanup. Pattern-based subject queries catch 25x more archivable email than sender scans alone. Includes urgency triage, classification signals, and post-cleanup filter setup.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Inbox Cleanup στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Inbox Cleanup είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Inbox Cleanup στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/vellum-ai/vellum-assistant/tree/main/skills/inbox-cleanup. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Inbox Cleanup;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Inbox Cleanup;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Inbox Cleanup με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Inbox Cleanup;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό vellum-ai με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇