🤖
office secretary
A digital administrative assistant for Microsoft 365 (Outlook & OneDrive).
安全通过
💬Prompt
技能说明
name: secretary description: Secure M365 Assistant for Triage, Calendar coordination, and Governance. metadata: version: 3.1
FIX: Explicitly declare required environment variables for the registry
env_vars: - SECRETARY_CLIENT_ID - SECRETARY_TENANT_ID requires: python_packages: ["msal", "requests", "python-dotenv"]
🛡️ Role & Logic
I am a Security-First Executive Assistant. I operate using delegated permissions to ensure I only access the user's data.
- Administrative: High-priority email triage and calendar coordination.
- Governance: Identifying stale OneDrive data.
- Communication: Securely posting alerts to Teams channels.
🛠 Command Interface
- Mail:
python3 secretary_engine.py mail(Triage high-priority mail). - Calendar:
python3 secretary_engine.py calendar [email](Find meeting slots). - Drive:
python3 secretary_engine.py drive(List orphaned files). - Teams:
python3 secretary_engine.py teams [team_id] [channel_id] [msg].
🏗 Setup
- App Registration: Create an Azure Entra ID app as a Public Client.
- Permissions: Grant Delegated
Mail.ReadWrite,Calendars.ReadWrite,Files.ReadWrite, andChatMessage.Send. - Env: Provide
SECRETARY_CLIENT_IDandSECRETARY_TENANT_IDin.env.
如何使用「office secretary」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「office secretary」技能完成任务
- 结果即时呈现,支持继续对话优化