course-notes-hub
Skill3 starsChanged 8 days agoMITView on GitHub
Build and maintain the one-page hub that lists every course-notes site of a term, with live lecture counts and page counts read from each site's manifest, preview thumbnails and a link-preview card.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- bilingual-lecture-notesSkill
- exam-prep-materialsSkill
- pdf-notes-viewerSkill
- student-mac-and-recordingsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Create a repository (public or private.
- Distinctive: line 46
Add one row per course (below), numbered 01, 02, … by hand.
- Distinctive: line 49
Commit, push, check the Pages run.
- Very specific: line 61
Add the course to the card's list, rebuild og.jpg, and raise ?v= on every og:image / twitter:image URL: messengers (KakaoTalk above all) …
- Very specific: line 64
Commit as hub: <course> 추가 and push.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Course-notes hub
One dark, editorial page at <account>.github.io/<hub-repo>/ that lists every
course site of the term: a big course name per row, its English name, and a
live line such as 12강 · 11/16 수업까지 · 국문 112p · 영문 96p · 2026.11.21
read from that course's manifest.json. On a desktop a preview of the notes'
title page follows the cursor; on a phone the preview sits in the row. Shared
in a messenger, it unfurls into a 1200×630 card made with LaTeX.
The student opens this page first, so it should answer at a glance "which course was updated, and up to which class".
<p>
<img src="screenshots/hub-1280.png" width="70%" alt="The hub on a desktop: one row per course with its live line">
<img src="screenshots/hub-phone-390.png" width="22%" alt="The hub on a phone">
</p>When to use
- A new term: make the hub.
- A new course site exists, or a course is renamed or split into sections.
- The student wants the hub's wording, order or look changed.
- A thumbnail or the link-preview card is out of date.
What you get
assets/index.html: the page, with two sample rows.assets/og-card.tex→og.jpg: the link-preview card.assets/make-thumb.py: a course's title page → dark 700px JPEG thumbnail.assets/thumbs/sample.jpg,assets/og.jpg: what those produce for the sample course.
Steps: a new hub
- Create a repository (public or private; Pages from the root of
main), copyassets/index.html,og-card.tex,make-thumb.py, and add.nojekyll. - In
index.htmlreplaceACCOUNT/HUB-REPOin the Open Graph and Twitter tags (they must be absolute URLs), the term in the title, rail, intro and description, and the school name in the footer. - Add one row per course (below), numbered 01, 02, … by hand.
- Make the card: edit the term and course names in
og-card.tex, thenxelatex og-card.tex && pdftoppm -r 72 -jpeg -jpegopt quality=90 -singlefile og-card.pdf og. - Commit, push, check the Pages run.
Steps: adding a course
- Thumbnail:
python3 make-thumb.py <course>/Notes-EN.pdf thumbs/<course>.jpg. - Row: copy a
<a class="row">block; sethrefto the course site,data-repoto the course repository's name (the hub fetches/<data-repo>/manifest.jsonfrom the same origin),data-thumband the<img class="thumb">to the thumbnail, the Korean name in.name, the English name in.en. Two sections of one course: add<small class="prof">B반</small>after the name (the right-hand column is hidden on phones, so the distinction must be in the name line). - Add the course to the card's list, rebuild
og.jpg, and raise?v=on everyog:image/twitter:imageURL: messengers (KakaoTalk above all) keep a scraped preview for a long time. - Commit as
hub: <course> 추가and push.
Rules
- No build step. One HTML file, inline CSS and JS, one web font (Pretendard from jsdelivr). It must work if the font never loads.
- The live line comes from the course manifests only; the hub stores no dates or counts. A course site without a manifest (a site that is not a PDF viewer) simply shows no line.
- All sites must be on the same origin (
<account>.github.io) for the plainfetch('/<repo>/manifest.json')to work. A site elsewhere needs CORS or no live line. - Thumbnails show the title page, rendered dark to sit in the page. If the title page carries someone's name or e-mail (a TA on a lab handout), use a content page instead; never thumbnail the instructor's material.
- Keep the motion calm and optional: everything respects
prefers-reduced-motion, and touch devices get no cursor preview. - Course names and section labels are the student's wording; ask before renaming.
Self-check
- Every row's
data-repomatches a site whosemanifest.jsonloads (the line appears) or is a site known to have none. og:imageURLs are absolute and their?v=was raised after a card change.- 1280px and 390px screenshots: no horizontal scroll, names fit, the stamp shows the newest date.
- Thumbnails are 700px wide, dark, legible.
References
- design.md: the look and every interaction, with the reasons; the manifest line; the link-preview card.
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.

