Logo: Onedrive Connector

Onedrive Connector

Communautéit
andreaswasita
onedrive-connector

Read, write, search, and share files in OneDrive / SharePoint via Copilot connectors. Use whenever the deliverable lives in a document library or a user's OneDrive — including grounding Copilot on a specific file or folder. Triggers: "ground on this file", "save to SharePoint", "share with", "find the latest version", "OneDrive link".

Iwwersiicht

Editeurandreaswasita
Repositorycopilot-cowork-dojo
Skill-Nummonedrive-connector
Stären
36
Forks
9
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    andreaswasita huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Onedrive Connector an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connector
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreaswasita/copilot-cowork-dojo.git /tmp/copilot-cowork-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-cowork-dojo/skills/onedrive-connector .claude/skills/onedrive-connector
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Onedrive Connector an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Onedrive Connector automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Onedrive Connector net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

OneDrive / SharePoint Connector

The file is the unit of governance. Sensitivity label, retention, sharing scope — all attach to the file, not the chat.


Quick Reference

TaskApproach
Ground a session on a fileResolve driveId+itemId; check sensitivity; attach
Save a deliverableWrite to a draft path -> verify -> move/promote to published path
Share with internal audiencePeople in your org (default for most artifacts)
Share with external partySpecific people link, expiry set, audit logged
Find latest versionUse version history, not file-naming guesswork
Bulk operationDry-run on a single item; verify; then expand

Prerequisites — this skill is a playbook, not the connector

A SKILL.md cannot call OneDrive / SharePoint on its own. It assumes the platform already exposes Microsoft Graph as a tool. The skill teaches Cowork how to use OneDrive / SharePoint well; the connector itself is separate infrastructure.

Before this skill works end-to-end you need:

  1. A Microsoft Graph connector — typically Copilot Cowork's built-in M365 connectivity, or an MCP server wrapping the Graph /me/drive and /sites/{id}/drives endpoints.
  2. Credentials — your Entra ID session with Files.Read.All / Files.ReadWrite.All / Sites.Read.All scopes consented for the connector.
  3. Tenant policies — sensitivity labels, DLP, and conditional access must permit the connector to read the files you reference.
  4. Tool discovery — confirm Graph file tools are visible (ask Cowork: "what file/SharePoint tools do you have?") before using this skill.

In Cowork on a properly licensed M365 tenant, this is usually present out of the box. On other surfaces (e.g. a stripped-down sandbox), you'll need an MCP connector explicitly installed.

When to Use

  • Grounding a Copilot session on a specific file, folder, or library.
  • Saving a deliverable into the right library with the right label.
  • Sharing a file with an internal/external audience under the right link policy.
  • Versioning — comparing or restoring previous versions during review.

How to Use

  1. Resolve the location — driveId + itemId (or site + library + path). Never operate by friendly URL alone.
  2. Check the sensitivity label before reading. Confidential / Highly Confidential content has handling rules — see governance/data-handling.md.
  3. Read / write through the connector. For writes, save to a draft path first, not the published one.
  4. Set sharing scope explicitly — People in your org, Specific people, or Anyone with the link (rarely). Default link policy ≠ correct policy.
  5. Verify the file landed at the expected path, with the expected label, with the expected sharing.

Parameter Guidance

ParameterWhy it matters
driveId / itemIdStable identifiers; survives renames.
sensitivityLabelInherited from container — overriding requires rights.
sharingScopeAnonymous links may be tenant-blocked; check before promising.
conflictBehaviorrename vs. replace vs. fail — pick deliberately.
expirationDateTimeExternal shares should default to time-bound.

Examples

Don't: Anti-patternDo: Right move
Save in-progress Copilot work over the published filenameWrite to a draft path, verify, then promote to the published path
Grant "Anyone with the link" by defaultDefault to "People in your org"; reserve anonymous links for a reasoned exception
Cite a SharePoint URL only you can openConfirm the audience can open the link before citing it
Operate on a file by its friendly URL aloneResolve driveId + itemId so the reference survives renames

Critical Rules

  • Sensitivity label travels with the file — and with anything you copy out of it.
  • Sharing scope = audience contract. "Anyone with the link" should require explicit reasoning, not be a default.
  • Drafts go to a draft path. Never save Copilot-in-progress work to the published filename.
  • Version history is the audit trail. Don't disable it to "clean up."
  • Library defaults beat per-file overrides. Configure the library; let files inherit.

Common Pitfalls

  • Saving externally-shareable output into a confidential library and breaking inheritance.
  • Reading from a SharePoint site you have access to but the audience does not — citing a URL nobody can open.
  • Assuming "OneDrive" and "SharePoint" are the same surface — they share an API but have different governance defaults.
  • Version explosion from autosave during a long Copilot session.
  • File-name conflicts that auto-rename to report (3).docx and break inbound links.
  • Overwriting a file someone else is editing (causes a fork, not an error).

Anti-Patterns

  • Mailing a file as an attachment when a OneDrive link would track access and revoke cleanly.
  • Bulk renaming files via connector with no audit trail.
  • Granting Anyone with the link on a file referenced from a public deck — accidental disclosure.
  • Treating personal OneDrive as the team's source-of-truth.

Verify Before Sharing

  • File saved at the expected location with the expected name.
  • Sensitivity label set and matches content.
  • Sharing scope intentional; expiry set for external.
  • Audience can actually open the link (test with one external recipient if external).
  • Old versions / drafts not exposed via search to new audience.
  • DLP policies satisfied (no blocking warnings).

Related

Heefeg gestallte Froen

Wat mécht de KI-Skill Onedrive Connector?

Read, write, search, and share files in OneDrive / SharePoint via Copilot connectors. Use whenever the deliverable lives in a document library or a user's OneDrive — including grounding Copilot on a specific file or folder. Triggers: "ground on this file", "save to SharePoint", "share with", "find the latest version", "OneDrive link".

Firwat Onedrive Connector op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Onedrive Connector besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Onedrive Connector an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connector an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Onedrive Connector benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Onedrive Connector benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Onedrive Connector domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Onedrive Connector gratis?

Jo. andreaswasita huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇