Skip to content

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.

Keep your adapted course in its own Git repository (or folder) by pointing OPENL2_COURSES_DIR at it:

Terminal window
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-de for 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 in local_concepts.yaml. Validate that every prerequisite still holds.

Behind the scenes, the workflow is the same whether you or an agent make the edits:

  1. Reorder or trim tasks.yaml to match the learner’s goals.
  2. Add domain vocabulary (for example, der Termin, das Stand-up, im Homeoffice) in local_concepts.yaml on top of uses_library: de@^1.0.
  3. Run openl2 validate (or the MCP tool check_course_health) to catch any prerequisite Concept or Skill that needs to move earlier with the reordered tasks.
Terminal window
openl2 validate "$HOME/my-courses/berlin-dev-de"

Once validation passes, you can publish a browsable reference site, export to Anki, or publish to Jetway:

Terminal window
# Static HTML reference site
openl2 site course "$HOME/my-courses/berlin-dev-de" --out dist/berlin-dev-de
# Export flashcards to Anki
openl2 anki --help
# Publish privately to Jetway
openl2 jetway publish "$HOME/my-courses/berlin-dev-de" --visibility private

See 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.