outlook
Skill2 starsChanged 49 days agoMITView on GitHub
Microsoft 365 Outlook mail and calendar through Microsoft Graph - read and search the inbox, draft, reply and send, attachments, categories and folders, calendar events, invitations and free/busy. Use for "check my email", "draft an email", "reply to", "my Outlook calendar", "am I free", "book a meeting", "Microsoft 365 mail". Not for Gmail or Google Calendar, and not for PST files (use outlook-to-md).
8 other projects use a version of this.
Adopted by
Most recently taken up by
- anasahmed07/Outlook-Classic-MCPtheir own version, first seen Nov 1, 2026
- foxl-ai/skillstheir own version, first seen Oct 15, 2026
- sigcli/sigclitheir own version, first seen Oct 8, 2026
- ai-ecoverse/skillstheir own version, first seen Oct 2, 2026
- dbhq-uk/outlook-graph-skillword for word, first seen Sep 25, 2026
- vellum-ai/vellum-assistanttheir own version, first seen Jul 8, 2026
Other versions8 projects use a version of this.
Word for word · 1
- dbhq-uk/outlook-graph-skill★ 2100% same
Edited · 0
None found.
Wrote their own version · 7
- vellum-ai/vellum-assistant★ 1.5ksame name
- sigcli/sigcli★ 293same name
- refly-ai/refly-skills★ 204same name
- anasahmed07/Outlook-Classic-MCP★ 38same name
- ai-ecoverse/skills★ 1same name
- foxl-ai/skills★ 0same name
- hsigstad/research-kit★ 0same 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 repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- outlook-to-mdSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
1. Draft, show, then send: Every mail command makes a draft.
- Very specific: line 26
Before you summarise, answer or act on an email, read it end to end, including the attachment list and any request in the body.
- Very specific: line 30
4. Check the time: Run date (and date -u) before anything that involves today, deadlines or "yesterday".
- Distinctive: line 36
5. Refusals and permission prompts are the send gap working: Never work around one, for example by calling Graph with curl yourself or by …
- Very specific: line 50
7. Setup is the user's: If an account is not configured, or a refresh is refused because the sign-in has lapsed, ask the user to run …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
outlook
Microsoft 365 Outlook mail and calendar through the Microsoft Graph API. Two scripts do the
work: ${CLAUDE_SKILL_DIR}/scripts/outlook-mail.sh and
${CLAUDE_SKILL_DIR}/scripts/outlook-calendar.sh. The index below has every command. For the
exact arguments and behaviour, read references/commands.md.
Rules
1. Draft, show, then send. Every mail command makes a draft; only send sends. Show the
user the draft (From, To, Cc, Bcc, subject, body, attachments) and wait for an explicit "send
it" before running send. The same goes for invitations: create an event with no attendees,
show the user the event and the attendee list, and run invite only after they approve.
2. Replies go to everyone. reply, mdreply and followup are reply-all: every original To
and Cc recipient is on the draft. Read the original's full To and Cc before replying, and check
the recipients the draft prints. People Cc assistants and colleagues; dropping them is a real
harm. For a reply to the sender only, trim the draft with update to and update cc "".
3. Read the whole message. preview is a 200-character snippet, for finding a message only.
Before you summarise, answer or act on an email, read it end to end, including the attachment
list and any request in the body. In a long chain, find where the current message ends and the
quoted chain begins.
4. Check the time. Run date (and date -u) before anything that involves today, deadlines
or "yesterday"; a session can span days. Graph timestamps are UTC. Calendar times are wall-clock
in OUTLOOK_TZ, which defaults to the system zone, and a server is often UTC when the user is
not. If the calendar warns that it is using UTC and that is not the user's zone, set
OUTLOOK_TZ (for example Europe/London) before quoting a time.
5. Refusals and permission prompts are the send gap working. Never work around one, for example by calling Graph with curl yourself or by rewording a command so it is not recognised.
- With
OUTLOOK_READ_ONLY=1, every command that writes or sends refuses. Tell the user; do not unset it. send,invite,respond,cancel,create ... --send-invitesandupdate ... --notify-attendeesmay raise a permission prompt. That prompt is the user's approval, so show them what will be sent first.createrefuses attendees without--send-invites.updaterefuses to change a meeting you organise without--notify-attendees, anddeleterefuses one (usecancel).
6. Confirm the From address. To send as an alias, get the exact address from aliases, set
it with update <draft-id> from <address> (or OUTLOOK_FROM_ADDRESS for every draft), and
show the user the From line before sending.
7. Setup is the user's. If an account is not configured, or a refresh is refused because
the sign-in has lapsed, ask the user to run ${CLAUDE_SKILL_DIR}/scripts/outlook-setup.sh
(add --account <name> for another mailbox). Do not run it yourself: it opens a browser and
waits for a person to paste back a URL.
Command index
Mail is outlook-mail.sh <verb>, calendar is outlook-calendar.sh <verb>. Add
--account <name> before the verb for another mailbox. Listings print short IDs, which every
command accepts. A message keeps its ID when it moves to another folder.
Read mail
inbox,unread,focused,sent,drafts,flagged[count]: list, newest firstfolder <name> [count],from <address> [count],category <name> [count]: list by folder, sender or categorysearch <text or KQL> [count|all]: search; KQL such assubject:x AND from:yworksread <id>: the whole message.preview <id>: a snippet, for navigation onlythread <id>: the conversation, oldest first.stats: inbox totals
Write mail (all make drafts)
draft <to> <subject> <body>,mddraft <to> <subject> <markdown> [--cc x] [--bcc y]: a new draft; prefermddraftreply <id> <body>,mdreply <id> <markdown>: reply-all draft; prefermdreplyforward <id> <to> [markdown comment],followup <sent-id> [markdown]: forward, or chase your own sent mailupdate <draft-id> <field> <value>:subject,body,mdbody(keeps the quoted chain),to,cc,bcc,importance,fromaliases: the addresses this mailbox can send asattach <draft-id> <file> [--inline <cid>]: add a file, up to 150 MBsignature <draft-id> <html-file>: add an HTML signature; its local images go inlinesend <draft-id>: sends; prints From, To, Cc, Bcc, subject and attachments first
Attachments
attachments <id>: list.download <id> [attachment-id]: save to./inbox/
Organise mail
markread,markunread,flag,unflag,junk,notjunk,archive<id>delete <id>: to Deleted Items, where it can be restoredmove <id> <folder>,batch-move <folder> <ids...>(or IDs on stdin): move;Parent/Childtargets one foldercategories,categorize <id> "<a, b>" | --add <c> | --remove <c>: apply categoriesmkcategory <name> [colour],rccategory <name> <colour>,rmcategory <name>: the master listfolders,subfolders [folder],mkdir <name> [parent],rename <old> <new>,rmdir <name> [--force]: foldersexport <folder> <dir> [--since YYYY-MM-DD] [--count N]: raw.emlfor the outlook-to-md skill to archive
Calendar
events [count],today,week,day <YYYY-MM-DD>,search <text> [days]: list, with short IDsread <event-id>,calendars,free <start> <end>: details, calendars, busy periodscreate <subject> <start> <end> [location],quick <subject> <start>: sends nothinginvite <event-id> <emails> [optional]: sends invitationsrespond <event-id> accept|decline|tentative [message]: tells the organiserupdate <event-id> <field> <value> [--notify-attendees]: subject, location, start or endcancel <event-id> [message]: a meeting you organise; tells every attendeedelete <event-id>: removes an event that notifies nobody
Accounts (outlook-token.sh)
list,status,test,refresh,get: accounts, connection, a valid token
Times are YYYY-MM-DDTHH:MM. Markdown commands need pandoc. Throttling (HTTP 429) is
retried by the scripts, so do not loop a command. batch-move prints FAILED <id> for each
message it did not move; run it again with those IDs.
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
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.

