canvas-api

canvas-api is a skill for Claude Code from a-ariff/ariff-claude-plugins. It costs 7 tokens per session (988 once invoked), scanned A, original, MIT.

A connection guide for Canvas LMS, a learning-management system used to organize courses, assignments, grades, discussions, quizzes, and announcements.

In plain words
What is it for?
Use it to list courses and modules, check assignments and deadlines, view grades and submissions, and retrieve discussions, announcements, and quizzes.
Why use it?
It explains how to access course information through the Canvas API, avoiding the need to work out the connection and available operations from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the canvas-api plugin — 1 skill shipped together

Good fit Use it to list courses and modules, check assignments and deadlines, view grades and submissions, and retrieve discussions, announcements, and quizzes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a-ariff/ariff-claude-plugins/canvas-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add a-ariff/ariff-claude-plugins --skill canvas-api
Clone the repo
git clone --depth 1 https://github.com/a-ariff/ariff-claude-plugins

Made for: Claude Code.

Or install canvas-api, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for canvas-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/a-ariff/ariff-claude-plugins/canvas-api/github.svg)](https://agentmods.dev/skills/a-ariff/ariff-claude-plugins/canvas-api)
Your own site
<a href="https://agentmods.dev/skills/a-ariff/ariff-claude-plugins/canvas-api"><img src="https://agentmods.dev/badge/skills/a-ariff/ariff-claude-plugins/canvas-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for canvas-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/a-ariff/ariff-claude-plugins/canvas-api"><img src="https://agentmods.dev/badge/skills/a-ariff/ariff-claude-plugins/canvas-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 988 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00007 $0.00988
Opus 5.5 $0.00003 $0.00395
Sonnet 5.5 $0.00001 $0.00198
Haiku 4.5 $0.00001 $0.00099

Measured 3mo ago against content hash 96f8cd0c26e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

canvas-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Bearer $CANVAS_TOKEN" \
plugins/canvas-api/skills/canvas-api/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Canvas API Connection Skill

Complete guide to connecting and using Canvas LMS API for Whitecliffe courses.

Quick Reference

Item Value
User ID 2396
User Name Mohamed Abdul Latiff (Ariff)
Canvas URL https://learn.mywhitecliffe.com
MCP Server canvas-mcp-sse.ariff.dev

Current Courses (2025)

Course ID Code
Applied Project 2366 IT8107
Cybersecurity Architecture 2368 IT8109

Connection Methods

Method 1: Canvas MCP (Recommended)

The Canvas MCP server is already configured and provides 12 tools:

Course Tools:

  • get_courses - List all enrolled courses
  • get_modules - Get course modules

Assignment Tools:

  • get_assignments - List assignments for a course
  • get_upcoming_assignments - Next 7 days deadlines

Grade Tools:

  • get_grades - Current grades for a course
  • get_submissions - Submission details

Discussion Tools:

  • get_discussion_topics - List discussions
  • get_announcements - Course announcements

Quiz Tools:

  • get_quizzes - List quizzes
Example Usage
# Get all courses
mcp__canvas-mcp__get_courses()

# Get assignments for IT8107
mcp__canvas-mcp__get_assignments(course_id=2366)

# Check grades
mcp__canvas-mcp__get_grades(course_id=2366)

# Get upcoming deadlines
mcp__canvas-mcp__get_upcoming_assignments()

Method 2: Direct API

For custom integrations or when MCP is unavailable:

Base URL: https://learn.mywhitecliffe.com/api/v1

Authentication:

# Store token securely (never commit!)
export CANVAS_TOKEN="your-token-here"

# API request
curl -H "Authorization: Bearer $CANVAS_TOKEN" \
     "https://learn.mywhitecliffe.com/api/v1/courses"

Common Endpoints:

Endpoint Description
/courses List courses
/courses/:id/assignments Course assignments
/courses/:id/grades Course grades
/courses/:id/modules Course modules
/users/self/upcoming_events Upcoming events

Read the full file on GitHub · 168 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 168 lines · 7 tokens per session scan A 96f8cd0c26e7

Subscribe to this mod's changes

canvas-api is a skill published in the GitHub repository a-ariff/ariff-claude-plugins (14 stars, last pushed 8mo ago), licensed MIT. It adds 7 tokens to every session and 988 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

canvas-api compared with skills from other repositories

canvas-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canvas-apia-ariff/ariff-claude-pluginsSkill148mo agoMITA7Claude Code
agent-challengesruvnet/rufloSkill83ktodayMITA15Claude Code
founder-coachalirezarezvani/claude-skillsSkill31kyesterdayMITA41Claude Code
cs-onboardalirezarezvani/claude-skillsSkill31kyesterdayMITA47Claude Code
academic-paper-reviewerzebbern/claude-code-guideSkill4.7ktodayMITA61Claude Code, Codex
dev-guide-generatorzebbern/claude-code-guideSkill4.7ktodayMITB59Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k17d agoMITA162Claude Code, Codex