π¦ ClawHub
office secretary
by @cenralsolution
A digital administrative assistant for Microsoft 365 (Outlook & OneDrive).
TERMINAL
clawhub install office-secretaryπ About This Skill
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. 1. Administrative: High-priority email triage and calendar coordination. 2. Governance: Identifying stale OneDrive data. 3. Communication: Securely posting alerts to Teams channels.π Command Interface
python3 secretary_engine.py mail (Triage high-priority mail).python3 secretary_engine.py calendar [email] (Find meeting slots).python3 secretary_engine.py drive (List orphaned files).python3 secretary_engine.py teams [team_id] [channel_id] [msg].π Setup
1. App Registration: Create an Azure Entra ID app as a Public Client. 2. Permissions: Grant DelegatedMail.ReadWrite, Calendars.ReadWrite, Files.ReadWrite, and ChatMessage.Send.
3. Env: Provide SECRETARY_CLIENT_ID and SECRETARY_TENANT_ID in .env.