Skip to main content
skill CX Codex

microsoft-graph — Claude Code skill: what it does, how to install

A hub for Microsoft Graph work: eight reference files, shared query parameters and permission rules. Useful when the agent is writing a Microsoft 365 integration.

no license 263 installs ★ 25 updated 2026-02-19

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add markpitt/claude-skills --skill microsoft-graph -a claude-code
Open on GitHub

What microsoft-graph does

Microsoft Graph is one REST endpoint for Microsoft 365 data, based at https://graph.microsoft.com/{version}/{resource}, in v1.0 or beta. The skill carries eight reference files for it: app registration and OAuth, users and groups, mail, calendar, OneDrive and SharePoint, Teams, Planner/To Do/OneNote, security and reports.

A task table maps the job to a file. Before that the agent answers four questions: which resource, which action, whose identity, and whether permissions are delegated or application-level. Each file then supplies endpoints, CRUD examples and the permission list. Shared pieces live in the hub: $select and $filter, sorting with $orderby, paging through @odata.nextLink, POST /$batch for 1 to 20 calls, delta queries for change tracking.

Auth runs on OAuth 2.0 through Azure AD. Skip the app registration, or leave permissions ungranted, and calls come back 403; that fix belongs in the Azure portal, not in the skill.

What it helps with

  • build a Graph API call with the right $select and $filter
  • find the file that covers mail, calendar or OneDrive work
  • work out which permissions an app needs before the first call
  • add paging and batch requests to an existing integration
  • handle 429 responses without breaking the sync

Example prompts for the agent

  • Pull the user list from Azure AD with $select=displayName,mail and group it by department.
  • Set up OAuth 2.0 for a new app registration and list the scopes needed to read mail.
  • Page through the OneDrive file listing with @odata.nextLink and save the file names.

How to install microsoft-graph

1Skills CLI (Vercel)

npx skills add markpitt/claude-skills --skill microsoft-graph -a claude-code

2Manually: put the files in place

~/.claude/skills/microsoft-graph/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/microsoft-graph/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about microsoft-graph

How do I install microsoft-graph in Claude Code?

Run npx skills add markpitt/claude-skills --skill microsoft-graph -a claude-code. The skill lands at ~/.claude/skills/microsoft-graph/SKILL.md.

What does the microsoft-graph skill do?

It sends the agent to the right Graph API reference for the job, with endpoints, request examples and the permissions each call needs. Query parameters and error handling sit in the hub itself.

What do I need before making Graph calls?

An app registration in Azure AD plus OAuth 2.0. Without granted permissions the response is 403, and the change happens in the Azure portal.

Similar skills

All skills for Backend and APIs →

From the same set10

The whole set →
blazor-expert The blazor-expert skill for Claude Code guides app development with Blazor Server, WebAssembly, and Hybrid, including component structure, state flow, and C# forms. CX Codex +1 692installs avalonia Guides an agent through Avalonia work: MVVM, XAML, bindings, styling, controls, and platform-specific code for .NET applications. CX Codex +1 286installs kiss-principle The kiss-principle skill helps spot needless complexity in code and design, then plan simpler solutions without dropping required behavior. Use it during reviews, refactors, or feature planning. CX Codex +1 251installs markdown-formatter markdown-formatter rewrites the markup of a markdown file against one set of style rules, then checks the result with a bundled script and reports what changed. CX Codex +1 245installs azure-devops Guides an agent through Azure DevOps REST API work across Boards, Repos, Pipelines, Test Plans, and Artifacts. Useful for integrations and DevOps automation. CX Codex +1 191installs github-api github-api routes GitHub REST and GraphQL requests through dedicated reference guides. Helps build integrations, automate pull requests, and trigger Actions without leaking tokens. CX Codex +1 148installs gof-design-patterns gof-design-patterns finds the right Gang of Four pattern for the problem you describe and writes a working implementation in one of eight languages. CX Codex +1 145installs root-cause-analysis The root-cause-analysis skill guides investigations with 5 Whys, Ishikawa diagrams, Pareto analysis, and fault trees. Use it to trace a bug or failure beyond its visible symptoms. CX Codex +1 107installs

Project sponsors

Companies that keep this analytics open