LaunchKit · 2026
Back to Skills

office-secretary

Secure M365 Assistant for Triage, Calendar coordination, and Governance.

0
819 downloads
by @cenralsolution

Setup & Installation

openclaw skills install @cenralsolution/office-secretary

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install office-secretary

Version History

v3.1.0Feb 14, 2026 - Version note by skill developer:

- Added explicit declaration of required environment variables (SECRETARY_CLIENT_ID, SECRETARY_TENANT_ID) for registry compatibility. - Updated description to clarify the skill's main functions. - Minor wording improvements for clarity in governance and other sections.

What This Skill Does

A Python CLI assistant that connects to Microsoft 365 via delegated permissions to triage email, coordinate calendars, audit OneDrive files, and post messages to Teams. It authenticates through Azure Entra ID using MSAL, so it only accesses data the signed-in user can already see.

Using delegated rather than application permissions means the assistant cannot access data beyond what the signed-in user is already authorized to see, reducing the blast radius of a compromised token.

When to use it

  • Triaging high-priority emails at the start of the workday
  • Finding open meeting slots across a colleague's calendar
  • Listing orphaned or stale files on OneDrive
  • Posting automated alerts to a specific Teams channel
  • Auditing inbox without sharing admin credentials

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Show me my high-priority emails from today

AGENT
  1. 1Authenticates to Microsoft Graph via MSAL using delegated flow with stored CLIENT_ID and TENANT_ID
  2. 2Queries the Mail API for messages flagged as high importance received today
  3. 3Filters and sorts results by sender and subject
  4. 4Returns a formatted list of matching emails
OUTPUT

A list of high-priority emails with sender, subject, and received time

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Azure Entra ID app registration configured as a Public ClientDelegated API permissions granted in Azure: Mail.ReadWrite, Calendars.ReadWrite, Files.ReadWrite, ChatMessage.SendSECRETARY_CLIENT_ID environment variable (from the Azure app registration)SECRETARY_TENANT_ID environment variable (from Azure tenant settings)Microsoft 365 account with access to Mail, Calendar, OneDrive, and Teams