M365 Graph Query
Apps & Automationm365-graph-queryM365 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/rcarmo/piclaw/blob/HEAD/runtime/extensions/experimental/m365/skills/m365-graph-query/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/m365-graph-query, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
M365 Graph Query
Use this skill when you need to query the Microsoft Graph REST API directly.
Workflow
- Build a narrow path with
$selectand$topwhen applicable. - Execute the query via the
m365_graph_querytool. - Return a compact JSON summary plus the key fields.
Guardrails
- Always bound result size with
$top. - Prefer
v1.0unlessbetais explicitly needed. - Avoid broad tenant-wide queries without user confirmation.