canvas

canvas is a skill for Claude Code, Codex from aivrar/portable-hermes-agent. It costs 12 tokens per session (836 once invoked), scanned A, a copy of canvas, MIT.

A read-only connector for Canvas, a learning-management system used by schools and universities, that lists courses and assignments.

In plain words
What is it for?
Use it to list active or all courses and retrieve assignments for a selected course, optionally ordered by due date.
Why use it?
It saves you from manually opening Canvas and searching through courses to find assignment information.

Skill for Claude CodeCodex

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

Good fit Use it to list active or all courses and retrieve assignments for a selected course, optionally ordered by due date.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/canvas"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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 100% copy Near-identical to another mod 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.00012 $0.00836
Opus 5 $0.00006 $0.00418
Sonnet 5 $0.00002 $0.00167
Haiku 4.5 $0.00001 $0.00084

Measured 6d ago against content hash e2335a4e635a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

canvas 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/canvas_api.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.

Makes network callslowCapability

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

## API Reference (curl)
Origin

This is a copy

100% identical to canvas — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

optional-skills/productivity/canvas/SKILL.md · 99 lines

How it starts

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

Canvas LMS — Course & Assignment Access

Read-only access to Canvas LMS for listing courses and assignments.

Scripts

  • scripts/canvas_api.py — Python CLI for Canvas API calls

Setup

  1. Log in to your Canvas instance in a browser
  2. Go to Account → Settings (click your profile icon, then Settings)
  3. Scroll to Approved Integrations and click + New Access Token
  4. Name the token (e.g., "Hermes Agent"), set an optional expiry, and click Generate Token
  5. Copy the token and add to ${HERMES_HOME:-~/.hermes}/.env:
CANVAS_API_TOKEN=your_token_here
CANVAS_BASE_URL=https://yourschool.instructure.com

The base URL is whatever appears in your browser when you're logged into Canvas (no trailing slash).

Usage

CANVAS="python $HERMES_HOME/skills/productivity/canvas/scripts/canvas_api.py"

# List all active courses
$CANVAS list_courses --enrollment-state active

# List all courses (any state)
$CANVAS list_courses

# List assignments for a specific course
$CANVAS list_assignments 12345

# List assignments ordered by due date
$CANVAS list_assignments 12345 --order-by due_at

Output Format

list_courses returns:

[{"id": 12345, "name": "Intro to CS", "course_code": "CS101", "workflow_state": "available", "start_at": "...", "end_at": "..."}]

list_assignments returns:

[{"id": 67890, "name": "Homework 1", "due_at": "2025-02-15T23:59:00Z", "points_possible": 100, "submission_types": ["online_upload"], "html_url": "...", "description": "...", "course_id": 12345}]

Note: Assignment descriptions are truncated to 500 characters. The html_url field links to the full assignment page in Canvas.

API Reference (curl)

# List courses
curl -s -H "Authorization: Bearer $CANVAS_API_TOKEN" \
  "$CANVAS_BASE_URL/api/v1/courses?enrollment_state=active&per_page=10"

# List assignments for a course
curl -s -H "Authorization: Bearer $CANVAS_API_TOKEN" \
  "$CANVAS_BASE_URL/api/v1/courses/COURSE_ID/assignments?per_page=10&order_by=due_at"

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file 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. 6d ago First seen · 99 lines · 12 tokens per session scan A e2335a4e635a

Subscribe to this mod's changes

canvas is a skill published in the GitHub repository aivrar/portable-hermes-agent (217 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 836 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to canvas, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

geography-classroom

A visual teaching guide for middle-school geography, combining photographs, maps, cross-sections, contour lines, diagrams, and explanatory text. It treats those visuals as evidence for understanding landforms and regions.

arcsin1/oh-my-ppt · 0 tokens

sage-academia

A visual style guide for clear, light academic presentations, using sage green and blue-grey colours with images, charts, diagrams, and structured layouts. It is aimed at presenting research as evidence rather than as plain text alone.

arcsin1/oh-my-ppt · 0 tokens

soft-pastel

A soft pastel style using warm yellow, pink, and pale blue gradients, rounded cards, gentle borders, friendly type, and diffused light.

arcsin1/oh-my-ppt · 0 tokens

solarized-light

A light visual style based on the Solarized color palette: warm paper-like backgrounds, muted blue-green text, gentle borders, comfortable spacing, and clear but restrained accents.

arcsin1/oh-my-ppt · 0 tokens

red-research-framework

A visual framework for presenting teaching and research topics in Chinese, using connected modules and clear paths. It focuses on explaining how ideas relate rather than on decoration.

arcsin1/oh-my-ppt · 0 tokens

with-scripts

Bundled Gmail CLI example demonstrating the scripts/ entrypoint + src/ implementation split. Use as a template when your course ships real code that goes beyond a single shell script. Shows how to organize a course bundle that owns its codebase — no runtime package installation, all dependencies stdlib-only. Replaces…

nicolasmelo1/logion · 79 tokens