ms365-connect
Skill by sonichi
Connects Sutando to Microsoft 365 through Microsoft Graph, using the python-o365 (O365) library. It covers OneDrive files, Outlook mail, Calendar and Teams for use in Sutando workflows.
Install ms365-connect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sonichi/sutando /tmp/sutando && mkdir -p ~/.claude/skills && cp -r /tmp/sutando/skills/ms365-connect ~/.claude/skills/ms365-connectRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sonichi/sutando /tmp/sutando && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sutando/skills/ms365-connect ~/.gemini/antigravity-cli/skills/ms365-connectAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ms365-connect gives Sutando access to Microsoft 365 through Microsoft Graph, using the open-source python-o365 (O365) library. It covers listing and downloading OneDrive files, listing and sending Outlook email, listing calendar events over a number of days, and posting messages to Teams channels. Commands run from a Python CLI at scripts/ms365.py.
Access uses a one-time delegated OAuth2 consent flow, and the refresh token is cached on disk so later commands run without prompts. Secrets are read from environment variables that should be filled from the Sutando vault. The workspace owner must first register an Azure AD app with the listed Graph scopes. It is meant for Sutando users who need Microsoft 365 data inside their workflows.
Written from the project's SKILL.md and checked against it.
What it can do
- authRuns the one-time OAuth consent flow and caches the token.
- onedrive-listLists a OneDrive folder's contents, or the root by default.
- onedrive-getDownloads a OneDrive file to a local path.
- outlook-listLists recent inbox messages.
- outlook-sendSends an email as the signed-in user.
- calendar-listLists upcoming calendar events over a window of days.
- teams-postPosts a message to a channel in a Teams team.
What you need
- Sutando workspace with a vault for secrets
- Python 3 with pip to install the O365 library
- Microsoft 365 account
- Azure AD app registration with delegated Microsoft Graph scopes
Try asking
- List the files in my OneDrive folder /Projects/Q3
- Send an email to a@b.com saying the deploy is finished
- Post 'Deploy is green' to the General channel of Engineering
Good to know
- Every command except auth needs a cached token from a prior auth run.
- teams-post needs Team.ReadBasic.All and Channel.ReadBasic.All, or team lookups fail.
- The public auth flow is required when the redirect is registered under Mobile and desktop applications.
- The token cache file is a live credential and should have owner-only permissions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/ms365-connect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ms365-connect
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
ms365-connect: common questions
Does ms365-connect need a client secret?
The default credentials flow uses MS365_CLIENT_SECRET. The public flow needs only the client ID, so the secret is not required there.
Where is the Microsoft 365 login token stored?
It is stored at state/ms365-token/o365_token.txt under the workspace state dir. Set MS365_STATE_DIR to change the base path, and treat the file as a live credential.
Why does teams-post report that a team is not found?
The source says the lookups return empty when the Team.ReadBasic.All and Channel.ReadBasic.All scopes are missing, even if the team exists.
How do I install ms365-connect?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ms365-connect free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ms365-connect safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ms365-connect?
Similar skills: ask-user-question, beads, google_tasks, recall.
