canvas-course-builder

canvas-course-builder is a skill for Claude Code, Codex from iblai/api. It costs 194 tokens per session (2,679 once invoked), scanned A, original, MIT.

A tool for building and filling Canvas LMS courses through its web API. Canvas is a system schools use to manage online courses, lessons, assignments and students.

In plain words
What is it for?
Use it to create course structures, lessons, assignments, quizzes and discussions, upload files, manage sections and enrollments, or seed and copy courses from a specification.
Why use it?
Creating a complete course requires many separate resources, publishing settings and careful ordering, so manual API work is easy to get wrong.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create course structures, lessons, assignments, quizzes and discussions, upload files, manage sections and enrollments, or seed and copy courses from a specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iblai/api/canvas-course-builder
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 iblai/api --skill canvas-course-builder
Clone the repo
git clone --depth 1 https://github.com/iblai/api

Made for: Claude Code, Codex.

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-course-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/iblai/api/canvas-course-builder/github.svg)](https://agentmods.dev/skills/iblai/api/canvas-course-builder)
Your own site
<a href="https://agentmods.dev/skills/iblai/api/canvas-course-builder"><img src="https://agentmods.dev/badge/skills/iblai/api/canvas-course-builder/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-course-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/iblai/api/canvas-course-builder"><img src="https://agentmods.dev/badge/skills/iblai/api/canvas-course-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,679 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 120
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00194 $0.02679
Opus 5.5 $0.00078 $0.01072
Sonnet 5.5 $0.00039 $0.00536
Haiku 4.5 $0.00019 $0.00268

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

Security

Grade A, and why

canvas-course-builder scanned grade A with 0 findings 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/build_course.py, scripts/canvas_client.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/canvas-course-builder/SKILL.md · 196 lines

How it starts

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

Building Canvas courses via the API

Canvas has no "create a whole course" endpoint. A course is assembled from a dozen independent resources, each with its own publish state, and the API will happily let you build something that looks complete in the admin view and is entirely invisible to students. Most of the difficulty in this task is ordering, publish state, and idempotency — not the individual HTTP calls.

Before touching the API

Three things to establish first, because getting them wrong is expensive:

  1. Which instance and whose token. Read CANVAS_API_URL (e.g. https://school.instructure.com) and CANVAS_API_TOKEN from the environment. Never put a token in a file you write, in a command line that lands in shell history, or in anything you show back to the user. If they paste a token into the conversation, use it from an env var you set and mention that they should rotate it afterwards.

  2. Confirm identity and permissions before writing anything. GET /api/v1/users/self tells you who the token belongs to; GET /api/v1/accounts tells you which accounts they can create courses in (an empty list means teacher-level access — they can populate existing courses but not create new ones, which changes the whole plan). Do this even when the user seems certain, because a token scoped to the wrong sub-account fails halfway through a build and leaves debris.

  3. Is this production? Creating course content is not reversible in a satisfying way — deleted objects linger, notifications fire, students see things. Ask which course or sub-account to build in, and prefer a sandbox sub-account or a test course for the first run. If the user is clearly iterating on a script, suggest they point it at a throwaway course first.

The build order that works

Dependencies run one direction. Follow this and you never have to backfill an ID:

1. Course shell            POST /accounts/:id/courses            (leave unpublished)
2. Sections                POST /courses/:id/sections
3. Assignment groups       POST /courses/:id/assignment_groups   (assignments need these)
4. Files                   3-step upload (see references/recipes.md)
5. Pages                   POST /courses/:id/pages
   Assignments             POST /courses/:id/assignments
   Discussions             POST /courses/:id/discussion_topics
   Quizzes + questions     POST /courses/:id/quizzes then .../questions
6. Modules                 POST /courses/:id/modules
7. Module items            POST /courses/:id/modules/:mid/items  (needs IDs from step 5)
8. Front page / syllabus   PUT  /courses/:id/front_page, PUT /courses/:id
9. Enrollments             POST /courses/:id/enrollments
10. Publish everything     modules → then the course itself

Read the full file on GitHub · 196 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 196 lines · 194 tokens per session scan A d0c0d8752169

Subscribe to this mod's changes

canvas-course-builder is a skill published in the GitHub repository iblai/api (15 stars, last pushed 2mo ago), licensed MIT. It adds 194 tokens to every session and 2,679 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

canvas-course-builder compared with skills from other repositories

canvas-course-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canvas-course-builderiblai/apiSkill152mo agoMITA194Claude Code, Codex
jupyter-notebookulises-jeremias/agent-toolkitSkill28yesterdayMITA61Claude Code
onboardingulises-jeremias/agent-toolkitSkill28yesterdayMITA54Claude Code
note-writingrootcastleco/rei-skillsSkill11yesterdaynoneA56Claude Code, Codex
lessonahamedzoha/atelierSkill35mo agoMITA56Claude Code
explainermarswaveai/skillsSkill83yesterdayMITA56Claude Code, Codex
lov-subtitle-freedomlovstudio/skillsSkill72yesterdayMITA25Claude Code, Codex