Agent skill

Msgraph Visio

by automateyournetwork in automateyournetwork/netclaw

Upload and retrieve Visio (.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server.

Apache-2.0Auto-check passedDocuments & Office

Install Msgraph Visio

skills CLI
$ npx skills add automateyournetwork/netclaw --skill msgraph-visio -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install automateyournetwork/netclaw msgraph-visio --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/automateyournetwork/netclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/msgraph-visio .claude/skills/msgraph-visio && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
msgraph-visio
GitHub stars
675
Token cost
~1k tokens
SKILL.md length
471 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

Upload and retrieve Visio (.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server.

  • Works in 5 steps: verify-login, and login if needed —… → list-folder-files on the destination… → get-drive-item on the intended filename… → …
  • Publishing a generated topology diagram to OneDrive
  • SKILL.md covers MCP Server, Verified tools, Workflow: publish a generated… and Reading results honestly, plus 3 more sections
  • Calls npx

What it does

Msgraph Visio is an agent skill from automateyournetwork/netclaw. Upload and retrieve Visio (.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server. Use when publishing a generated topology diagram to OneDrive, or fetching an existing .vsdx for reference

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Cloud office suites. It works with Model Context Protocol, Microsoft 365, Microsoft OneDrive and Microsoft SharePoint. The repository describes itself as: An AI agent that claws through your network. The licence is Apache-2.0.

When your agent uses it

  • Publishing a generated topology diagram to OneDrive
  • Fetching an existing .vsdx for reference

Example prompts

  • “/msgraph-visio”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. verify-login, and login if needed — surface the device code, never fabricate a session
  2. list-folder-files on the destination folder — confirm it exists and note existing names
  3. get-drive-item on the intended filename — is this an overwrite? If so, say so and get
  4. upload-file-content with the bytes
  5. Report the resulting item id and path. Do not claim success without the server's response.

What it can do on your machine

Read from SKILL.md and the folder at commit 95bb17e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • npmjs.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Msgraph Visio loads about 1k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 471 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from automateyournetwork/netclaw at commit 95bb17e, republished under its Apache-2.0 licence (© automateyournetwork). 471 words, ~1,000 tokens.

Download SKILL.mdSave it as .claude/skills/msgraph-visio/SKILL.md (or your agent's skills folder).
name
msgraph-visio
description
Upload and retrieve Visio (.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server. Use when publishing a generated topology diagram to OneDrive, or fetching an existing .vsdx for reference
version
2.0.0
license
Apache-2.0
tags
microsoft365, visio, onedrive, diagrams, upload

Microsoft 365 Visio / diagram publishing

MCP Server

  • Package: @softeria/ms-365-mcp-server (MIT)
  • Invocation — deliberately not --read-only, because publishing requires a write:
    npx -y @softeria/ms-365-mcp-server --enabled-tools 'upload-file-content|drive-item|folder-files'
  • Requires: an Entra ID app registration with delegated Files.ReadWrite scope.

Version 2.0.0 replaced a package that did not exist. This skill previously invoked npx -y @anthropic-ai/microsoft-graph-mcp (404 on npm) and documented two graph_* tool names that exist in no server. The tool names below came from the live server.

The filter is mandatory

Unfiltered, the server exposes 188 tools at ~225,355 tokens — 45× the 5,000-token ceiling. Keep the filter as narrow as the task allows.

This invocation can write — treat it accordingly

--read-only is omitted here on purpose, which makes this the one M365 surface that changes remote state. Under Principle III a write to a system of record is gated: confirm the target path and filename with the operator before uploading, and never overwrite an existing item without saying so first. Use msgraph-files for anything that only needs reading.

Verified tools

ToolWhat it does
upload-file-contentwrite file bytes to a drive path — the write
get-drive-itemmetadata for one item, to check whether you are about to overwrite
list-folder-filesfolder contents, to confirm the destination exists
login / verify-logindevice-code sign-in and session state

There are no graph_* tools, and there is no Visio rendering or conversion tool. This surface moves files; it does not open or edit Visio documents.

Workflow: publish a generated diagram

  1. verify-login, and login if needed — surface the device code, never fabricate a session
  2. list-folder-files on the destination folder — confirm it exists and note existing names
  3. get-drive-item on the intended filename — is this an overwrite? If so, say so and get confirmation before proceeding
  4. upload-file-content with the bytes
  5. Report the resulting item id and path. Do not claim success without the server's response.

Produce the .vsdx itself with document-generation or a diagram skill; this skill only publishes what already exists on disk.

Show full SKILL.md (151 more words)Show less

Reading results honestly

  • An upload confirms transfer, not correctness. That the bytes landed says nothing about whether the diagram is accurate.
  • A failed upload can leave a partial item depending on size and session; re-check with get-drive-item rather than assuming a clean failure.
  • There is no rename or delete here — the filter excludes them deliberately. Fixing a bad filename is an operator action in the web UI.

Not verified

Tool names and manifest cost are measured; no upload has been performed. That needs an M365 tenant with write scope, which this environment does not have. The write path is correct-by-construction and unproven.

Integration with Other Skills

SkillHow They Work Together
msgraph-filesRead-only inspection — prefer it whenever you are not writing
document-generation, drawio-diagram, uml-diagramProduce the file this publishes
gait-session-trackingRecord every upload: path, filename, item id

Environment Variables

  • MS365_MCP_CLIENT_ID — Entra ID app registration (client) ID
  • MS365_MCP_TENANT_ID — tenant ID, or common

© automateyournetwork, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workspace/skills/msgraph-visio of automateyournetwork/netclaw.

Open the folder on GitHubat commit 95bb17e

Compare with similar skills

Msgraph Visio next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Msgraph Visio compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Msgraph Visio this skillautomateyournetwork/netclaw675—~1kAutomated safety check: PassApache-2.0
Workiqmicrosoft/work-iq1k—~15kAutomated safety check: PassCustom licence
Add Workiqmicrosoft/power-platform-skills972—~5.6kAutomated safety check: NotesMIT
Msgraphcodemie-ai/codemie-code294—~4.1kAutomated safety check: PassApache-2.0
aai-cli Microsoft 365aai-labs/agent-barn109—~1.2kAutomated safety check: PassApache-2.0
Workiq Previewmicrosoft/work-iq1k—~3.3kAutomated safety check: PassCustom licence

Similar skills

  • Workiq

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~15k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Add Workiq

    microsoft/power-platform-skills

    Official

    Adds Work IQ (M365 Copilot Search) to a Power Apps code app via the Work IQ Copilot MCP connector (shareda365copilotchatmcp), then wires up a production-ready McpSession wrapper for AI-powered…

    972 GitHub stars~5.6k tokensUpdated today
    Documents & OfficeAuto-check: notes
  • Msgraph

    codemie-ai/codemie-code

    Work with Microsoft 365 services via the Graph API — emails, calendar events, SharePoint sites (read and write), Teams chats and channel messages, OneDrive files, OneNote notebooks, Planner task…

    294 GitHub stars~4.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • aai-cli Microsoft 365

    aai-labs/agent-barn

    Guides work with Outlook, OneDrive, SharePoint, Teams, Excel, To Do and Planner through aai-cli's Microsoft Graph commands, starting from which service owns the data.

    109 GitHub stars~1.2k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Workiq Preview

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~3.3k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Microsoft 365

    HybridAIOne/hybridclaw

    Read Microsoft 365 data through Microsoft Graph: Outlook mail/calendar, OneDrive/SharePoint files, Teams, chats, and user profile.

    158 GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed

More from automateyournetwork/netclaw

All 120 skills in this repo
  • EVE-NG Lab Topology Design

    automateyournetwork/netclaw

    Entry point for designing EVE-NG network labs: classifies the request, gathers missing requirements, proposes options and validates the resulting topology.

    675 GitHub stars~612 tokensUpdated 2 days ago
    Auto-check passed
  • ACI Policy Change Deployment

    automateyournetwork/netclaw

    Deploys Cisco ACI policy changes only behind an approved ServiceNow Change Request, capturing pre and post-change fault baselines and rolling back automatically on a fault delta.

    675 GitHub stars~4.2k tokensUpdated 2 days ago
    Auto-check passed
  • Cisco ACI Fabric Health Audit

    automateyournetwork/netclaw

    Runs a phased health audit of a Cisco ACI fabric through MCP tools: node status, links, tenant and policy review, faults and endpoint learning.

    675 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed
  • Anta Validation

    automateyournetwork/netclaw

    Validate Arista EOS network state against ANTA's pre-built 208-test catalogue, with structured pass/fail verdicts.

    675 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Arista Cvp

    automateyournetwork/netclaw

    Arista CloudVision Portal (CVP) automation via REST API — device inventory, events, connectivity monitoring, tag management (4 tools).

    675 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check: notes
  • AWS Cloud Monitoring

    automateyournetwork/netclaw

    AWS CloudWatch monitoring — metrics, alarms, log queries, VPC flow log analysis, network performance.

    675 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed

Questions about Msgraph Visio

What does Msgraph Visio do?

Upload and retrieve Visio (.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server. Msgraph Visio is an agent skill from automateyournetwork/netclaw.vsdx) and other diagram files in OneDrive/SharePoint via the Microsoft 365 MCP server.

When should I use Msgraph Visio?

Msgraph Visio fits situations like: publishing a generated topology diagram to OneDrive; fetching an existing .vsdx for reference.

How do I install Msgraph Visio in Claude Code?

Run `npx skills add automateyournetwork/netclaw --skill msgraph-visio -a claude-code`. Or copy the skill folder (workspace/skills/msgraph-visio in automateyournetwork/netclaw) into .claude/skills/msgraph-visio in your project. Claude Code loads it when a task matches its description.

How do I install Msgraph Visio in Codex?

Run `npx skills add automateyournetwork/netclaw --skill msgraph-visio -a codex`. Or copy the skill folder (workspace/skills/msgraph-visio in automateyournetwork/netclaw) into .agents/skills/msgraph-visio in your project. Codex loads it when a task matches its description.

Can I use Msgraph Visio in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add automateyournetwork/netclaw --skill msgraph-visio -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/msgraph-visio, .gemini/skills/msgraph-visio, .github/skills/msgraph-visio and .opencode/skills/msgraph-visio in your project.

What does Msgraph Visio need to run?

Going by SKILL.md and its folder, Msgraph Visio needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Msgraph Visio access the network?

SKILL.md names 1 domain. As links in the text: npmjs.com. This is read from the text; nothing was executed.

Is Msgraph Visio safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Msgraph Visio use?

Msgraph Visio is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Msgraph Visio use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Msgraph Visio?

Skills that share tags, products or a category with Msgraph Visio: Workiq (microsoft/work-iq, 1k stars), Add Workiq (microsoft/power-platform-skills, 972 stars), Msgraph (codemie-ai/codemie-code, 294 stars) and aai-cli Microsoft 365 (aai-labs/agent-barn, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Msgraph Visio?

automateyournetwork (a GitHub user) maintains it in automateyournetwork/netclaw, which has 675 GitHub stars. The repository holds 120 skills in this directory. The repository was last updated on October 5, 2026.

Source: automateyournetwork/netclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.