Canvas LMS Assistant
Use when interacting with Harvard Canvas LMS - fetching courses, assignments, grades, submissions, modules, calendar events. Trigger with CANVAS keyword.
What this skill does
# Canvas LMS API Assistant ## Configuration - **Base URL**: `https://canvas.harvard.edu/api/v1` - **Token**: `1875~QhBUrmBrKVheZxm6YCvrExYJ8HtB2PQkzGRHhGZY9fDfvze7zENCKNK6HEmM7NnJ` - **Helper script**: `/Users/wz/Desktop/zPersonalProjects/Spring2026/canvas.sh` - **Docs**: https://canvas.instructure.com/doc/api/index.html ## Warren's Spring 2026 Course IDs | Course | Canvas ID | Code | Directory | |--------|-----------|------|-----------| | Modern Storage Systems | **166762** | COMPSCI 2640 | `CS2640/` | | Intro to Ancient Roman World | **162077** | CLS-STDY 97B | `CLSSTDY97B/` | | Landmarks of World Architecture | **162740** | HAA 11 | `HAA11/` | | Holy Envy | **165559** | HSEMR-LE 76 | `HSEMR76/` | ## Helper Script A helper script exists at `/Users/wz/Desktop/zPersonalProjects/Spring2026/canvas.sh`. Use it for common operations: ```bash canvas.sh dashboard # Weekly agenda: all deadlines + grades + announcements canvas.sh deadlines # All upcoming deadlines across 4 courses canvas.sh deadlines 48h # Assignments due within 48 hours canvas.sh grades # Current grade/score in each course canvas.sh announcements # Recent announcements across all courses canvas.sh missing # Submissions with "missing" status canvas.sh modules <course> # List modules for a course (cs2640|roman|haa11|hsemr76) canvas.sh files <course> # List all files in a course canvas.sh download <course> # Download all files from a course canvas.sh submit-text <course> <assignment_id> <file.html> # Submit text canvas.sh submit-file <course> <assignment_id> <file.pdf> # Submit file upload canvas.sh assignment <course> <assignment_id> # Get assignment details canvas.sh syllabus <course> # Fetch syllabus HTML canvas.sh sync-schedule # Update schedule.md files from Canvas deadlines canvas.sh new-assignments # Check for assignments added since last check ``` Course aliases: `cs2640`, `roman`, `haa11`, `hsemr76` (or use Canvas IDs directly). ## Raw API Reference Authentication header for manual curl: ```bash -H "Authorization: Bearer 1875~QhBUrmBrKVheZxm6YCvrExYJ8HtB2PQkzGRHhGZY9fDfvze7zENCKNK6HEmM7NnJ" ``` | Action | Method | Endpoint | |--------|--------|----------| | List courses | GET | `/courses?enrollment_state=active` | | Get course | GET | `/courses/:id` | | List assignments | GET | `/courses/:id/assignments?order_by=due_at` | | Get assignment | GET | `/courses/:id/assignments/:aid` | | My submission | GET | `/courses/:id/assignments/:aid/submissions/self` | | Submit work | POST | `/courses/:id/assignments/:aid/submissions` | | Request file upload | POST | `/courses/:id/assignments/:aid/submissions/self/files` | | List modules | GET | `/courses/:id/modules?include[]=items` | | Module items | GET | `/courses/:id/modules/:mid/items` | | Calendar events | GET | `/calendar_events?type=assignment` | | My enrollments/grades | GET | `/courses/:id/enrollments?user_id=self&include[]=total_scores` | | Course files | GET | `/courses/:id/files` | | Download file | GET | `/files/:fid/public_url` then follow redirect | | Announcements | GET | `/announcements?context_codes[]=course_:id` | | Syllabus | GET | `/courses/:id?include[]=syllabus_body` | | Quizzes | GET | `/courses/:id/quizzes` | | Quiz submissions | GET | `/courses/:id/quizzes/:qid/submissions` | ## Pagination Canvas paginates all list responses. Check `Link` header for `rel="next"`. Use `per_page=100` (max). The helper script handles pagination automatically. ## File Upload Flow (3 steps) 1. **Notify** Canvas about the file: ```bash curl -s -X POST -H "Authorization: Bearer $TOKEN" \ -F "name=paper.pdf" -F "size=$(stat -f%z paper.pdf)" \ "https://canvas.harvard.edu/api/v1/courses/CID/assignments/AID/submissions/self/files" ``` 2. **Upload** to the returned `upload_url` with `upload_params` 3. **Submit** with the file ID: ```bash curl -s -X POST -H "Authorization: Bearer $TOKEN" \ -F "submission[submission_type]=online_upload" \ -F "submission[file_ids][]=FILE_ID" \ "https://canvas.harvard.edu/api/v1/courses/CID/assignments/AID/submissions" ```
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.