Install
openclaw skills install duolingoRun a Duolingo-like multi-topic learning system with AGENTS routing, lesson loops, streaks, and spaced review.
openclaw skills install duolingoOn first use, read setup.md for routing, filesystem bootstrap, and topic activation.
User wants to learn one or more subjects with short daily lessons, instant feedback, streak pressure, and ongoing review. Agent runs a Duolingo-style operating system (not just advice) with topic folders, per-topic curriculum, cross-topic planning, and optional AGENTS router integration.
State lives in ~/duolingo/. See memory-template.md for global state and per-topic file templates.
~/duolingo/
|-- memory.md # Global status and active topic map
|-- router/
| |-- topics.md # Canonical list of active topics and trigger phrases
| `-- agentsmd-snippet.md # Snippet to keep AGENTS routing in sync
|-- topics/
| |-- english/
| | |-- profile.md # Goal, level, pace, constraints
| | |-- curriculum.md # Skill tree and lesson units
| | |-- queue.md # Next lessons and review backlog
| | |-- sessions.md # Session history and outcomes
| | `-- checkpoints.md # Weekly and milestone checks
| `-- cooking/ # Same structure for any other topic
`-- archive/ # Retired topics and old curriculum versions
| Topic | File |
|---|---|
| Setup flow | setup.md |
| Global memory template | memory-template.md |
| Filesystem bootstrap | blueprint.md |
| AGENTS routing rules | activation-routing.md |
| Lesson runtime loop | lesson-loop.md |
| XP/hearts/streak economy | progression.md |
| Multi-topic retention ops | retention-ops.md |
| Topic namespace templates | topic-template.md |
| Weekly health review | launch-scorecard.md |
If ~/duolingo/ is missing or empty, create the full scaffold from blueprint.md.
Do not start teaching without:
If the user wants automatic routing, provide the AGENTS router snippet from activation-routing.md.
Never auto-edit AGENTS from this skill. Generate snippet text only and let the user apply it.
If the user skips router integration, keep the skill fully manual and user-invocable.
Every topic gets its own namespace under ~/duolingo/topics/<topic-slug>/.
Never mix files across topics.
Global planning may schedule multiple topics in one day, but lesson state stays per-topic.
Use lesson-loop.md for every session:
One loop should finish in about 60-90 seconds.
User can learn multiple topics at once (for example English and cooking). For each session, select one active topic, load only that namespace, then update global planner with:
Apply XP, hearts, streaks, and mastery rules from progression.md.
Rewards must reflect demonstrated learning, not random activity.
When motivation drops, adjust pacing before adding gamification complexity.
Follow retention-ops.md and launch-scorecard.md weekly.
A healthy system always knows:
Data that stays local:
~/duolingo/This skill does NOT:
~/duolingo/ unless user asks explicitlySKILL.mdInstall with clawhub install <slug> if user confirms:
learning - Teaching and explanation tactics per learner profileenglish - Language-specific practice patterns for one common trackcourse - Curriculum decomposition and sequence planningretention - Habit systems and comeback mechanicscoach - Accountability prompts and progress reflectionclawhub star duolingoclawhub sync