m365-graph-query

m365-graph-query is a skill for Claude Code, Codex from rcarmo/piclaw-addons. It costs 21 tokens per session (138 once invoked), scanned A, original, MIT.

A way to query Microsoft Graph, Microsoft's interface for accessing data from services such as email, calendars, users, and files. It runs focused queries and returns a compact summary.

In plain words
What is it for?
Use it to retrieve selected emails, calendar events, user records, or files from Microsoft 365.
Why use it?
It avoids manually searching Microsoft 365 services or requesting unnecessarily large amounts of data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve selected emails, calendar events, user records, or files from Microsoft 365.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rcarmo/piclaw-addons/m365-graph-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rcarmo/piclaw-addons --skill m365-graph-query
Clone the repo
git clone --depth 1 https://github.com/rcarmo/piclaw-addons

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for m365-graph-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/m365-graph-query/github.svg)](https://agentmods.dev/skills/rcarmo/piclaw-addons/m365-graph-query)
Your own site
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/m365-graph-query"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/m365-graph-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for m365-graph-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/m365-graph-query"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/m365-graph-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00138
Opus 5 $0.00010 $0.00069
Sonnet 5 $0.00004 $0.00028
Haiku 4.5 $0.00002 $0.00014

Measured 9d ago against content hash ec14b9d739c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

m365-graph-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

addons/m365/skills/m365-graph-query/SKILL.md · 22 lines

What it actually says

M365 Graph Query

Use this skill when you need to query the Microsoft Graph REST API directly.

Workflow

  1. Build a narrow path with $select and $top when applicable.
  2. Execute the query via the m365_graph_query tool.
  3. Return a compact JSON summary plus the key fields.

Guardrails

  • Always bound result size with $top.
  • Prefer v1.0 unless beta is explicitly needed.
  • Avoid broad tenant-wide queries without user confirmation.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 22 lines · 21 tokens per session scan A ec14b9d739c6

Subscribe to this mod's changes

m365-graph-query is a skill published in the GitHub repository rcarmo/piclaw-addons (23 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 138 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

workflow

Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or…

vercel-labs/open-agents · 74 tokens

blind-sqli

Blind SQL injection under hostile WAF — manual bypass playbook for when sqlmap fails because common tokens (SUBSTRING, IF, AND, WHERE, single quotes) are filtered. Covers token-fingerprinting probe loops, arithmetic-multiplication boolean evaluation, hex-encoded literals, and exponential-probe binary search. Loaded on…

PurpleAILAB/Decepticon · 88 tokens

race-condition

Race condition / TOCTOU exploitation — concurrent and parallel-request attacks against web applications that check then act, write session state before validating it, or perform slow operations that widen the race window. Covers single-endpoint races (double-spend, coupon abuse, balance overflow) and multi-endpoint…

PurpleAILAB/Decepticon · 80 tokens

groq-inference

Ultra-fast LLM inference on custom LPU hardware. OpenAI-compatible API at api.groq.com. Lowest latency in the industry (500-1000+ tok/s). Supports chat completions, vision, audio (Whisper STT + TTS), tool calling, JSON mode, and streaming. Free tier available. Inference only — no training.

synthetic-sciences/openscience · 77 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens