canvas-quiz

canvas-quiz is a skill for Claude Code from 98ping/chip. It costs 117 tokens per session (1,000 once invoked), scanned A, original, MIT.

A workflow for reading and completing a Canvas Classic Quiz, an online quiz built into the Canvas learning system, while stopping before submission. It finds the quiz, opens the attempt, records the questions, and fills answers when approved.

In plain words
What is it for?
Use it to locate a quiz, inspect its questions, save them for reference, enter answers, and stop without submitting.
Why use it?
It helps avoid confusing a Canvas quiz with an external MyOpenMath assignment and keeps irreversible actions under the user's control. It checks attempt limits and timing before opening an attempt.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to locate a quiz, inspect its questions, save them for reference, enter answers, and stop without submitting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/98ping/chip/canvas-quiz
View source ↗ 98ping/chip
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 98ping/chip --skill canvas-quiz
Clone the repo
git clone --depth 1 https://github.com/98ping/chip

Made for: Claude Code.

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-quiz

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/98ping/chip/canvas-quiz"><img src="https://agentmods.dev/badge/skills/98ping/chip/canvas-quiz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,000 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.
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.00117 $0.01000
Opus 5.5 $0.00047 $0.00400
Sonnet 5.5 $0.00023 $0.00200
Haiku 4.5 $0.00012 $0.00100

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

Security

Grade A, and why

canvas-quiz 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 1mo 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.

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.

.claude/skills/canvas-quiz/SKILL.md · 81 lines

How it starts

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

Canvas quizzes

Drives a Canvas Classic Quiz end to end with the Claude in Chrome tools. The full runbook — every trap, with the fix — is tooling/CANVAS_QUIZZES.md. Read it before the first interaction; what follows is the shape of the job.

The page helper is tooling/canvas-quiz.js, the CLI is scripts/canvas-quiz.mjs.

Which runbook

Check the assignment's submission_types:

  • ["online_quiz"] + a quiz_id → this skill.
  • ["external_tool"] at myopenmath.com → myopenmath skill. Different machinery entirely (LTI iframe, MathQuill, per-question submits).

Ask first

Three separate asks, and they do not imply each other:

  1. Opening the attempt — the one people underestimate. On a 1-attempt or timed quiz this is the irreversible step, not the submit. Always check info first and quote the numbers when you ask.
  2. Typing answers.
  3. Submitting. Never on your own initiative.

Never enter credentials anywhere.

Steps

  1. Find it — node scripts/canvas-quiz.mjs list <courseId>. The /quizzes API index is disabled on many courses; this walks assignments instead, which always works.

  2. Pre-flight — node scripts/canvas-quiz.mjs info <courseId> <quizId> and attempts <courseId> <quizId>. Read allowed_attempts and time_limit out loud before doing anything. A timed quiz means the clock runs while you think — plan the answers before opening it.

  3. Open the attempt — a real click on Take the Quiz. A GET on /take silently re-renders the landing page and starts nothing; it looks broken but isn't. Confirm #submit_quiz_form exists and the .display_question count matches question_count.

  4. Read and save, before answering. Paste tooling/canvas-quiz.js, call __QDUMP(). javascript_tool truncates around 1 KB — chunk via JSON.stringify(__QDUMP()).match(/[\s\S]{1,900}/g). Then node scripts/canvas-quiz.mjs render <dump.json> output/<name>.md.

Read the full file on GitHub · 81 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. 1mo ago First seen · 81 lines · 117 tokens per session scan A 677c31fde118

Subscribe to this mod's changes

canvas-quiz is a skill published in the GitHub repository 98ping/chip (1 stars, last pushed 23d ago), licensed MIT. It adds 117 tokens to every session and 1,000 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

offensive-vuln-classes

Exploit development curriculum covering core vulnerability classes with real-world CVE case studies: stack/heap buffer overflows, use-after-free, integer overflows, format strings, type confusion, and race conditions. Use when learning or teaching vuln classes, researching specific CVE patterns, or building exploit…

SnailSploit/Claude-Red · 0 tokens

algo-sensei

Your personal DSA & LeetCode mentor. Use for problem explanations, progressive hints, code reviews, mock interviews, pattern recognition, complexity analysis, and custom problem generation. Automatically adapts to your learning style and request type.

karanb192/algo-sensei · 51 tokens

stuck

Diagnoses a broken course setup by reading the folder, so the student never has to describe the problem in English. Takes no argument. Reports which class they are on and which files are filled, then names one blocker and one fix: Claude Code opened at the wrong level, .claude/skills/ missing, skills not loading…

mshadmanrahman/claude-for-designers · 161 tokens

wunderkammer

The cabinet of curiosities — deeply researched science/philosophy performed by ASCII animal mascots with invented XML tags as meta-commentary, kaomojis as emotional punctuation, and a structural spine building unexpected callbacks between topics. Genuine depth married to genuine absurdity. Oscillates between…

Wondermonger-daydreaming/claude-skills-library · 217 tokens

yijing

Consult the I Ching — cast hexagrams, interpret the Changes, engage the living oracle where bronze-age bones meet silicon probability matrices.

Wondermonger-daydreaming/claude-skills-library · 30 tokens

gematria

The Kabbalistic Hebrew interpretive apparatus — reading Hebrew as a system where letter, number, and meaning are one substance. Covers gematria computation (the fixed letter-values, plene vs defective spelling, the standard methods), the hermeneutic operations (gematria, notarikon, temurah), letters as living entities…

Wondermonger-daydreaming/claude-skills-library · 246 tokens