canvas

Fetch Canvas courses and assignments via REST API with pagination and JSON output.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/dawsonblock/HERMY --skill canvas-dawsonblock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canvas
Source: https://github.com/dawsonblock/HERMY/tree/main/hermes-agent-2026.4.23/optional-skills/productivity/canvas
Command: npx skills add https://github.com/dawsonblock/HERMY --skill canvas-dawsonblock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Retrieve read-only Canvas data (courses and assignments) via an API token to feed Hermes workflows, dashboards, or audits without modifying Canvas data.

Core Features & Use Cases

  • Read-only Canvas access: List active courses for a user with essential metadata such as id, course_code, and dates.
  • Assignments visibility: Retrieve assignments for a given course with due dates and helpful links for planning and reporting.
  • Use Case: Populate a Hermes dashboard with a user's current courses and upcoming assignments to support planning and monitoring.

Quick Start

Configure CANVAS_API_TOKEN and CANVAS_BASE_URL, then run the canvas CLI to list_courses or list_assignments to fetch data from Canvas.

Frequently Asked Questions about canvas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Canvas courses and assignments using an API token?

You can fetch Canvas courses and assignments by configuring your CANVAS_API_TOKEN and CANVAS_BASE_URL environment variables. The tool uses these credentials to execute REST API calls, handling pagination automatically to return formatted JSON output of your active courses and upcoming assignments.

Can I retrieve Canvas LMS data read-only without modifying my courses?

Yes, retrieving Canvas LMS data read-only is the primary function, ensuring your courses and assignments are never modified. It provides read-only access to list active courses and retrieve assignments with due dates, making it safe for populating dashboards and running audits.

What do I need to set up before querying Canvas API courses and assignments?

You need to set up two environment variables, CANVAS_API_TOKEN and CANVAS_BASE_URL, before querying Canvas API courses and assignments. You must generate a valid API token from your Canvas LMS account to authenticate the REST API requests successfully.

Does Canvas API pagination get handled automatically when listing assignments?

Yes, Canvas API pagination is handled automatically when listing assignments and courses. The script manages pagination logic internally during the REST API calls, ensuring all relevant assignment data across multiple pages is retrieved and consolidated into a single JSON output.

What is the best way to integrate active Canvas courses into a dashboard?

The best way to integrate active Canvas courses into a dashboard is using a script that executes REST API calls with your Canvas API token. It retrieves essential course metadata like id, course_code, and dates, outputting formatted JSON ready for dashboard integration.