microsoft-todo
Installation
SKILL.md
Drive Microsoft To Do via Microsoft Graph with curl + jq. The user's OAuth
bearer token is in $MICROSOFT_TODO_TOKEN; every call needs
Authorization: Bearer $MICROSOFT_TODO_TOKEN. Base URL:
https://graph.microsoft.com/v1.0.
Failures are {"error":{"code","message"}} — show message verbatim. 401
means the token expired (re-install). 403/ErrorAccessDenied on a write means
the user only granted Tasks.Read → ask them to re-connect with read+write.
G="https://graph.microsoft.com/v1.0"; AUTH="Authorization: Bearer $MICROSOFT_TODO_TOKEN"
# Task lists
curl -sS -H "$AUTH" "$G/me/todo/lists" | jq '.value[] | {id, displayName, wellknownListName}'