share

share is a skill for Claude Code from microsoft/managed-apps. It costs 33 tokens per session (855 once invoked), scanned A, original, MIT.

A tool for adding or removing users from a Microsoft app’s access list. It uses Microsoft Graph, Microsoft’s service for managing Microsoft 365 data and access, to resolve email addresses.

In plain words
What is it for?
Use it to share an app with a list of users or remove their access from the current Microsoft App workspace.
Why use it?
It provides a guided access-control process, including confirmation and warnings when some email addresses cannot be resolved.

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 to share an app with a list of users or remove their access from the current Microsoft App workspace.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/managed-apps/share"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/share.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 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.00033 $0.00855
Opus 5.5 $0.00013 $0.00342
Sonnet 5.5 $0.00007 $0.00171
Haiku 4.5 $0.00003 $0.00085

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

Security

Grade A, and why

share 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/share/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 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. Always confirm before share/unshare.

Share / Unshare

Adds or removes user access to the app in the current directory. The CLI resolves emails via Microsoft Graph; entries that don't resolve are returned as warnings (the RP call still succeeds for the resolved entries).

Workflow

  1. Memory Bank → 2. Verify Project + Env → 3. Mode (share / unshare) → 4. Collect Emails → 5. Confirm → 6. Run → 7. Surface Partial-Success Envelope

Step 1: Check Memory Bank

Read memory-bank.md for app slug, GUID, and environment.

Step 2: Verify Project + Env

test -f ms.config.json || { echo "Not in a Microsoft App workspace."; exit 1; }
BIN=ms
$BIN auth status                                         # must report the expected UPN

Step 3: Mode

Ask whether the user wants to share (add access) or unshare (remove access). Default to share unless the prompt obviously indicates removal.

Step 4: Collect Emails

Accept a comma-separated email list. Validate basic shape (user@domain) before passing through; don't try to resolve them yourself — ms handles Graph resolution and will return warnings for unresolved entries.

If the user passes Object GUIDs (already-resolved principals), pass them through as-is — the CLI accepts both forms.

Step 5: Confirm

Show the user exactly what will run, then ask for confirmation:

"About to share <app-name> with: [email protected], [email protected]. Confirm?"

Wait for explicit yes. Never auto-proceed — ACL changes affect production users.

Step 6: Run

Share:

$BIN app share "[email protected],[email protected]"

Unshare:

$BIN app unshare "[email protected],[email protected]"

The command reads the app ID from ms.config.json.

Step 7: Surface Partial-Success Envelope

The CLI returns a JSON envelope with partialFailure: boolean and warnings: []. When partialFailure: true:

Read the full file on GitHub · 96 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 17b3497a47fb
  2. 2mo ago First seen · 98 lines · 33 tokens per session scan A a615d24eb8bd

Subscribe to this mod's changes

share is a skill published in the GitHub repository microsoft/managed-apps (36 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 855 once invoked, about $0.0001 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

share compared with skills from other repositories

share next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sharemicrosoft/managed-appsSkill363d agoMITA33Claude 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