Adapt an existing course
General CEFR, HSK, or JLPT progressions rarely match a specific learner’s priorities. Because every task’s prerequisites and introduced Concepts are explicit, you can fork an existing course and tailor it for a role, domain, or goal without breaking teaching order.
1. Copy a course to your own directory
Section titled “1. Copy a course to your own directory”Keep your adapted course in its own Git repository (or folder) by pointing OPENL2_COURSES_DIR at it:
mkdir -p "$HOME/my-courses"cp -R courses/cefr/de/a1 "$HOME/my-courses/berlin-dev-de"export OPENL2_COURSES_DIR="$HOME/my-courses"Your copy still references the canonical German library (uses_library: de@^1.0), so you keep all existing grammar Skills, expressions, and lexicon without duplicating them.
2. Tailor it with an AI agent (MCP) or by hand
Section titled “2. Tailor it with an AI agent (MCP) or by hand”With openl2-course-design-mcp connected to Claude, Cursor, or Codex (Getting started), you can ask an agent to adapt the track directly:
Adapt
berlin-dev-defor an English-speaking software engineer moving to Berlin. Keep everyday survival tasks, remove hotel and tourism tasks, move apartment and workplace communication earlier, and add tech-office vocabulary inlocal_concepts.yaml. Validate that every prerequisite still holds.
Behind the scenes, the workflow is the same whether you or an agent make the edits:
- Reorder or trim
tasks.yamlto match the learner’s goals. - Add domain vocabulary (for example, der Termin, das Stand-up, im Homeoffice) in
local_concepts.yamlon top ofuses_library: de@^1.0. - Run
openl2 validate(or the MCP toolcheck_course_health) to catch any prerequisite Concept or Skill that needs to move earlier with the reordered tasks.
openl2 validate "$HOME/my-courses/berlin-dev-de"3. Publish or export your adapted course
Section titled “3. Publish or export your adapted course”Once validation passes, you can publish a browsable reference site, export to Anki, or publish to Jetway:
# Static HTML reference siteopenl2 site course "$HOME/my-courses/berlin-dev-de" --out dist/berlin-dev-de
# Export flashcards to Ankiopenl2 anki --help
# Publish privately to Jetwayopenl2 jetway publish "$HOME/my-courses/berlin-dev-de" --visibility privateSee Authoring a course for day-to-day MCP editing workflows, or Build your first course if you want to start from scratch instead of forking.