Apply repeatable IMAP rules to triage and clean inboxes with imapfilter

Apply repeatable IMAP rules to triage and clean inboxes with imapfilter is a skill for Claude Code, Codex from agentskillexchange/skills. It costs 42 tokens per session (406 once invoked), scanned A, original, MIT.

A rule engine for sorting, labeling, moving, and deleting email in accounts that use IMAP, the standard protocol many mail servers use.

In plain words
What is it for?
Use it to route messages, organize folders, apply labels, and clean up email based on scripted conditions.
Why use it?
It removes repetitive inbox work by applying the same Lua rules automatically instead of handling routine messages one by one.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to route messages, organize folders, apply labels, and clean up email based on scripted conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentskillexchange/skills --skill apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter
Clone the repo
git clone --depth 1 https://github.com/agentskillexchange/skills

Made for: Claude Code, Codex.

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 Apply repeatable IMAP rules to triage and clean inboxes with imapfilter

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter/github.svg)](https://agentmods.dev/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter)
Your own site
<a href="https://agentmods.dev/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter"><img src="https://agentmods.dev/badge/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter/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 Apply repeatable IMAP rules to triage and clean inboxes with imapfilter

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter"><img src="https://agentmods.dev/badge/skills/agentskillexchange/skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.00406
Opus 5.5 $0.00017 $0.00162
Sonnet 5.5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00041

Measured 1mo ago against content hash da5387187324, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Apply repeatable IMAP rules to triage and clean inboxes with imapfilter 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 1mo 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.

skills/apply-repeatable-imap-rules-to-triage-and-clean-inboxes-with-imapfilter/SKILL.md · 46 lines

What it actually says

Apply repeatable IMAP rules to triage and clean inboxes with imapfilter

Route, label, and clean routine email traffic with scripted IMAP rules instead of doing the same inbox chores by hand.

Prerequisites

IMAP account credentials, imapfilter installation, Lua rule configuration, network access to mail servers

Installation

Use the upstream install or setup path that matches your environment:

  • make -j all
  • make install

Basic usage or getting-started notes:

Documentation

Source

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. 1mo ago First seen · 46 lines · 42 tokens per session scan A da5387187324

Subscribe to this mod's changes

Apply repeatable IMAP rules to triage and clean inboxes with imapfilter is a skill published in the GitHub repository agentskillexchange/skills (55 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 406 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens

resume-builder

Build resume and LinkedIn profile through guided interview.

davekilleen/Dex · 12 tokens

getting-started

Interactive post-onboarding tour that adapts to whatever data exists (calendar, Granola, or none). Use right after onboarding, or when the user says 'show me around', 'how do I start'. Also use proactively when the vault is < 7 days old. Not for the initial setup itself; use setup.

davekilleen/Dex · 70 tokens

planning-with-files

Persistent file-based planning for multi-step AI-agent work. Keeps taskplan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and…

mxyhi/ok-skills · 117 tokens

dex-obsidian-setup

Turn on Obsidian mode and migrate the vault to wiki links. Use when the user says 'I use Obsidian', 'enable wiki links', 'make this work in Obsidian'. Not for connecting an external tool/API; use create-mcp/integrate-mcp.

davekilleen/Dex · 68 tokens