mog

Automate Microsoft 365 mail, calendar, files, and notes via CLI.

64|9|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/visionik/mogcli --skill mog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mog
Source: https://github.com/visionik/mogcli/tree/main
Command: npx skills add https://github.com/visionik/mogcli --skill mog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers and operators to manage Microsoft 365 tasks from a single command line interface, reducing context-switching and setup overhead.

Core Features & Use Cases

  • Centralized command surface for Mail, Calendar, Drive, Contacts, Tasks, Word, PowerPoint, Excel, and OneNote.
  • Real-world scenarios include listing upcoming events, reading and sending mail, uploading files to OneDrive, and managing contacts from the terminal.
  • Supports per-command options, slug resolution for short IDs, and multi-account workflows.

Quick Start

Install mog and verify setup by listing your mail.

Frequently Asked Questions about mog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Microsoft 365 mail and calendar from the command line?

You can manage Microsoft 365 mail and calendar from the command line by using a CLI that communicates directly with the Microsoft Graph API to read mail and list events. This approach centralizes common workflows without leaving the terminal.

Can I automate file uploads to OneDrive using a CLI?

Yes, you can automate file uploads to OneDrive using a CLI that sends requests to the Microsoft Graph API. It enables direct terminal interactions for uploading and managing Drive files, reducing manual context-switching.

Does Microsoft Graph CLI automation support multiple accounts?

Microsoft Graph CLI automation does support multiple accounts by implementing secure token storage and multi-account workflows. This allows you to switch contexts and manage separate Microsoft 365 environments from a single command surface.

What is the best way to automate Microsoft 365 tasks across Word, PowerPoint, and Excel?

The best way to automate tasks across Word, PowerPoint, and Excel is using a centralized CLI that targets the Microsoft Graph API. It provides per-command options and slug resolution to handle document workflows efficiently.

How do I get JSON output for OneNote and Contacts automation via Microsoft Graph?

You can get JSON output for OneNote and Contacts automation by using a CLI that supports both JSON and plain text output modes. This allows you to easily parse the results of your Microsoft Graph API interactions in scripts.