Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

microsoft-graph-gateway

БесплатноЗапускает вложенные скриптыНе проверен

Route Microsoft Graph work from VS Code. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams…

aktsmmот aktsmm★ 27 звёзд на GitHub

Об этом скилле

Microsoft Graph Gateway

Use this skill as the orchestration shell for Microsoft Graph work from VS Code.

This skill does not try to abstract all of Microsoft Graph into a fixed checklist. Instead, it does two things:

  1. Route common read requests to the right source.
  2. Enforce safe execution rules before Graph writes or advanced reads.

When To Use

  • The user wants to read or write Microsoft 365 data from VS Code.
  • The request mentions mail, email, inbox, Outlook, meetings, calendar, contacts, OneDrive, SharePoint, Teams, Planner, To Do, users, groups, or Microsoft Graph.
  • The user wants an exact Microsoft Graph endpoint, permission, query option, or payload.
  • WorkIQ can likely answer a common read request, but Graph may be needed as a fallback.

Routing Rules

Read Routing

  • Prefer WorkIQ first for common read scenarios such as inbox checks, meeting lookups, file discovery, and lightweight summaries.
  • Use Microsoft Graph for gap-read scenarios when WorkIQ lacks the required capability or detail, or the user asks for exact Graph semantics. Authentication, consent, or permission refusal is not a capability gap: stop the affected operation, report the required authorization, and do not switch routes to bypass it. An ambiguous failure does not establish a gap.
  • Go straight to Microsoft Graph when the user asks for:
    • exact endpoint names or raw REST calls
    • precise properties, $select, $filter, $expand, or API version control
    • Teams, Planner, To Do, directory, or permission-oriented data
    • schema, permission, throttling, batching, delta, or webhook behavior
  • Directory reads (/users, /users/{id}/manager) worked with an Azure CLI Graph token in a corporate tenant; /users/<mail>/manager returns 404 when mail differs from the UPN, so resolve the id with /users?$filter=mail eq '<address>' (URL-encoded) first and walk /users/{id}/manager. Do not assume the same token can read mail or files.
  • A file behind a sharing link can be read without knowing its drive: base64url-encode the full link (u! prefix, = stripped, /→_, +→-) and read /shares/<id>/driveItem for metadata and /shares/<id>/driveItem/content through the blob download (the file may be label-encrypted OLE, not zip). Reads do not imply write access.

Write Routing

  • Use Microsoft Graph for all writes. Chat-message mentions reject a personal Microsoft account (PersonalMicrosoftAccountUser is not supported in Mentions, HTTP 400); those users are missing from tenant directory lookups and have empty display names in chat members. Post without a real mention and address them by bold @name in the body, or add the mention in the Teams UI, and say so in the report.
  • POST /chats with chatType: oneOnOne for an existing pair returns the existing chat (201 with the old createdDateTime); use its id to post.
  • Treat send, create, update, move, upload, reply, assign, and respond operations as writes.
  • Require explicit confirmation before any write.
  • Keep delete actions disabled by default or behind a stronger confirmation step.

Operating Model

  • This skill is a thin shell.
  • The execution substrate can be a Graph CLI, a self-hosted MCP server, or another Graph gateway.
  • Do not invent endpoints or permissions from memory when an authoritative lookup is available.
  • Keep delegated and application permission flows separate.
  • Prefer least-privileged scopes and minimal projections.

Procedure

  1. Classify the request as common read, gap-read, or write.
  2. For common read, try the WorkIQ route first.
  3. For gap-read or write, identify the target Microsoft Graph surface.
  4. Check the capability, routing, and substrate references before choosing the execution path.
    • raw execution contract
    • permission profiles
    • curated tool catalog
  5. For Microsoft Graph execution, determine:
    • resource area
    • endpoint or tool
    • API version
    • least-privileged permission profile
    • minimal response shape
  6. Before any write, present a concise confirmation summary covering target, action, and payload intent.
  7. Execute through the chosen substrate.
  8. Report the result, including any permission, throttling, or follow-up concerns.

Script Entry Points

Полный SKILL.md на GitHub

Установить microsoft-graph-gateway в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSE.txtassets/accept-event.request.jsonassets/create-event.request.jsonassets/custom-app.env.exampleassets/decline-event.request.jsonassets/list-events.request.jsonassets/read-mail.request.jsonassets/send-mail.request.jsonassets/tentative-event.request.jsonreferences/capability-matrix.mdreferences/curated-tools-first-wave.mdreferences/environment-setup.mdreferences/permission-profiles.mdreferences/prerequisites.mdreferences/raw-execution-contract.mdreferences/routing-and-safety.mdreferences/substrate-selection.mdreferences/troubleshooting.mdscripts/Get-GraphGatewayRunnerStatus.ps1scripts/Install-MsGraphRunner.ps1scripts/Invoke-GraphGateway.ps1scripts/New-GraphEventResponseRequest.ps1scripts/New-GraphGatewayAppConfig.ps1scripts/New-GraphWriteConfirmation.ps1scripts/Test-GraphGatewayScaffold.ps1scripts/get-graph-gateway-runner-status.shscripts/invoke-graph-gateway.shscripts/test-graph-gateway-scaffold.sh

FAQ

Что делает скилл microsoft-graph-gateway?

Route Microsoft Graph work from VS Code. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.

Как установить скилл microsoft-graph-gateway?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл microsoft-graph-gateway запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить microsoft-graph-gateway с