Skip to content
Back to skills

Office Secretary

ASecurity

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

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
securitypythongoazuresecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill office-secretary --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Office Secretary?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Office Secretary
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-office-secretary/badge)](https://www.skillsdirectory.com/skills/modbender-office-secretary)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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
- **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
1. **App Registration**: Create an Azure Entra ID app as a Public Client.
2. **Permissions**: Grant Delegated `Mail.ReadWrite`, `Calendars.ReadWrite`, `Files.ReadWrite`, and `ChatMessage.Send`.
3. **Env**: Provide `SECRETARY_CLIENT_ID` and `SECRETARY_TENANT_ID` in `.env`.

Files in this skill

  • .gitignore50 B
  • SKILL.md1.3 KB
  • requirements.txt29 B
  • secretary_engine.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.