Skip to main content
skill CX Codex

canvas-lms-api — Claude Code skill: what it does, how to install

The canvas-lms-api skill guides Python work with the Canvas LMS REST API, from updating course modules and pages to uploading files. Use it to build or troubleshoot course content sync scripts.

no license ★ 165 updated 2026-08-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill canvas-lms-api -a claude-code
Open on GitHub

What canvas-lms-api does

The skill is a reference for using Python to manage course content through the Canvas LMS REST API. It covers creating and editing modules and pages, uploading files, and placing those files in modules. Its examples also describe syncing local HTML content against a course structure configuration.

The patterns use API requests authenticated with an access token and course ID. Before creating an object, the examples check whether it already exists, which helps avoid duplicates on repeated runs. List requests need pagination handling. For a page module item, pass its slug as page_url; using content_id causes the operation to fail silently.

Canvas access requires a domain, course ID, and API token. The examples keep credentials in config.py and warn against committing that file to GitHub. They create modules and pages as unpublished, so publication status matters when adapting the patterns.

What it helps with

  • create or update course modules through the API
  • sync local HTML pages with Canvas
  • upload files and attach them to a module
  • retrieve paginated API results

Example prompts for the agent

  • Write a Python script to sync my course's HTML pages with Canvas LMS.
  • Add the uploaded files to the right module, checking for existing items first.
  • Handle pagination when fetching modules through the Canvas API.

How to install canvas-lms-api

1Skills CLI (Vercel)

npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill canvas-lms-api -a claude-code

2Manually: put the files in place

~/.claude/skills/canvas-lms-api/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/canvas-lms-api/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about canvas-lms-api

How do I install canvas-lms-api in Claude Code?

Run npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill canvas-lms-api -a claude-code, then use ~/.claude/skills/canvas-lms-api/SKILL.md.

What does canvas-lms-api do?

It guides Python work with the Canvas LMS REST API, including course modules, pages, file uploads, and content sync scripts.

Which field links a page to a Canvas module?

Use page_url with the page slug for an item of type Page. The examples warn that content_id fails silently for pages.

Similar skills

All skills for Backend and APIs →

From the same set17

The whole set →
beamer-check beamer-check compiles a Beamer deck, reviews every rendered slide, then repairs the overflows, broken figures and blank frames it turns up. CX Codex +1 ★ 165repo stars script-registry script-registry maintains an R Markdown script catalog across academic projects, tracks data dependencies, and prevents duplicate analysis files. CX Codex +1 ★ 165repo stars spin-up The spin-up skill gathers project context before a coding session, including Git state and notes from recent work. Use it to pick up where the last session stopped. CX Codex +1 ★ 165repo stars wrap-up Automatically saves everything you did in a session before moving to the next one. Triggers on 'wrap up' or similar cues — creates session logs, updates project notes, saves changes to Git. CX Codex +1 ★ 165repo stars data-profiler data-profiler enforces a structured R exploratory protocol for empirical datasets. It verifies observation units, missing patterns, and panel structure before any regression runs. CX Codex +1 ★ 165repo stars top5-framing top5-framing is a Claude Code skill that assesses how broadly an economics or finance paper’s argument reaches. It activates for draft reviews and reframing abstracts, introductions, or journal pitches. CX Codex +1 ★ 165repo stars glossary A per-project dictionary in GLOSSARY.md covering definitions, abbreviations and command phrases the agent carries out on a single word. CX Codex +1 ★ 165repo stars code-sweep code-sweep audits research code folders against paper figures, tables, and raw data before paper submission. It flags inconsistencies and proposes confirmed fixes one by one. CX Codex +1 ★ 165repo stars

Project sponsors

Companies that keep this analytics open