add-office365

add-office365 is a skill for Claude Code from microsoft/managed-apps. It costs 39 tokens per session (1,553 once invoked), scanned A, original, MIT.

A setup step for connecting Office 365 Outlook, Microsoft's email and calendar service, to a Microsoft App. It configures the connector for actions such as working with messages or calendar events.

In plain words
What is it for?
Use it to add Outlook email or calendar access, including finding calendar events between two dates.
Why use it?
It provides the connection needed before the app can use Outlook data and guides calendar queries such as finding events within a date range.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { Office365OutlookService } from '../../generated/services/Office365OutlookService'.

Part of the microsoft-managed-apps plugin — 22 skills, 1 agent shipped together

Good fit Use it to add Outlook email or calendar access, including finding calendar events between two dates.

Compare 6 skills from other repositories ↓
About the project

Microsoft Managed Apps is a project for building custom web applications with React, TypeScript, and Vite, and it provides Microsoft's official templates and development tooling. Developers use its SDK, CLI, and Vite plugin to create and manage these applications. Its catalogue add-ons help AI coding agents build Microsoft Managed Apps.

microsoft/managed-apps · 36 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/microsoft/managed-apps
agentmods
npx agentmods add skills/microsoft/managed-apps/add-office365

Made for: Claude Code.

Or install microsoft-managed-apps, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-office365

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/managed-apps/add-office365/github.svg)](https://agentmods.dev/skills/microsoft/managed-apps/add-office365)
Your own site
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-office365"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-office365/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-office365

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-office365"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-office365.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01553
Opus 5.5 $0.00016 $0.00621
Sonnet 5.5 $0.00008 $0.00311
Haiku 4.5 $0.00004 $0.00155

Measured 5d ago against content hash f727713188e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-office365 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/microsoft-managed-apps/skills/add-office365/SKILL.md · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.

📋 Shared Instructions: shared-instructions.md — Cross-cutting concerns.

Add Office 365 Outlook (Wrapper)

This skill is a thin wrapper. Use /add-data-source as the single implementation path.

Delegation contract

Invoke /add-data-source with:

  • api-id: shared_office365
  • mode: action

Office 365 Connector: Method Selection Guide

After the connector is added, you'll have access to Office365OutlookService with 20+ methods. Use this guide to select the right method for your use case.

Calendar Operations

For Fetching Events in a Date Range: GetEventsCalendarViewV2

Best for: Meeting lists, calendar views, event queries between two dates (e.g., "past 7 days", "next 30 days").

Key Parameters:

  • calendarId (string) — Always discover using CalendarGetTables() first
  • startDateTimeOffset (ISO 8601 string) — Use .toISOString()
  • endDateTimeOffset (ISO 8601 string) — Use .toISOString()
  • top, skip (optional) — For pagination (200-1000 range typical)

Pattern:

import { Office365OutlookService } from '../../generated/services/Office365OutlookService'

// Step 1: Discover calendar ID (validate and prefer primary calendar)
const calendarsResult = await Office365OutlookService.CalendarGetTables()
if (!calendarsResult.success) {
  throw new Error(calendarsResult.error?.message ?? 'Failed to list calendars')
}

const calendars = calendarsResult.data?.value ?? []
if (calendars.length === 0) {
  throw new Error('No calendars found in Office 365 connection')
}

// Prefer primary 'calendar' (by DisplayName), fall back to first
const defaultCalendar =
  calendars.find((c: any) => (c.DisplayName ?? '').toLowerCase() === 'calendar') 
  ?? calendars[0]
const calendarId = defaultCalendar?.Name ?? calendars[0]?.Name

if (!calendarId) {
  throw new Error('Could not determine calendar ID from response')
}

// Step 2: Query events with pagination
const eventsResult = await Office365OutlookService.GetEventsCalendarViewV2(
  calendarId,
  startDate.toISOString(),
  endDate.toISOString(),
  undefined,        // filter (optional)
  undefined,        // select (optional)
  200,              // top - results per page
  0                 // skip - pagination offset
)

if (!eventsResult.success) {
  throw new Error(eventsResult.error?.message ?? 'Failed to fetch events')
}

const meetings = eventsResult.data?.value ?? []

Read the full file on GitHub · 206 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · -2 lines f727713188e1
  2. 2mo ago Changed 91a008b156a7
  3. 2mo ago First seen · 208 lines · 39 tokens per session scan A c2522c7fba72

Subscribe to this mod's changes

add-office365 is a skill published in the GitHub repository microsoft/managed-apps (36 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,553 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

add-office365 compared with skills from other repositories

add-office365 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-office365microsoft/managed-appsSkill363d agoMITA39Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code