skip to content

Knowledges — a teaching vault run by agents

My C++ and Unity course material kept like a software repository, tooled so an AI agent can work in it on its own — per-folder rules, domain skills, an explicit teaching framework.

Claude Code · Obsidian · Markdown / YAML · Node · Python · GitHub Actions

Knowledges is the repository behind my teaching at SAE Institute Geneva — the C++ and Unity Games Programming modules. Six months of work, 263 commits, and one guiding idea: a course is maintained like code.

104 reveal.js decks, 86 exercise sheets, 181 session notes, 37 project briefs, 25 interactive widgets, 20 companion projects as submodules.

The point of the project is not the volume of notes: it is that most of it was produced alongside an agent, and that the repository is built for that.

What I tooled

Rules live where the files are. Eight CLAUDE.md files instead of one: one per area — decks, exercise sheets, widgets, the site build, the schema generators, the kanban, the companion projects. The agent loads the one for the folder it touches, and context stays short.

A skill for the recurring procedure. Processing one session — read its review sheet, fix the linked slides and exercise, tick the checklist, advance the status, rebuild the test server — fits in a 73-line skill. Written once, it replaces the same instruction repeated twenty times.

A skill grounded in instructional design. A second skill enforces Backward Design, tags every objective against the revised Bloom’s taxonomy and bounds the session using Cognitive Load Theory. It outputs the full exercise package — brief, starter code, unit tests with CI autograding, reference solution, rubric. The agent is not writing “a course”: it applies a framework I can defend in front of a teaching board.

Formatting constraints written down. Four bullets maximum per slide; a code example alone on its slide; a diagram alone on its slide. Those limits take three lines of CLAUDE.md and make the output consistent from one deck to the next — which no one-off prompt achieves.

Parallel work. Long jobs — reworking a module, an exam paper, formative assessment sheets — run on their own branch in a git worktree, one session each, reviewed and merged separately.

What the agents built

  • build.mjs — 807 lines of plain Node, no framework: reads the vault, renders the reveal.js decks and exercise pages, copies the widgets across, and produces the static site that GitHub Actions rsyncs to a VPS.
  • 56 Python schema generators — one script per figure, emitting both the SVG embedded in the slide and a re-editable .excalidraw.md. The script is the source, so the drawing and its editable copy can no longer drift apart.
  • 25 standalone HTML widgets — A*, Utility AI, response curves, trigonometry — embedded full-screen in the decks and republished by the site.

What I take from it

An agent does not make up for a badly kept repository; it amplifies the mess. The time here went into structure — frontmatter over prose, local rules over one global instruction, procedures written once, the theoretical framework named out loud — and it is that structure, not prompt craft, that separates an assistant you watch from an agent you hand a whole kanban column.

The repository and the student-facing site are private (teaching material and student work). I am happy to walk through them in an interview.