Логотип 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 по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — andreaswasita. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Onedrive Connector в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connector
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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

Включите навык Onedrive Connector в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Onedrive Connector, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Onedrive Connector не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл 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

Часто задаваемые вопросы

Что делает навык ИИ 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".

Зачем использовать Onedrive Connector в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Onedrive Connector — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Onedrive Connector в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/onedrive-connector. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Onedrive Connector?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Onedrive Connector?

С любым количеством. В TypingMind вы можете использовать Onedrive Connector с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Onedrive Connector?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — andreaswasita. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇