canvas-quiz
Skill1 starsChanged 2 months agoMITView on GitHub
Work a Canvas-native quiz (Classic Quizzes) — find it, open the attempt, read every question, save it to output/, fill the answers, and stop short of submitting. Use whenever Max points at a Canvas quiz, asks about a "syllabus quiz" or a quiz he still has to take, asks what a quiz is asking, or when a Canvas assignment turns out to have submission_types ["online_quiz"] with a quiz_id. Not for MyOpenMath quizzes — those are external_tool assignments and belong to the myopenmath skill.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- dbosk/claude-skillstheir own version, first seen Nov 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- dbosk/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- canvas-homeworkSkill
- mylab-pearsonSkill
- myopenmathSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read it before the first interaction.
- Very specific: line 17
Check the assignment's submission_types:
- Distinctive: line 31
Submitting: Never on your own initiative.
- Distinctive: line 33
Never enter credentials anywhere.
- Distinctive: line 63
Stop: Leave the attempt open, answered, and saved for Max to submit — unless he says otherwise in the moment.
- Very specific: line 72
A DOM-only answer is not saved: Check the Quiz saved at stamp before walking away or reloading.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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"]+ aquiz_id→ this skill.["external_tool"]at myopenmath.com →myopenmathskill. Different machinery entirely (LTI iframe, MathQuill, per-question submits).
Ask first
Three separate asks, and they do not imply each other:
- Opening the attempt — the one people underestimate. On a 1-attempt or
timed quiz this is the irreversible step, not the submit. Always check
infofirst and quote the numbers when you ask. - Typing answers.
- Submitting. Never on your own initiative.
Never enter credentials anywhere.
Steps
- Find it —
node scripts/canvas-quiz.mjs list <courseId>. The/quizzesAPI index is disabled on many courses; this walks assignments instead, which always works. - Pre-flight —
node scripts/canvas-quiz.mjs info <courseId> <quizId>andattempts <courseId> <quizId>. Readallowed_attemptsandtime_limitout loud before doing anything. A timed quiz means the clock runs while you think — plan the answers before opening it. - Open the attempt — a real click on Take the Quiz. A
GETon/takesilently re-renders the landing page and starts nothing; it looks broken but isn't. Confirm#submit_quiz_formexists and the.display_questioncount matchesquestion_count. - Read and save, before answering. Paste
tooling/canvas-quiz.js, call__QDUMP().javascript_tooltruncates around 1 KB — chunk viaJSON.stringify(__QDUMP()).match(/[\s\S]{1,900}/g). Thennode scripts/canvas-quiz.mjs render <dump.json> output/<name>.md. - Fill —
__QSET(n, choice): index or text for choice questions, an array for multiple-answers, a string for text, an object for blanks/matching. - Verify —
__QVERIFY()re-reads the DOM, and__QSTATE()shows theQuiz saved at ...stamp. Screenshot: the sidebar checkmarks confirm the whole quiz at a glance. A save stamp is what proves the server has it. - Stop. Leave the attempt open, answered, and saved for Max to submit — unless he says otherwise in the moment.
The four that actually cost something
- Opening is the irreversible step, not submitting, when attempts are limited.
GET /takestarts nothing. Click the button.- Multiple-answers checkboxes all have
value="1"— match by text or index.__QSETclears the group first, so an array is the final state. - A DOM-only answer is not saved. Check the
Quiz saved atstamp before walking away or reloading.
Answering from a source document
Syllabus and policy quizzes should trace to the source. Put the trace in each
question's rationale field — render prints it as a > Why: line, which makes
the saved markdown reviewable instead of a bare answer key. Call out real
judgment calls explicitly rather than letting them pass as quotes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

