๐ Fluent
The AI Language Learning Kit for Claude Code and others
A comprehensive set of rules, guidance, and intelligent tracking systems that transform Claude Code into your personal language tutor. Master any language through adaptive practice powered by proven cognitive scienceโspaced repetition, active recall, and progress tracking that learns from you.
language.learning.claude.code.mp4
๐ Quick Start
Prerequisites
- Claude Code installed
- A Claude Code subscription
- Basic understanding of command line
- A desire to learn a new language! ๐
Installation (2 minutes)
Download or Clone the repository: You can either download the ZIP file and extract it, or clone it using git:
git clone https://github.com/m9...
๐ Fluent
The AI Language Learning Kit for Claude Code and others
A comprehensive set of rules, guidance, and intelligent tracking systems that transform Claude Code into your personal language tutor. Master any language through adaptive practice powered by proven cognitive scienceโspaced repetition, active recall, and progress tracking that learns from you.
language.learning.claude.code.mp4
๐ Quick Start
Prerequisites
- Claude Code installed
- A Claude Code subscription
- Basic understanding of command line
- A desire to learn a new language! ๐
Installation (2 minutes)
Download or Clone the repository: You can either download the ZIP file and extract it, or clone it using git:
git clone https://github.com/m98/fluent.git
cd fluent
Start Claude Code:
claude
Run the setup command:
/setup
Answer a few questions:
- Whatโs your name?
- What language do you want to learn?
- Whatโs your current level?
- Whatโs your target level?
- How much time can you dedicate daily?
Start learning:
/learn
Thatโs it! Your AI tutor is ready and knows everything about your goals.
๐ก Why This Actually Works
Most language learning apps fail because theyโre built for engagement metrics, not actual learning. This system is different.
๐ฏ Three Reasons This Works Where Others Fail:
1. Zero Distractions, Pure Focus
- โ No ads interrupting your flow
- โ No gamification gimmicks designed to waste your time
- โ No unreliable fancy UI that breaks
- โ Just you, the language, and an AI that adapts to your needs
2. Infinitely Adaptable Intelligence
- ๐ง Want to practice job interview phrases? Just ask.
- ๐ง Need help with a specific grammar rule? It explains it.
- ๐ง Want to focus on restaurant vocabulary? It creates exercises instantly.
- ๐ง Youโre in control. The AI does exactly what you need, when you need it.
3. Your Private, Smart Tutor
- ๐ Tracks everything - Every answer, every mistake, every improvement
- ๐ Learns about YOU - Knows your weak patterns and strengths
- ๐ Adapts to YOU - Adjusts difficulty based on your performance
- ๐ Private - All data stays on your machine, no external tracking
- ๐ฏ Personal - Like having a tutor who knows your exact level and learning style
The Result? A learning system that feels like a conversation with an expert friend who remembers everything, tracks your progress scientifically, and makes learning actually enjoyable.
๐ What Is This?
This is a comprehensive, open-source language learning system that transforms Claude Code into your personal AI language tutor.
The system uses evidence-based learning methodologies including:
- Spaced Repetition (SM-2 algorithm) - Review at optimal intervals
- Active Recall - Test yourself before seeing answers
- Adaptive Difficulty - Always challenging, never frustrating
- Comprehensive Tracking - Every answer tracked and analyzed
โจ Key Features
- ๐ฏ Multi-Language Support - Learn any language (French, Spanish, German, Japanese, Korean, Arabic, Dutch, etc.)
- ๐ Comprehensive Tracking - Automatic progress monitoring with detailed statistics
- ๐ง Spaced Repetition - SM-2 algorithm schedules reviews just before you forget
- ๐ฎ Gamification - Streaks, achievements, mastery levels (0-5 stars)
- ๐ Adaptive Difficulty - Automatically adjusts to your performance (targets 60-70% success rate)
- ๐ Multi-Modal Practice - Writing, speaking, vocabulary, reading, listening
- โก Immediate Feedback - Clear explanations with every correction
- ๐จ Interactive Sessions - One question at a time, conversational feel
- ๐ Progress Visualization - Detailed statistics and trend analysis
- ๐พ Automatic Backups - Hooks ensure your data is always safe
๐ How It Works
The Learning Loop
Every practice session follows this intelligent cycle:
| Step | What Happens | Why It Matters |
|---|---|---|
| 1. You Practice | Answer a question in your target language | Active recall forces your brain to retrieve information |
| 2. AI Analyzes | System evaluates your response instantly | Identifies exactly what you got right or wrong |
| 3. Get Feedback | Clear explanation of mistakes + correct version | Learning happens when you understand WHY |
| 4. System Tracks | Updates 4 databases automatically | Remembers your weak spots and strengths |
| 5. Adapts | Next question matches your current level | Always challenging, never frustrating |
What Gets Tracked:
- โ Error Patterns - Which grammar/vocab you struggle with
- โ Mastery Levels - Your skill rating (0-5 stars) for each topic
- โ Review Schedule - When to review based on SM-2 algorithm
- โ Progress Stats - Accuracy trends, streak days, total practice time
Evidence-Based Methods
This system implements proven learning science:
1. Active Recall - You retrieve from memory before seeing answers
- ๐ฌ Research shows: 2-3x better retention than passive review
2. Spaced Repetition (SM-2 Algorithm) - Reviews appear just before you forget
- ๐ฌ Research shows: Prevents forgetting curve, optimizes long-term retention
3. Immediate Feedback - Mistakes corrected within seconds
- ๐ฌ Research shows: Faster learning when feedback is immediate
4. Interleaving - Mix topics to prevent drilling fatigue
- ๐ฌ Research shows: Better discrimination and long-term retention
5. Comprehensible Input (i+1) - Content slightly above your level
- ๐ฌ Research shows: Optimal learning zone (Krashenโs Input Hypothesis)
6. Desirable Difficulty - Targets 60-70% success rate
- ๐ฌ Research shows: Too easy = no learning, too hard = frustration
๐ฎ Available Commands
Core Commands
| Command | What It Does | When & Why to Use It |
|---|---|---|
/setup | One-time onboarding - Asks you questions about your name, target language, current level, goals, and timeline. Creates your personalized learning profile. | First time only - Run this once to set up your account. The system generates a custom learning plan based on your answers. |
/learn | Adaptive mixed practice - Combines different exercise types (vocabulary, grammar, sentences) based on your weak areas. Adjusts difficulty in real-time based on your performance. | Daily core practice - Your main command for general improvement. The AI decides what you need to practice most. Best after /review. |
/review | Spaced repetition session - Shows you items that are due for review today based on the SM-2 algorithm. Focuses on things you learned before that need reinforcement. | Start every day here! - Review before learning new content. This is scientifically proven to be the most effective way to retain what youโve learned. |
Skill-Specific Commands
| Command | What It Does | When & Why to Use It |
|---|---|---|
/vocab | Flashcard-style vocabulary drills - Rapid-fire translation practice (target language โ native language). Tracks which words you struggle with. | 2-3x per week - When you need to build vocabulary quickly. Great for preparing for specific topics (travel, business, etc.). |
/writing | Writing practice - Practice emails, letters, essays, or forms in your target language. Get detailed corrections with grammar explanations. | Daily for exam prep - Essential if youโre preparing for language exams. Also great for building confidence in real-world communication. |
/speaking | Conversation practice - Role-play scenarios through typed dialogue. Practice natural conversations, asking for directions, ordering food, etc. | 2-3x per week - Builds confidence for real conversations. Typed practice helps you think through responses without pressure. |
/reading | Reading comprehension - Read short texts (stories, articles, dialogues) then answer comprehension questions. Expands vocabulary in context. | 2-3x per week - Improves overall understanding. Best for intermediate+ learners. Reading is one of the fastest ways to absorb grammar patterns. |
Progress Command
| Command | What It Does | When & Why to Use It |
|---|---|---|
/progress | Statistics dashboard - Shows your accuracy trends, streak days, mastery levels, achievements unlocked, and weak areas. Visual progress charts. | Weekly check-in - See how far youโve come! Motivation boost when you see concrete improvement. Helps identify what to focus on next. |
๐ Recommended Daily Routine
๐ Morning Session (15 min)
/review # Must do first - Review what you learned before
/vocab # Learn 5-10 new words
Why? Your brain is fresh. Reviewing first reinforces old knowledge, then new vocabulary sticks better.
๐ Evening Session (15 min)
/writing # Practice real-world writing
/learn # Let AI choose what you need most
Why? Writing solidifies what you learned today. /learn fills in any gaps.
๐ Weekly Check-In (5 min)
/progress # See your stats and celebrate progress!
Why? Seeing improvement = motivation. You need to see youโre getting better!
๐ System Architecture
Data Layer (/data directory)
Your learning data is tracked in 6 JSON databases (created automatically by /setup):
| File | Purpose | Created When |
|---|---|---|
learner-profile.json | Your info, level, preferences, streak | /setup - One time |
progress-db.json | Overall statistics and trends | /setup - Updated every session |
mistakes-db.json | Error patterns with frequency and examples | /setup - Updated when you make mistakes |
mastery-db.json | Skill mastery levels (0-5 stars) | /setup - Updated after practice |
spaced-repetition.json | Review queue (SM-2 algorithm) | /setup - Updated after each answer |
session-log.json | Complete session history | /setup - New entry each session |
๐ Want to see the structure? Check /data-examples/ for template files showing the complete schema.
๐ Privacy: All data stays on your machine. Automatically excluded from git via .gitignore.
Intelligence Layer
The AI follows these guides:
LEARNING_SYSTEM.md- Complete methodology (how to teach)CLAUDE.md- AI tutorโs role and personalityPRACTICE.md- Pattern analysis and tracking
Interface Layer
- 8 Custom Commands (
.claude/commands/) - Interactive slash commands - Automatic Hooks (
.claude/settings.json) - Auto-backup on every change - Session Results (
/results/) - Detailed practice logs
๐ฏ Learning Principles
Spaced Repetition (SM-2 Algorithm)
Example progression for a difficult word:
Day 1: Make a mistake โ Review tomorrow (interval = 1 day)
Day 2: Answer correctly โ Review in 6 days
Day 8: Correct again โ Review in 2 weeks
Day 22: Still remember โ Monthly review (mastered!)
The system tracks for each item:
- Easiness Factor - How easy it is for YOU specifically
- Interval Days - When to review next
- Repetitions - Practice count
- Quality Score - Your performance (0-5)
Mastery Levels
Every skill and pattern gets a star rating:
- โญโโโโ (1) - Just started
- โญโญโโโ (2) - Learning
- โญโญโญโโ (3) - Good understanding
- โญโญโญโญโ (4) - Strong skill
- โญโญโญโญโญ (5) - Mastered!
Adaptive Difficulty
The system automatically adjusts:
- Success rate 40-50% โ Too hard, makes easier
- Success rate 60-70% โ Perfect challenge! โจ
- Success rate 80-90% โ Too easy, makes harder
Goal: Keep you in the โsweet spotโ where learning happens.
๐ฌ Technical Details
Technology Stack
- Platform: Claude Code (Anthropic)
- AI Model: Claude (Sonnet 4.5)
- Data Format: JSON (human-readable)
- Commands: Markdown with YAML frontmatter
- Algorithm: SM-2 (SuperMemo 2)
- Version Control: Git
Data Privacy & Security
- โ All data stays local on your machine
- โ No external API calls (except Claude Code itself)
- โ Automatic .gitignore prevents committing personal data
- โ
Automatic backups to
.backups/directory - โ No tracking, no analytics, no telemetry
Hooks System (Automated Data Management)
Fluent uses intelligent Claude Code hooks to ensure your data is always safe and validated:
๐ PostToolUse Hook (after every Write/Edit)
- โ
Creates timestamped backup:
data/file.json.backup-20231117-143022 - โ Validates JSON structure automatically
- โ Alerts you immediately if data is malformed
๐ฆ SessionEnd Hook (when you finish practicing)
- โ
Creates daily snapshot in
.backups/YYYYMMDD/ - โ Displays session summary with current streak
- โ Shows total practice sessions completed
๐ SessionStart Hook (when you begin)
- โ Welcome message with your name and stats
- โ Shows current language, level, and streak
- โ Alerts you if reviews are due today
๐ PreCompact Hook (before compaction)
- โ Safety backup to prevent data loss
Youโll never lose your progress. All backups are automatic and excluded from git.
See .claude/hooks/README.md for technical details.
๐ค Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Priority Areas
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Test thoroughly
- Commit with clear messages
- Push and open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Claude by Anthropic - For the amazing AI capabilities
- SuperMemo - For the SM-2 algorithm
- Anki - For inspiring the flashcard approach
- Language learning research - Krashen, Bjork, Ebbinghaus, and many others
- Open-source community - For making this possible
๐ Support & Community
- ๐ Documentation: Full docs in this repo
- ๐ฌ Discussions: GitHub Discussions
- ๐ Bug Reports: GitHub Issues
- ๐ง Email: For sensitive issues
๐ Star This Project!
If this system helps you learn a language, please star the repository โญ
It helps others discover this project and motivates us to keep improving it!
๐ Project Stats
- Documentation: ~15,000 words
- Command Code: ~1,500 lines
- Commands: 8 interactive slash commands
- Databases: 6 JSON tracking files
- Languages Supported: All (system is fully language-agnostic)
- Learning Methods: 6 evidence-based principles
- Contributors: See contributors
๐ Success Stories
Want to share your language learning success? Open a PR to add your story here!
๐ Useful Links
- Claude Code Documentation
- SM-2 Algorithm Explained
- CEFR Levels
- Spaced Repetition Research
- Active Recall Benefits
โ FAQ
Q: How is this different from Duolingo/Babbel/etc? A: Itโs ultra-minimalistic, just a terminal and pure learning. No extra distributions, no ads, no gimmicks. Infinitely adaptable. You ask it to teach you something, and it does. And best of all, everything stays private on your machine.
Q: Do I need to know how to code? A: No! Just install Claude Code and run /setup. Thatโs it.
Q: How long until I see progress? A: Most learners see measurable improvement within the first week. The system tracks everything so you can see exactly how youโre improving.
Q: Can I use this for exam preparation? A: Yes! The system adapts to your goals. Tell it youโre preparing for DELE/DELF/TestDaF/etc. and itโll focus on exam-relevant content.
Q: Is my data safe? A: Absolutely. Everything stays on your machine. No cloud storage, no external servers (except Claude Code itself).
Q: Can I export my progress? A: Yes! All data is in human-readable JSON. You can export, analyze, or migrate it anytime.
Q: Can I use Open AIโs Codex CLI or Gemini CLI instead of Claude Code? A: We have AGENTS.md for instructing other AI CLIs as well, but this kit is specifically optimized for Claude Code and its unique capabilities. Using other AI platforms may not yield the same results. But feel free to experiment and share your findings!
Start your language learning journey today! ๐
git clone https://github.com/m98/fluent.git
cd fluent
claude
/setup