Official agent skill

Add Office365

by microsoft in microsoft/power-platform-skills

Adds Office 365 Outlook connector to a Power Apps code app. An agent skill from microsoft/power-platform-skills.

OfficialMITAuto-check: notesDocuments & Office

Install Add Office365

skills CLI
$ npx skills add microsoft/power-platform-skills --skill add-office365 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/power-platform-skills add-office365 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/code-apps/skills/add-office365 .claude/skills/add-office365 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-office365
GitHub stars
979
Token cost
~1.5k tokens
SKILL.md length
339 words
Files
1
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Adds Office 365 Outlook connector to a Power Apps code app. An agent skill from microsoft/power-platform-skills.

  • Works in 6 steps: Check Memory Bank → Add Connector → Review Generated Service → …
  • Accessing calendars
  • Calls npm; reaches make.powerapps.com
  • Managing Outlook events

What it does

Add Office365 is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Adds Office 365 Outlook connector to a Power Apps code app. Use when accessing calendars, sending emails, reading inbox, or managing Outlook events.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Cloud office suites, Email management and Agent memory. It works with Microsoft 365. The repository describes itself as: A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and… The licence is MIT.

When your agent uses it

  • Accessing calendars
  • Managing Outlook events

Example prompts

  • “/add-office365”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Check Memory Bank
  2. Add Connector
  3. Review Generated Service
  4. Configure
  5. Build
  6. Update Memory Bank

What it can do on your machine

Read from SKILL.md and the folder at commit 8c4b447. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Write
    • Grep
    • Glob
    • Bash
    • LSP
    • TaskCreate
    • TaskUpdate
    • TaskList

    …and 3 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • make.powerapps.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Office365 loads about 1.5k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 339 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/power-platform-skills at commit 8c4b447, republished under its MIT licence (© microsoft). 339 words, ~1,511 tokens.

Download SKILL.mdSave it as .claude/skills/add-office365/SKILL.md (or your agent's skills folder).
name
add-office365
description
Adds Office 365 Outlook connector to a Power Apps code app. Use when accessing calendars, sending emails, reading inbox, or managing Outlook events.
allowed-tools
Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill
user-invocable
true
model
sonnet

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

Add Office 365 Outlook

Workflow

  1. Check Memory Bank -> 2. Add Connector -> 3. Review Generated Service -> 4. Configure -> 5. Build -> 6. Update Memory Bank

Step 1: Check Memory Bank

Check for memory-bank.md per shared-instructions.md.

Step 2: Add Connector

First, find the connection ID (see connector-reference.md):

Run the /list-connections skill. Find the Office 365 Outlook connection in the output (API name contains office365). If none exists, direct the user to create one using the environment-specific Connections URL — construct it from the active environment ID in context (from power.config.json or a prior step): https://make.powerapps.com/environments/<environment-id>/connections → + New connection → search for the connector → Create.

bash
pa app add data-source --connector office365 -c <connection-id>
Step 3: Review Generated Service

The generated service file (src/generated/services/Office365OutlookService.ts) is large. Use Grep to find specific methods instead of reading the entire file:

Grep pattern="async \w+" path="src/generated/services/Office365OutlookService.ts"

Key methods (sorted by common usage):

Calendar Operations
MethodPurposeKey Parameters
GetEventsCalendarViewV2Get events in a date rangecalendarId, startDateTimeOffset, endDateTimeOffset
V3CalendarPostItemCreate a calendar eventtable (calendar ID), item (CalendarEventHtmlClient)
CalendarDeleteItemDelete an eventtable (calendar ID), id (event ID)
CalendarPatchItemUpdate an eventtable, id, item
V2CalendarGetTablesList available calendars(none)
Email Operations
MethodPurposeKey Parameters
SendEmailV2Send an emailemailMessage (body, to, subject, etc.)
GetEmailsGet inbox emailsfolderPath, fetchOnlyUnread, top
GetEmailGet single emailmessageId
MarkAsReadMark email as readmessageId
ReplyToV3Reply to an emailmessageId, body
Flag / UnflagFlag/unflag emailmessageId
Contact Operations
MethodPurpose
GetContactFoldersList contact folders
ContactGetTablesList contact tables
Step 4: Configure

Ask the user what Office 365 Outlook operations they need (skip if already specified by caller).

Calendar -- Get events for a date range:

typescript
import { Office365OutlookService } from "../generated/services/Office365OutlookService";

const result = await Office365OutlookService.GetEventsCalendarViewV2(
  "Calendar", // calendarId -- "Calendar" for default
  startDate.toISOString(),
  endDate.toISOString()
);
const events = result.data?.value || [];

Calendar -- Create an event:

typescript
await Office365OutlookService.V3CalendarPostItem("Calendar", {
  Subject: "Focus Time",
  Start: "2025-06-15T10:00:00", // ISO 8601 format
  End: "2025-06-15T11:00:00",
  ShowAs: "Busy",
  Importance: "Normal",
  IsAllDay: false,
  Body: "<p>Blocked for focus work</p>",
  Reminder: 5
});

Calendar -- Delete an event:

typescript
await Office365OutlookService.CalendarDeleteItem("Calendar", eventId);

Email -- Send an email:

typescript
await Office365OutlookService.SendEmailV2({
  To: "<recipient-address>",
  Subject: "Subject line",
  Body: "<p>HTML email body</p>",
  Importance: "Normal"
});

Key types:

TypePurpose
CalendarEventClientReceiveStringEnumsRead model -- has Subject, Start, End, Id, ShowAs, IsAllDay, Organizer
CalendarEventHtmlClientWrite model -- requires Subject, Start, End; optional Body, ShowAs, Importance, Reminder
EntityListResponse_CalendarEventClientReceiveStringEnumsResponse wrapper -- access events via .value

Response pattern:

typescript
const result = await Office365OutlookService.GetEventsCalendarViewV2(...);
if (result.success) {
  const events = result.data?.value || [];
} else {
  console.error("Failed:", result.error);
}
Step 5: Build
bash
npm run build

Fix TypeScript errors before proceeding. Do NOT deploy yet.

Step 6: Update Memory Bank

Update memory-bank.md with: connector added, configured operations, build status.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/code-apps/skills/add-office365 of microsoft/power-platform-skills.

Open the folder on GitHubat commit 8c4b447

Compare with similar skills

Add Office365 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Office365 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Office365 this skillmicrosoft/power-platform-skills979—~1.5kAutomated safety check: NotesMIT
aai-cli Microsoft 365aai-labs/agent-barn109—~1.2kAutomated safety check: PassApache-2.0
Pp Outlook Emailmvanhorn/printing-press-library2.1k—~4.2kAutomated safety check: NotesApache-2.0
Outlook EmailPorabuild/Poracode115—~574Automated safety check: PassApache-2.0
Emailheypinchy/pinchy182—~2.4kAutomated safety check: PassAGPL-3.0
Detecting Email Account Compromisemukul975/Anthropic-Cybersecurity-Skills34k—~823Automated safety check: PassApache-2.0

Similar skills

  • aai-cli Microsoft 365

    aai-labs/agent-barn

    Guides work with Outlook, OneDrive, SharePoint, Teams, Excel, To Do and Planner through aai-cli's Microsoft Graph commands, starting from which service owns the data.

    109 GitHub stars~1.2k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Pp Outlook Email

    mvanhorn/printing-press-library

    Drive your personal Microsoft 365 inbox from agents — read, send, sync, and run offline triage analytics that...

    2.1k GitHub stars~4.2k tokensUpdated today
    Documents & OfficeAuto-check: notes
  • Outlook Email

    Porabuild/Poracode

    Triage an Outlook inbox, summarize threads, and draft replies through the Microsoft 365 MCP server.

    115 GitHub stars~574 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Email

    heypinchy/pinchy

    Read, search, and draft email in the connected mailbox (Gmail or Microsoft 365).

    182 GitHub stars~2.4k tokensUpdated 18 days ago
    Productivity & AutomationAuto-check passed
  • Detecting Email Account Compromise

    mukul975/Anthropic-Cybersecurity-Skills

    Detect compromised O365 and Google Workspace email accounts by analyzing Unified Audit Logs and Azure AD sign-in logs for impossible travel, inbox rule creation/deletion (Set-InboxRule…

    34k GitHub stars~823 tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Msgraph

    codemie-ai/codemie-code

    Work with Microsoft 365 services via the Graph API — emails, calendar events, SharePoint sites (read and write), Teams chats and channel messages, OneDrive files, OneNote notebooks, Planner task…

    294 GitHub stars~4.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from microsoft/power-platform-skills

All 92 skills in this repo
  • Manage Firewall

    microsoft/power-platform-skills

    Official

    Inspects and configures the web application firewall (WAF) in front of a Power Pages production site.

    979 GitHub stars~4.5k tokensUpdated today
    Auto-check: notes
  • Manage Headers

    microsoft/power-platform-skills

    Official

    Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection, cross-origin sharing, cookie behavior, and related…

    979 GitHub stars~3k tokensUpdated today
    Auto-check: notes
  • Scan Code

    microsoft/power-platform-skills

    Official

    Scans a Power Pages site project for security issues in source code and dependencies.

    979 GitHub stars~3.4k tokensUpdated today
    Auto-check: notes
  • Scan Site

    microsoft/power-platform-skills

    Official

    Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary.

    979 GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Setup Datamodel

    microsoft/power-platform-skills

    Official

    Creates Dataverse tables, columns, and relationships for a Power Pages site based on a data model proposal.

    979 GitHub stars~4k tokensUpdated today
    Auto-check: notes
  • Add Server Logic

    microsoft/power-platform-skills

    Official

    Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime.

    979 GitHub stars~18k tokensUpdated today
    Auto-check: notes

Works with

Questions about Add Office365

What does Add Office365 do?

Adds Office 365 Outlook connector to a Power Apps code app. An agent skill from microsoft/power-platform-skills. Add Office365 is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Adds Office 365 Outlook connector to a Power Apps code app.

When should I use Add Office365?

Add Office365 fits situations like: accessing calendars; managing Outlook events.

How do I install Add Office365 in Claude Code?

Run `npx skills add microsoft/power-platform-skills --skill add-office365 -a claude-code`. Or copy the skill folder (plugins/code-apps/skills/add-office365 in microsoft/power-platform-skills) into .claude/skills/add-office365 in your project. Claude Code loads it when a task matches its description.

How do I install Add Office365 in Codex?

Run `npx skills add microsoft/power-platform-skills --skill add-office365 -a codex`. Or copy the skill folder (plugins/code-apps/skills/add-office365 in microsoft/power-platform-skills) into .agents/skills/add-office365 in your project. Codex loads it when a task matches its description.

Can I use Add Office365 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/power-platform-skills --skill add-office365 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-office365, .gemini/skills/add-office365, .github/skills/add-office365 and .opencode/skills/add-office365 in your project.

What does Add Office365 need to run?

Going by SKILL.md and its folder, Add Office365 needs the command-line tools its instructions call (npm). Its frontmatter pre-approves these tools: Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill.

Does Add Office365 access the network?

SKILL.md names 1 domain. In commands or code: make.powerapps.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Add Office365 safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Add Office365 use?

Add Office365 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Office365 use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Office365?

Skills that share tags, products or a category with Add Office365: aai-cli Microsoft 365 (aai-labs/agent-barn, 109 stars), Pp Outlook Email (mvanhorn/printing-press-library, 2.1k stars), Outlook Email (Porabuild/Poracode, 115 stars) and Email (heypinchy/pinchy, 182 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Office365?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 979 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/power-platform-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.