share
Skill4 starsChanged 8 days agoMITView on GitHub
Shares (or unshares) a Microsoft App with users via `ms app share` / `ms app unshare`. Use when updating app access control.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- Anglesite/anglesite-skillstheir own version, first seen Oct 27, 2026
- 0mlkrizzz655335v/claude-skills-zhtheir own version, first seen Oct 15, 2026
- openai/pluginstheir own version, first seen Oct 13, 2026
- amit-nayar/skillstheir own version, first seen Oct 11, 2026
- ClickHouse/ClickHousetheir own version, first seen Oct 8, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
Used with
Projects with it also use origin, review-bugbot and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
0mlkrizzz655335vSkillorigin
origin CLI 管理。安装、登录、更新、修复 origin.cursor.com 的 CLI。"disabled-environments:
Also in 3 projects that use this
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 3 projects that use this
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 3 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 3 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 3 projects that use this
MicrosoftSkillautomate
Propose an automation from a completed task or a new idea, then create it after approval. Use when the user asks to create an automation or wants scheduled local or cloud agent work.
Also in 3 projects that use this
- +3 more from 0mlkrizzz655335v
- +1 more from 32103210
Other versions13 projects use a version of this.
Word for word · 1
- microsoft/managed-apps★ 36100% same
Edited · 0
None found.
Wrote their own version · 12
- ClickHouse/ClickHouse★ 51ksame name
- openai/plugins★ 7.8ksame name
- SerhiiKorniienko/bullshit-detector★ 151same name
- Anglesite/anglesite-skills★ 15same name
- 0mlkrizzz655335v/claude-skills-zh★ 2same name
- ChewbaccaRoars/pathfinder-skills★ 2same name
- bulgariamitko/claude-code-cowork★ 1same name
- JameMy0001/antigravity-skills-hub★ 1same name
- amit-nayar/skills★ 0same name
- loredotlink/lore-plugin★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- github-actions/AGENTS.mdAGENTS.md
- plugins/copilot-managed-runtime/AGENTS.mdAGENTS.md
- samples/CodeFlow/AGENTS.mdAGENTS.md
- samples/LearningHub/AGENTS.mdAGENTS.md
- samples/TaskManager/AGENTS.mdAGENTS.md
- add-azuredevopsSkill
- add-backendSkill
- add-data-sourceSkill
- add-dataverseSkill
- add-excelSkill
- add-mcscopilotSkill
- add-office365Skill
- add-office365-usersSkill
- add-onedriveSkill
- add-sharepointSkill
- add-teamsSkill
- add-workiqSkill
- create-appSkill
- delete-appSkill
- deploySkill
- devSkill
- list-appsSkill
- list-connectorsSkill
- playSkill
- share-linkSkill
- stateSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Read memory-bank.md for app slug, GUID, and environment.
- Distinctive: line 33
Ask whether the user wants to share (add access) or unshare (remove access).
- Distinctive: line 39
If the user passes Object GUIDs (already-resolved principals), pass them through as-is — the CLI accepts both forms.
- Distinctive: line 47
Wait for explicit yes. Never auto-proceed — ACL changes affect production users.
- Distinctive: line 84
If the user confirms, loop back to Step 4 with the corrected list.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
📋 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
- 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 UPNStep 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:alice@contoso.com, bob@contoso.com. Confirm?"
Wait for explicit yes. Never auto-proceed — ACL changes affect production users.
Step 6: Run
Share:
$BIN app share "alice@contoso.com,bob@contoso.com"Unshare:
$BIN app unshare "alice@contoso.com,bob@contoso.com"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:
- The RP call succeeded — share state is updated for resolved users.
- Warnings list the unresolved entries (typo'd email, account doesn't exist in the tenant, Graph couldn't find them, etc.).
Print warnings verbatim and ask the user whether to re-run with corrected entries:
Share completed with warnings:
- 'bob@contso.com' could not be resolved (Graph returned 404).
- 'charlie@partner.com' is not a member of this tenant.
Share state updated for: alice@contoso.com (1 of 3 resolved).
Would you like to retry the 2 unresolved entries with corrections?If the user confirms, loop back to Step 4 with the corrected list. Don't retry automatically — typos and tenant-membership issues need human resolution.
Edge Cases
| Situation | Action |
| User passes a single email | Run as-is; the envelope still applies (just with one entry). |
| User passes a mix of emails and Object GUIDs | Pass through as one comma-separated list — the CLI accepts both. |
ms app share returns non-zero (not a partial-failure envelope) | A hard error (auth, env, app-not-found). Surface verbatim and STOP. Do not retry. |
| User says "share with everyone" | Decline — there is no "everyone" semantic. Ask for an explicit list. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

