canvas-cli for Openclaw

A comprehensive command-line interface for managing Canvas LMS data, including courses, grades, assignments, and file submissions.

jpnarchi
v1.0.0
Feb 24, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install canvascli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install canvascli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is canvas-cli?

canvas-cli is a powerful utility designed to bring the functionality of the Canvas Learning Management System (LMS) directly into a terminal environment. As a key component for users looking to expand their Openclaw Skills, this tool enables seamless interaction with academic data without the overhead of a web browser. It provides a structured way to navigate courses, view users, and manage course content.

By integrating this skill into your workflow, you gain the ability to handle complex SAML SSO authentication with TOTP support. The tool is optimized for efficiency, caching sessions locally to ensure that subsequent interactions are fast and friction-free. It is an essential asset for developers and students who want to automate or streamline their educational tasks using Openclaw Skills.

canvas-cli Use Cases

  • Monitoring course grades and academic progress with color-coded visual cues.
  • Submitting assignments as text or URLs directly from a coding environment.
  • Managing academic schedules by viewing upcoming, missing, or todo items.
  • Downloading course files and navigating module structures for offline access.
  • Participating in course discussions and reading announcements via the command line.

How canvas-cli Works

  1. The user initializes the tool by configuring the Canvas LMS instance details.
  2. Primary authentication is performed via SAML SSO, including TOTP verification where required.
  3. A secure session cookie is cached locally in the user's home directory to facilitate future requests.
  4. Commands are executed to query the Canvas API for specific resources like courses, assignments, or grades.
  5. The tool processes the API response, applying formatting for human readability or piping raw JSON for programmatic use.

canvas-cli Setup

To integrate this tool with your Openclaw Skills, perform the initial setup and verify your identity using the following commands:

canvas-cli configure
canvas-cli whoami

Configuration is stored securely at ~/.canvas-cli/config.json with restricted file permissions.

canvas-cli Data Schema & Taxonomy

The skill organizes Canvas LMS data into several logical categories for easy access:

Data Type Description Key Fields
Courses List of enrolled or managed courses Course ID, Name, User List
Assignments Specific tasks and submission requirements Assignment ID, Due Date, Status
Grades Performance metrics across courses Current Score, Letter Grade (Color-coded)
Content Modules, files, and discussions File ID, Module Items, Discussion Replies
Metadata Local configuration and session state SSO Cookies, API Endpoint, Pagination Settings

canvas-cli Advanced Features

  • Scripting support via the --json flag, allowing for integration with other Openclaw Skills.
  • Advanced pagination control using the --per-page parameter for large datasets.
  • Automated session management that minimizes the need for repeated 2FA prompts.
  • Human-readable file size conversion and color-coded status highlighting for better UX.
  • Comprehensive debugging capabilities with dedicated login troubleshooting commands.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*