Command Palette

Search for a command to run...

Назад к скиллам
скилл № 47381

manage-microsoft-mail-calendar-tasks

Connect to personal Microsoft accounts via Microsoft Graph API to manage email, calendar events, and tasks. Use this skill when the user needs to read/write…

БесплатноБез исполняемых скриптов
rondoflowот rondoflow★ 37 звёзд на GitHub

Установить manage-microsoft-mail-calendar-tasks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

OfficeClaw: Microsoft Graph API Integration

Connect your OpenClaw agent to personal Microsoft accounts (Outlook.com, Hotmail, Live) to manage email, calendar, and tasks through the Microsoft Graph API.

Installation

Install from PyPI:

pip install officeclaw

Or with uv:

uv pip install officeclaw

Verify installation:

officeclaw --version

Setup (One-Time)

Quick start: OfficeClaw ships with a default app registration — just run officeclaw auth login and go. No Azure setup needed.

Advanced: Want full control? Create your own Azure App Registration (free, ~5 minutes) and set OFFICECLAW_CLIENT_ID in your .env. See Microsoft's guide or follow the steps below.

1. Create an Azure App Registration

  1. Go to entra.microsoft.com → App registrations → New registration
  2. Name: officeclaw (or anything you like)
  3. Supported account types: Personal Microsoft accounts only
  4. Redirect URI: leave blank (not needed for device code flow)
  5. Click Register
  6. Copy the Application (client) ID — this is your OFFICECLAW_CLIENT_ID
  7. Go to Authentication → Advanced settings → Allow public client flows → Yes → Save
  8. Go to API permissions → Add permission → Microsoft Graph → Delegated permissions. Choose based on your needs:

Read-only (safest):

  • Mail.Read, Calendars.Read, Tasks.ReadWrite*

Full access (all features including send/delete):

  • Mail.Read, Mail.ReadWrite, Mail.Send
  • Calendars.Read, Calendars.ReadWrite
  • Tasks.ReadWrite

*Tasks.ReadWrite is the minimum available scope for Microsoft To Do — there is no read-only option.

Least privilege: Only grant the permissions you actually need. If you only want to read emails and calendar, skip Mail.ReadWrite, Mail.Send, and Calendars.ReadWrite. OfficeClaw will gracefully error on commands that require missing permissions.

2. Configure Environment

Create a .env file in your skill directory:

OFFICECLAW_CLIENT_ID=your-client-id-here

# Capability gates (disabled by default for safety)
# OFFICECLAW_ENABLE_SEND=true    # Allow sending/replying/forwarding emails
# OFFICECLAW_ENABLE_DELETE=true   # Allow deleting emails, events, and tasks

# Recipient allowlist — STRONGLY RECOMMENDED when sending is enabled
# [email protected],[email protected]

No client secret needed for device code flow. Write operations (send, delete) are disabled by default — enable only what you need.

⚠️ Recipient Allowlist (v1.0.4+): If you enable sending, configure OFFICECLAW_ALLOWED_RECIPIENTS to restrict which addresses can receive email. This is especially critical for AI agent workflows — the allowlist provides a hard, code-level boundary that prevents sending to unauthorized addresses regardless of what the agent is instructed to do. Blocked attempts are logged for auditing.

3. Authenticate

officeclaw auth login

This displays a URL and code. Open the URL in a browser, enter the code, and sign in with your Microsoft account. Tokens are stored securely in ~/.officeclaw/token_cache.json (permissions 600).

When to Use This Skill

Activate this skill when the user needs to:

Email Operations

  • Read emails: "Show me my latest emails", "Find emails from [email protected]"
  • Send emails: "Send an email to...", "Reply to the last email from..."
  • Manage inbox: "Mark emails as read", "Archive old emails", "Delete emails"

Calendar Operations

  • View events: "What's on my calendar today?", "Show meetings this week"
  • Create events: "Schedule a meeting with...", "Add dentist appointment on Friday"
  • Update events: "Move the 2pm meeting to 3pm", "Cancel tomorrow's standup"

Task Management

  • List tasks: "What's on my to-do list?", "Show incomplete tasks"
  • Create tasks: "Add 'buy groceries' to my tasks", "Create a task to review report"
  • Complete tasks: "Mark 'finish proposal' as done", "Complete all shopping tasks"

Available Commands

Authentication

officeclaw auth login       # Authenticate via device code flow
officeclaw auth status      # Check authentication status
officeclaw auth logout      # Clear stored tokens

Mail Commands

officeclaw mail list --limit 10                # List recent messages
officeclaw mail list --unread                   # List unread messages only
officeclaw mail get <message-id>               # Get specific message
officeclaw mail send --to [email protected] --subject "Hello" --body "Message text"
officeclaw mail send --to [email protected] --subject "Report" --body "Attached" --attachment report.pdf
officeclaw mail search --query "from:[email protected]"
officeclaw mail archive <message-id>           # Archive a message
officeclaw mail mark-read <message-id>
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • manifest.json

FAQ

Что делает скилл manage-microsoft-mail-calendar-tasks?

Connect to personal Microsoft accounts via Microsoft Graph API to manage email, calendar events, and tasks. Use this skill when the user needs to read/write Outlook mail, manage calendar appointments, or handle Microsoft To Do tasks.

Как установить скилл manage-microsoft-mail-calendar-tasks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл manage-microsoft-mail-calendar-tasks запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить manage-microsoft-mail-calendar-tasks с