跳到正文
TakoAPI
返回技能列表

office-secretary

由 cenralsolution 提供

Calendar & Scheduling
819下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Authenticates to Microsoft Graph via MSAL using delegated flow with stored CLIENT_ID and TENANT_ID

  2. 2

    Queries the Mail API for messages flagged as high importance received today

  3. 3

    Filters and sorts results by sender and subject

  4. 4

    Returns a formatted list of matching emails

输出

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

前置要求

  • Azure Entra ID app registration configured as a Public Client
  • Delegated API permissions granted in Azure: Mail.ReadWrite, Calendars.ReadWrite, Files.ReadWrite, ChatMessage.Send
  • SECRETARY_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

安装

clawhub install cenralsolution/office-secretary

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接