Onedrive Connectorのロゴ

Onedrive Connector

コミュニティ
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".

概要

公開者andreaswasita
リポジトリcopilot-cowork-dojo
スキル名onedrive-connector
スター
36
フォーク
9
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    andreaswasitaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Onedrive Connector」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connector
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOnedrive Connectorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOnedrive Connectorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Onedrive Connectorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「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".

TypingMindでOnedrive Connectorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Onedrive Connectorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOnedrive Connectorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connectorを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Onedrive Connectorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Onedrive Connectorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOnedrive Connectorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Onedrive Connector」は無料ですか?

はい。andreaswasitaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇