canvas-lms
by pranavkarthik10
CLI UtilitiesBrief
Access Canvas LMS (Instructure) for course data, assignments.
Description
What This Skill Does
Connects to Canvas LMS (by Instructure) via its REST API to read course data, assignments, grades, and submissions. Supports querying due dates, missing work, announcements, files, and inbox messages.
Querying Canvas via API lets you pull and combine data across multiple courses in a single call, rather than navigating each course separately in the web interface.
When to Use It
- Check which assignments are due this week
- Find missing or overdue submissions before a deadline
- Look up current grade scores across enrolled courses
- Browse course files and module content
- Read recent course announcements
Example Workflow
User asks: What assignments do I have due this week?
- 1
Authenticate using CANVAS_TOKEN against the configured CANVAS_URL
- 2
Fetch upcoming events from /api/v1/users/self/upcoming_events
- 3
Fetch to-do items from /api/v1/users/self/todo
- 4
Parse assignment names, course names, and due dates from the responses
- 5
Return assignments sorted by due date
A sorted list of upcoming assignments with course names and due dates
Requirements
- CANVAS_TOKEN environment variable (generated in Canvas: Account -> Settings -> New Access Token)
- CANVAS_URL environment variable (your institution's Canvas domain, e.g. https://your-school.instructure.com)
Installation
clawhub install pranavkarthik10/canvas-lmsRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.