agentleFS
lumman-lablumman-lab/multi-mail/skills/attachments/SKILL.md

attachments

Skill0 starsChanged 20 days agoMITView on GitHub

Read what an email attachment says - PDF including scanned pages, Word, Excel, PowerPoint - as text, from any connected Outlook, Hotmail, Microsoft 365, Gmail, Yahoo, AOL, iCloud, Fastmail or other IMAP mailbox. Use when asked what a file someone sent says, to pull a figure or a date out of one, or to compare attachments.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. Lilac-Labs/gini-agent★ 1.9ksame name
    2. Open-Curiosity/gini-agent★ 1.9ksame name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read it with messages_get, or the whole conversation with threads_get.

    line 9
  2. Very specific:

    Read the file with messages_attachments_get.

    line 10

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Read attachments as text

  1. Find the message: across every mailbox with messages_list_all_mailboxes, or one mailbox with messages_list in its own query language - Outlook reads hasAttachments:true, Gmail has:attachment and filename:pdf. A search answers only its first results: before saying the message is not there, search alone each mailbox the answer names under more, and page on with the token messages_list answers.
  2. Read it with messages_get, or the whole conversation with threads_get. Each message names its attachments with their ids and sizes.
  3. Read the file with messages_attachments_get. It answers what the file says, as plain text. A long document comes in parts: where the answer names a continuation, ask again with it before answering anything that depends on the whole document.
  4. Fetch the original whenever the words read back make no sense - a scan read sideways comes back as noise - or the person wants the file itself. Every answer names a link to it, served whole for 15 minutes after it is given to a plain GET carrying no credential: from a terminal, curl --fail-with-body -o <a new path of your own> "<link>" fetches it to open with your own tools, and elsewhere ask again with as original. To carry a file into a draft, name it by its mailbox, message id and attachment id rather than copying its bytes - that works from any connected mailbox into a draft in the same mailbox or any other.

Quote figures, dates and names exactly as the text has them, and say which file each came from. Where the answer says no words could be read - a file locked by a password, one with no words, one that took longer to read than a call may run - say so, and that the original can still be had. Never guess at what a file says.

Examples:

  • "What total does the invoice Dana sent to my Outlook come to?"
  • "Read the PDF attached to the latest email from the letting agent in Hotmail and list its dates."
  • "Compare the two spreadsheets attached to the budget thread in Gmail."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.