تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

microsoft365

بواسطة robert-janssen

Communication
622التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Microsoft 365 integration for Outlook, Calendar, Contacts, and OneDrive via Microsoft Graph API.

الوصف

ما الذي تفعله هذه المهارة

Connects to Microsoft 365 services, including Outlook email, Calendar, Contacts, and OneDrive, through the Microsoft Graph API. Authentication uses Device Code Flow, which works in terminal environments without a browser-based OAuth redirect. Multiple named accounts can be configured and switched with a flag.

Device Code Flow lets you authenticate in headless or restricted environments where a browser redirect is not available.

متى تستخدمها

  • Reading unread Outlook emails from the command line
  • Fetching today's calendar events before a meeting
  • Looking up a contact's phone or email in Microsoft 365
  • Listing OneDrive files without opening a browser
  • Creating calendar events from an automated script

مثال على سير العمل

الإدخال

User asks: What meetings do I have today?

الوكيل
  1. 1

    Run node index.js --account personal --calendar

  2. 2

    Authenticate via Device Code Flow if the cached token is expired

  3. 3

    Request calendar events from the Microsoft Graph API

  4. 4

    Filter and format events for the current day

الإخراج

A list of today's calendar events with titles, start times, and locations

المتطلبات

  • MICROSOFT_CLIENT_ID environment variable
  • MICROSOFT_TENANT_ID environment variable
  • Azure app registration with Public Client Flow and Device Code Flow enabled
  • Microsoft 365 account

التثبيت

clawhub install robert-janssen/microsoft365

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط