Claude-skill-registry academic-data-integration
When the user needs to integrate multiple data sources (Canvas API, user memory, file systems) to create comprehensive academic reports. This skill combines course information, assignment details, submission status, and user context to generate actionable insights. Triggers include requests that involve cross-referencing multiple data sources or creating consolidated academic reports from disparate systems.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/academic-data-integration" ~/.claude/skills/majiayu000-claude-skill-registry-academic-data-integration && rm -rf "$T"
manifest:
skills/data/academic-data-integration/SKILL.mdsource content
Instructions
Objective
Integrate data from Canvas LMS, user memory, and local workspace files to identify and report on unsubmitted academic work. The primary output is formatted CSV files containing sorted lists of pending quizzes and assignments.
Core Workflow
1. Initial Data Gathering
- Read User Memory: Use
to retrieve the user's personal information. Pay special attention to academic exemptions (e.g., English entrance exam score).memory-read_graph - Fetch Course List: Use
to get all enrolled courses. Note thecanvas-canvas_list_courses
andcourse_code
for each.name
2. Understand Output Format
- Inspect Workspace: Use
to list files inlocal-python-execute
and examine any existing CSV files (e.g.,/workspace/dumps/workspace/
,quiz_info.csv
).assignment_info.csv - Analyze Headers: Note the required CSV columns and data format from the example rows.
3. Collect Pending Work Details
- Fetch Assignments & Quizzes: For each course ID obtained in step 1, call:
withcanvas-canvas_list_assignments
.include_submissions: true
.canvas-canvas_list_quizzes
- Identify Unsubmitted Items:
- Assignments: An item is "unsubmitted" if
issubmission.workflow_state
AND"unsubmitted"
isis_quiz_assignment
.false - Quizzes: A quiz is "required" if its
isquiz_type
(graded). Ignore"assignment"
types."practice_quiz" - Apply Exemptions: Cross-reference user memory with course announcements. For example, if a user's English entrance score is ≥90 and a course announcement grants an exemption, exclude that quiz.
- Assignments: An item is "unsubmitted" if
4. Enrich Data & Sort
- Fetch Course Details: Optionally use
for each course if additional metadata (like credits) is needed but not in the initial list.canvas-canvas_get_course - Determine Credits: If credit information is unavailable via API, infer it logically (e.g., 101/201/301-level = 3 credits, 401-level = 4 credits) based on the
.course_code - Clean Data: Remove the
suffix (e.g.,-x
) from-1
andcourse_code
.course_name - Sort Final Lists:
- Primary Key: Deadline (
) in chronological order.due_at - Secondary Key: Course code in dictionary (alphabetical) order for items with identical deadlines.
- Primary Key: Deadline (
5. Generate Output Files
- Write CSVs: Use
to run a Python script that:local-python-execute- Creates the sorted lists of quizzes and assignments.
- Writes to the existing CSV file paths in the workspace without changing the filenames.
- Formats data exactly as the example headers specify.
- Verify: Read and print the final CSV contents to confirm correct formatting and sorting.
Key Decision Points
- Inclusion/Exclusion Logic: Document why specific items were included or excluded (e.g., "exempt due to high English score", "practice quiz not graded").
- Data Fallbacks: When API data is missing (e.g., credits), use reasoned defaults and note the assumption.
- Sorting Validation: Double-check that sorting by deadline then course code is correctly implemented.
Final Output
The skill is complete when:
- The
andquiz_info.csv
files in the workspace are updated with the current, sorted list of unsubmitted work.assignment_info.csv - A clear summary is provided explaining what was found and any logical decisions made.