Skip to content
Agentmart
Submit a tool

microsoft-365

Read Microsoft 365 data through Microsoft Graph: Outlook mail/calendar, OneDrive/SharePoint files, Teams, chats, and user profile.

Skill by HybridAIOne

IndexedMIT★ 159
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hybridaione-microsoft-365

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Read Microsoft 365 data through Microsoft Graph: Outlook mail/calendar, OneDrive/SharePoint files, Teams, chats, and user profile.

Use cases: data, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/microsoft-365

What's inside

Skill name
microsoft-365
Description
Read Microsoft 365 data through Microsoft Graph: Outlook mail/calendar, OneDrive/SharePoint files, Teams, chats, and user profile.
License
MIT
Instructions
119 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • m365.cjs

SKILL.md (first lines)

# Microsoft 365

Use this skill for read-only Microsoft 365 workflows backed by Microsoft Graph.

## Scope

- read the signed-in user's Microsoft 365 profile
- list or search Outlook messages
- read calendar events in a requested time window
- list or search recent OneDrive files
- list joined Teams, team channels, channel messages, and recent chats
- interpret common Microsoft Graph auth, permission, and throttling errors

This skill is read-only. Do not send mail, create or update calendar events,
modify files, post Teams messages, or change tenant state with this skill.

## Credential Rules

HybridClaw stores Microsoft Entra OAuth refresh-token material in encrypted
runtime secrets. At request time the gateway mints a short-lived Microsoft
Graph access token and injects it only for `graph.microsoft.com`.

Recommended setup:

```bash
hybridclaw auth login microsoft365 \
  --client-id "<entra-app-client-id>" \
  --tenant-id organizations \
  --account you@example.com
hybridclaw auth status microsoft365
```

Use OAuth login for normal setup. If an operator must manually replace stored
Microsoft credential material, advise this order: browser admin at
`/admin/secrets`, `/secret set ...` in browser `/chat` or
TUI, then `hybridclaw secret set ...` in a local console.

Use a Microsoft Entra app registration with a localhost/mobile-desktop redirect
URI matching the callback URL printed by the login command. The default scope
set is read-only: `User.Read`, `Mail.Read`, `Calendars.Read`,
`Files.Read.All`, `Sites.Read.All`, `Team.ReadBasic.All`,
`Channel.ReadBasic.All`, `ChannelMessage.Read.All`, `Chat.Read`, plus
`offline_access`.

Tenant admins may need to grant consent for the broader Graph read scopes.
Never paste client secrets, refresh tokens, or access tokens into chat.

For direct Graph calls outside this helper, configure a route:

```bash
hybridclaw secret route add https://graph.microsoft.com/v1.0/ microsoft-oauth Authorization Bearer
```

## Default Workflow

1. Start by building a helper request:
   ```bash
   node skills/microsoft-365/m365.cjs --format json http-request ...
   ```
2. For live reads, prefer the helper `run` command so the CJS script owns
   endpoint selection, gateway submission, and auth-error handling.
3. If using the built-in `http_request` tool directly, pass only the emitted
   `httpRequest` object. Do not handcraft Microsoft Graph requests from memory.
4. If a call returns 401, 403, `Authorization_RequestDenied`, or
   `insufficient_claims`, stop after the first failure and tell the operator to
   run `hybridclaw auth status microsoft365`, verify tenant admin consent, and
   reconnect with `hybridclaw auth login microsoft365` if needed.
5. If Graph returns 429, respect `Retry-After`; do not loop retries.

## Command Contract

Profile:

```bash
node skills/microsoft-365/m365.cjs --format json run me
node skills/microsoft-365/m365.cjs --format json http-request me
```

Outlook mail:

```bash
node skills/microsoft-365/m365.cjs --format json run mail recent --top 10
node skills/microsoft-365/m365.cjs --format json run mail search --query "from:alex@example.com" --top 10
```

Calendar:

```bash
node skills/microsoft-365/m365.cjs --format json run calendar events \
  --start 2026-06-26T00:00:00Z \
  --end 2026-06-27T00:00:00Z \
  --timezone Europe/Berlin
```

OneDrive and SharePoint-backed files:

```bash
node skills/microsoft-365/m365.cjs --format json run drive recent --top 25
node skills/microsoft-365/m365.cjs --format json run drive search --query "quarterly plan" --top 10
```

Teams and chats:

```bash
node skills/microsoft-365/m365.cjs --format json run teams joined --top 25
node skills/microsoft-365/m365.cjs --format json run teams channels --team-id "<team-id>"
node skills/microsoft-365/m365.cjs --format json run teams messages --team-id "<team-id>" --channel-id "<channel-id>" --top 10
node skills/microsoft-365/m365.cjs --format json run chats list --top 10
```

## Output Rules

Summarize returned JSON into concise user-facing answers. For mail, show sender,
subject, received time, read state, and a short snippet. For calendar events,
group by day and include timezone. For files, show name, modified time, and
link. For Teams/chats, show display names, timestamps, and links or IDs needed
for a follow-up read.

From HybridAIOne/hybridclaw, MIT.

More from HybridAIOne/hybridclaw

Signals

Stars
159
Forks
17
Open issues
323
Last commit (this folder)
Jul 2, 2026 (3 months ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from HybridAIOne

Cite this page

microsoft-365 skill. Agent Mart. https://agentmart.dev/skills/hybridaione-microsoft-365 (last updated 2026-10-24)