# M365 Graph Query

> M365 Graph Query is an Agent Skill for apps & automation published in the rcarmo/piclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run targeted Microsoft Graph queries across mail, calendar, users, and files.

- Skill name: `m365-graph-query`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/rcarmo/piclaw/blob/HEAD/runtime/extensions/experimental/m365/skills/m365-graph-query/SKILL.md
- Repository: rcarmo/piclaw (792 GitHub stars when collected)

## SKILL.md

# 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.

---

Source: https://www.openparable.com/skill/apps-automation/m365-graph-query (OpenParable). Cite the canonical URL above.
