add-onedrive

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

A setup step for connecting OneDrive for Business, Microsoft's cloud file storage for work accounts, to a Microsoft App. It configures the connector for file-related actions.

In plain words
What is it for?
Use it when an app needs to work with files stored in OneDrive for Business.
Why use it?
It removes the need to configure the OneDrive connection by hand before integrating work files into the app.

Skill for Claude Code ✓ vendor

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

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

Good fit Use it when an app needs to work with files stored in OneDrive for Business.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/managed-apps/add-onedrive
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

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/managed-apps --skill add-onedrive
Clone the repo
git clone --depth 1 https://github.com/microsoft/managed-apps

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-onedrive

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/managed-apps/add-onedrive/github.svg)](https://agentmods.dev/skills/microsoft/managed-apps/add-onedrive)
Your own site
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-onedrive"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-onedrive/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-onedrive

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-onedrive"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-onedrive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 143 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.00042 $0.00143
Opus 5.5 $0.00017 $0.00057
Sonnet 5.5 $0.00008 $0.00029
Haiku 4.5 $0.00004 $0.00014

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

Security

Grade A, and why

add-onedrive 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-onedrive/SKILL.md · 19 lines

What it actually says

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

Add OneDrive for Business (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_onedriveforbusiness
  • mode: action
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 e1214be268e4
  2. 2mo ago Changed fcf43111d761
  3. 2mo ago First seen · 21 lines · 42 tokens per session scan A 0e9fa743a04e

Subscribe to this mod's changes

add-onedrive is a skill published in the GitHub repository microsoft/managed-apps (36 stars, last pushed 3d ago), licensed MIT. It adds 42 tokens to every session and 143 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-onedrive compared with skills from other repositories

add-onedrive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-onedrivemicrosoft/managed-appsSkill363d agoMITA42Claude Code
ocr-pipeline-and-qualityxberg-io/xbergSkill9.6ktodayMITA16Claude Code
pdf-backendsxberg-io/xbergSkill9.6ktodayMITA16Claude Code
add-sharepointmicrosoft/power-platform-skillsSkill1.1ktodayMITA39Claude Code
excel2jsonCoderWanFeng/python-officeSkill1.4k10d agoApache-2.0A51Claude Code, Codex
nw-diagramnWave-ai/nWaveSkill633yesterdayMITA33Claude Code
rag-web-fallbacklyonzin/knowledge-ragSkill303yesterdayMITA61Claude Code, Codex