Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Fixed security scanner issues: updated metadata to declare env vars and removed debug logging of ClientID
What This Skill Does
Connects to Microsoft 365 services, including Outlook email, Calendar, Contacts, and OneDrive, through the Microsoft Graph API. Authentication uses Device Code Flow, which works in terminal environments without a browser-based OAuth redirect. Multiple named accounts can be configured and switched with a flag.
Device Code Flow lets you authenticate in headless or restricted environments where a browser redirect is not available.
When to use it
- Reading unread Outlook emails from the command line
- Fetching today's calendar events before a meeting
- Looking up a contact's phone or email in Microsoft 365
- Listing OneDrive files without opening a browser
- Creating calendar events from an automated script
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What meetings do I have today?
- 1Run node index.js --account personal --calendar
- 2Authenticate via Device Code Flow if the cached token is expired
- 3Request calendar events from the Microsoft Graph API
- 4Filter and format events for the current day
A list of today's calendar events with titles, start times, and locations
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.