본문으로 건너뛰기
Skillpedia
작업 및 프로젝트260k · #536

canvas

하는 일

이 스킬은 많은 학교가 쓰는 학습 플랫폼 Canvas에 AI를 연결합니다. 학생과 교사가 AI에게 강의 목록과 다가오는 과제를 보여 주기를 원할 때를 위한 것입니다.

사용하는 경우

  • ✓활성 Canvas 강의 목록을 보고 싶을 때.
  • ✓강의의 과제를 마감일 순으로 보고 싶을 때.
  • ✓학교 계정의 Canvas 액세스 토큰을 설정해야 할 때.

스킬 링크

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/canvas/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/canvas/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이번 주에 제 Canvas 강의에서 마감되는 과제는 무엇인가요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 작은 Python 스크립트와 개인 Canvas 액세스 토큰을 씁니다. Canvas에 강의와 과제를 요청하고 결과를 보고합니다. 데이터를 읽기만 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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"

Canvas uses Link headers for pagination. The Python script handles pagination automatically.

Rules

  • This skill is read-only — it only fetches data, never modifies courses or assignments
  • On first use, verify auth by running $CANVAS list_courses — if it fails with 401, guide the user through setup
  • Canvas rate-limits to ~700 requests per 10 minutes; check X-Rate-Limit-Remaining header if hitting limits

Troubleshooting

Problem Fix
401 Unauthorized Token invalid or expired — regenerate in Canvas Settings
403 Forbidden Token lacks permission for this course
Empty course list Try --enrollment-state active or omit the flag to see all states
Wrong institution Verify CANVAS_BASE_URL matches the URL in your browser
Timeout errors Check network connectivity to your Canvas instance
자주 묻는 질문

스킬이 과제나 성적을 바꿀 수 있나요?

아니요. 스킬 설명에 따르면 읽기 전용 접근이므로 강의와 과제를 나열할 뿐 바꾸지 않습니다.

액세스 토큰은 어떻게 받나요?

Canvas에 로그인해 계정 설정(Account Settings)에서 승인된 연동(Approved Integrations)으로 가서 ‘New Access Token’을 클릭하세요. 자세한 단계는 스킬에 있습니다.

Canvas 주소는 어디에 넣나요?

로그인한 상태에서 브라우저에 보이는 주소를 끝의 슬래시 없이 기본 URL로 설정하세요.

상세 정보

작성자의 원본 설명

Fetch Canvas LMS courses and assignments via API token.

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#536
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬