outlook

outlook is a skill for Claude Code, Codex from muhammaddadu/outlook-cli. It costs 266 tokens per session (5,819 once invoked), scanned A, original, MIT.

A guide for using a command-line tool to read, search, organise, draft, and send Outlook email, plus manage Microsoft 365 calendar events and some Microsoft Teams content. Outlook and Teams are Microsoft services for email, scheduling, chats, and channels.

In plain words
What is it for?
Use it to check or search email, read and draft replies, send messages, archive mail, view or manage calendar events, inspect Teams spaces, and post Teams chat messages.
Why use it?
It provides a consistent way to work with these services from the command line while using the user’s existing Outlook Web session. It also records useful mailbox preferences and context for future actions.

Skill for Claude CodeCodex

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

Good fit Use it to check or search email, read and draft replies, send messages, archive mail, view or manage calendar events, inspect Teams spaces, and post Teams chat messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muhammaddadu/outlook-cli/outlook
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 muhammaddadu/outlook-cli --skill outlook
Clone the repo
git clone --depth 1 https://github.com/muhammaddadu/outlook-cli

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 outlook

README.md
[![agentmods](https://agentmods.dev/badge/skills/muhammaddadu/outlook-cli/outlook/github.svg)](https://agentmods.dev/skills/muhammaddadu/outlook-cli/outlook)
Your own site
<a href="https://agentmods.dev/skills/muhammaddadu/outlook-cli/outlook"><img src="https://agentmods.dev/badge/skills/muhammaddadu/outlook-cli/outlook/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 outlook

Your own site · 80×15
<a href="https://agentmods.dev/skills/muhammaddadu/outlook-cli/outlook"><img src="https://agentmods.dev/badge/skills/muhammaddadu/outlook-cli/outlook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 266 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,819 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.00266 $0.05819
Opus 5 $0.00133 $0.02910
Sonnet 5 $0.00053 $0.01164
Haiku 4.5 $0.00027 $0.00582

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

Security

Grade A, and why

outlook 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 8d 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.

skill/outlook/SKILL.md · 541 lines

How it starts

The opening of the file, as written. The whole thing — 541 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using the outlook CLI

A locally-installed CLI that wraps the Outlook REST API by piggybacking on the user's existing Outlook Web (OWA) session. There is no API key, no account to configure — if it's installed, it Just Works.

If outlook --version fails, stop and tell the user the CLI isn't installed. Do not attempt to install it autonomously.

Start every session with outlook context

Run outlook context before your first mail-related action in a session. It's free (no network, no Chromium) and returns:

{
  "user": { "email": "…", "name": "…", "tenant_id": "…" },
  "tokenMinutesUntilExpiry": 1408,
  "learnings": [
    "2026-05-18 | Signs off as Sam",
    "2026-05-18 | Prefers terse one-line replies",
    "2026-05-18 | 'the team' usually means [email protected]"
  ],
  "learningsFile": "/Users/…/.local/share/outlook-spike/learnings.md"
}

Use user.email to know whose mailbox you're acting on. Use learnings to adapt your tone, recipient resolution, and default behaviour to what the user has shown they prefer.

Adapt over time with outlook learn

When you observe something durable, non-obvious, and useful about the user's mail habits, append it:

outlook learn add "Signs off as 'Sam'"
outlook learn add "Drafts to vendors should be HTML with the legal footer"
outlook learn add "When user says 'my boss' they mean [email protected]"

Good learnings have all three properties:

  • Durable — true today and likely true next week. Not "the user is in a hurry right now."
  • Non-obvious — a fact you couldn't trivially re-derive next time. Skip "user has an inbox."
  • Useful — informs how you'd act next time. "User likes pizza" is cute but doesn't change your behaviour.

Don't pollute. A good rule: < 30 entries total. If learnings get noisy, suggest the user run outlook learn forget <substring> to prune.

Never record sensitive content without asking (financial details, HR context, anything the user might not want a future agent to see). If in doubt, ask: "Want me to remember this for next time?"

Read the full file on GitHub · 541 lines

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. 8d ago First seen · 541 lines · 266 tokens per session scan A e496ecd5c3c7

Subscribe to this mod's changes

outlook is a skill published in the GitHub repository muhammaddadu/outlook-cli (2 stars, last pushed 1mo ago), licensed MIT. It adds 266 tokens to every session and 5,819 once invoked, about $0.0013 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-08-31.