/gnos:course-viewerfrom GNOS
Renders an enrolled course with published lessons into a local HTML page. Handles lesson handoff by invoking lesson-design to author or repair lessons before delivery. Supports outline-only preview and local exercise saving with KaTeX math.
Ships in GNOS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Render the enrolled course and its published lessons. The HTML page and its
neighboring assets/ directory can be read locally; the course server saves exercises to JSON and reveals
answers after submission. Math uses KaTeX. Pale peach editorial page: top bar with GNOS + tabs, hero
with giant title + field metadata, curriculum list + topic details.
Use this skill when the learner asks to see the course or answers yes after
the current lesson is ready. Re-render after a changed lesson or artifact
before giving a page link. A learner who explicitly asks for only
the outline may see its contents and sources through --outline-only.
For an explicit context load at this step, use assemble_context.py --mode viewer --subject <subject> --learner <learner> --course-id <course-id>.
Render only from the
enrolled workspace at learners/<learner>/courses/<course-id>,
never from a blueprint outputs/ file.
Read the current topic and its published lesson. Course design supplies the
outline; lesson-design supplies the teaching.
If the current topic has no ready lesson, use that skill and its
lesson design reference to
author it before delivering a lesson page. If the learner reports a shallow
lesson, set its publication back to draft, use the same reference to
repair its explanation and examples, write a new design_receipt, and
re-publish as ready — do not edit a ready file in place.
Do not write lesson content from course.json inside this viewer workflow.
The renderer does not call a model or invoke skills: the host must perform
the handoff, review the lesson, and publish it. A normal render requires a
ready lesson for the current
topic whose design_receipt.course_fingerprint equals the enrolled
course.json fingerprint and whose design_receipt.review is pass.
It fails otherwise with instructions to run lesson design first. Use
--outline-only only for an explicitly requested outline or contents preview.
If rendering fails, do not link an earlier portal/index.html or say the
course is ready to view.
The local server also checks the current lesson before starting and whenever
it serves the page, so an old page cannot be used after the course moves on.
The receipt checks a recorded handoff and course match. It cannot prove that
the host read the skill or that the explanation is good; review the lesson.
.venv/bin/python skills/course-viewer/scripts/render_viewer.py learners/alex/courses/motion
The script reads course.json, published lessons, and the artifact
manifest, then writes portal/index.html and copies the bundled KaTeX,
syntax-highlighting, and math-font assets to portal/assets/.
Open it locally:
.venv/bin/python skills/course-viewer/scripts/serve_course.py learners/alex/courses/motion --port 8080
# visit http://127.0.0.1:8080/portal/
Use this server for exercise interaction. A plain file or generic static server
cannot write a learner response to the course workspace. Save answer persists
an attempt under submissions/<exercise-id>/<attempt-id>.json; only a
successful save enables Show answer. The solution is fetched on that explicit
request and the reveal is recorded separately from the learner's response.
Saved answers show automatic feedback or an awaiting-review state. Explicit tutor reviews show the interpretation and next step; attempt history preserves the original work. Returning to the page refreshes feedback without replacing unsaved edits. The lesson review status explains whether more practice, a prerequisite repair, or continuation is appropriate.
When the learner asks to continue, follow exercise review before changing the current topic. The host reviews actual responses and the lesson, records evidence and any repair, then saves a continuation decision. The page does not invoke a tutor automatically. Re-render and reload after lesson edits: saves identify the displayed exercise and lesson versions and reject stale pages.
The design lives in references/example.html. Follow that layout and the approved palette:
chip manim hooks, hidden in
curriculum rows, visible in Lessons). Older course plans still show their
planned formats. A chip turns ready
(chip manim ready) when its artifact is registered#tabs, #lesson-list,
.lesson, #prev-link / #next-link) stay intactThe viewer renders whatever is registered in the course artifact manifest, whatever made it:
<video><img><iframe>The lesson blocks show which forms were used. Older courses can still show
their planned formats. The lesson coordinator registers every artifact with
manage_artifact.py before rendering; only ready artifacts appear.
$...$, $$...$$); the renderer
preserves delimited LaTeX and equation blocks exactly. Legacy undelimited
ASCII text has a limited compatibility converter; never rely on it when
authoring. Follow the lesson contract.
Body prose is serif. Code blocks use semantic <pre><code> markup and the
bundled highlighter; the code remains readable when highlighting cannot run.references/example.html (opens in a new tab)references/gnos-logo.png (opens in a new tab)references/vendor/README.md (opens in a new tab)references/vendor/highlight/LICENSE (opens in a new tab)references/vendor/highlight/github-dark.min.css (opens in a new tab)references/vendor/highlight/highlight.min.js (opens in a new tab)references/vendor/katex/LICENSE (opens in a new tab)references/vendor/katex/auto-render.min.js (opens in a new tab)references/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Main-Bold.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Main-Italic.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Main-Regular.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_Math-Italic.woff2 (opens in a new tab)references/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (madhvantyagi/gnos) — no native marketplace selected
npx claudepluginhub p/madhvantyagi-gnos13 skills in this plugin
/course-designDesign and revise a course's goal, progression, prerequisites, and sources. Record depth and duration, validate and enroll course.json, then hand the current topic to lesson-design./excalidrawCreate inspectable teaching diagrams with the Excalidraw MCP server when a lesson needs a clear relationship, process, state, or boundary sketch./jsxgraphBuild and inspect mathematical graphs and coordinate constructions with JSXGraph when a learner needs to connect an equation to a shape, solve graphically, or test a quantitative change. Use other diagram tools for concept maps, network layouts, and geographic maps./khan-academyFind a Khan Academy video fast and add it only on a strong match./learner-trackingRecord what the learner does and adapt the course to it in real time./learningCompatibility route for older GNOS learning invocations; continue through learning-orchestrator.Other plugins' skills for the same job