fluent-setup
Skill420 starsChanged 6 months agoMITView on GitHub
One-time interactive onboarding that creates the learner's personalized language-learning profile — name, target language, native language, current/target CEFR level, timeline, daily minutes, and learning goals. Triggered only when the learner types /fluent-setup. Also handles profile updates and resets for returning users. Must never auto-invoke because re-running can reset progress.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- aymkin/fluentedited, first seen Sep 26, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- aymkin/fluent★ 078% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fluent-db-updaterSkill
- fluent-feedback-formatterSkill
- fluent-learnSkill
- fluent-progressSkill
- fluent-readingSkill
- fluent-reviewSkill
- fluent-session-analyzerSkill
- fluent-sm2-calculatorSkill
- fluent-speakingSkill
- fluent-vocabSkill
- fluent-writingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Always resolve it via the helper rather than writing literal data/ paths:
- Distinctive: line 57
If it exists, jump to Profile updates below.
- Very specific: line 76
Use the AskUserQuestion tool to gather questions in batches when possible.
- Distinctive: line 90
If the learner picks "not sure" for current level, run a quick 5-question assessment:
- Very specific: line 168
Start from the templates in data-examples/.
- Very specific: line 177
Use the Write tool for each.
- Very specific: line 189
If yes, hand off to the fluent-learn skill.
- Distinctive: line 250
Don't invent data: Start every file empty — progress, mistakes, mastery all start at zero.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Language Learning Setup
Overview
One-time onboarding that seeds all 6 databases in the Fluent data directory. After setup, every other skill reads from those files — this is the bootstrap. Also handles profile updates and progress resets for returning users.
The data directory is resolved at runtime (not hardcoded to ./data/):
$FLUENT_DATA_DIRif set$CLAUDE_PROJECT_DIR/data/if that path containslearner-profile.json(clone mode)./data/if./data/learner-profile.jsonexists (clone mode, cwd inside repo)~/.claude/fluent-data/otherwise (plugin-install default)
Always resolve it via the helper rather than writing literal data/ paths:
FLUENT_DATA="$(python3 "${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks/ensure_data_dir.py")"or from Python:
import sys
sys.path.insert(0, f"{PLUGIN_ROOT}/.claude/hooks")
from fluent_paths import ensure_data_dir
DATA = ensure_data_dir()When to Use
Trigger this skill only when the learner types /fluent-setup. The skill is gated with disable-model-invocation: true — re-running can reset a learner's progress, so it must never auto-fire from an ambiguous prompt.
Skip this skill if a profile already exists and the learner did not ask to change anything; route them to /fluent-learn or /fluent-progress instead.
Instructions
1. Check for existing profile
Resolve the data directory first, then probe for learner-profile.json:
DATA_DIR="$(python3 -c "
import sys; sys.path.insert(0, '${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks')
from fluent_paths import data_dir
print(data_dir())
")"
test -f "$DATA_DIR/learner-profile.json" && echo "exists" || echo "new"If it exists, jump to Profile updates below. Otherwise continue.
2. Welcome
# 🌍 Welcome to Your Personal Language Learning System!
This AI-powered system will help you learn any language through:
- 📊 Systematic progress tracking
- 🧠 Spaced repetition (scientifically proven)
- 🎮 Gamification (streaks, achievements)
- 📈 Adaptive difficulty
- 🎯 Personalized to YOUR goals
**Let's get you set up!** (~5 minutes)3. Collect info
Use the AskUserQuestion tool to gather questions in batches when possible. Required fields:
- Name — personalizes greetings.
- Target language — the language being learned (e.g. Spanish, French, German, Japanese, Korean, Arabic, Dutch).
- Native language — for translations and explanations.
- Other languages spoken — optional, used to offer cross-language connections.
- Current level — A1 / A2 / B1 / B2 / C1 / C2 / "not sure".
- Target level — where they want to get to.
- Timeline — 3 months / 6 months / 12 months / 2+ years / custom.
- Daily study minutes — 10 / 15 / 30 / 60 / custom.
- Learning goal — travel / work / exam (specify) / living in country / academic / family / interest.
- Learning style — conversational / academic / immersive / balanced (default).
- Gamification on/off — default on.
If the learner picks "not sure" for current level, run a quick 5-question assessment:
- Basic vocabulary recognition → A1
- Simple sentence construction → A2
- Past tense usage → B1
- Complex subordinate clauses → B2
- Idiomatic expression → C1
Map score to level: 0-1 correct = A1, 2 = A2, 3 = B1, 4 = B2, 5 = C1.
4. Generate the learning plan
Compute expected months to target level:
A1 → A2: ~100 hours
A2 → B1: ~150 hours
B1 → B2: ~200 hours
B2 → C1: ~300 hours
C1 → C2: ~400 hours
months = hours_needed / (daily_minutes / 60) / 30Adjust:
-10%time if learner's native language is typologically close to the target (e.g. Dutch ↔ English, Spanish ↔ Italian).-10%per additional language already known (cap at 30% total).
Present:
## 🎉 Setup Complete!
**Your Learning Profile:**
- 👤 Name: {name}
- 🌍 Learning: {target_language}
- 📚 Native: {native_language}
- 📊 Level: {current} → {target}
- 📅 Timeline: {timeline}
- ⏱️ Daily time: {minutes} min
- 💡 Goal: {goal}
## 📋 Personalized Plan
**Estimated time:** {months} months
**Total study hours:** ~{hours} hours
### Weekly Schedule
**Daily:**
- 🔄 `/fluent-review` — spaced repetition ({X} min)
- 📚 `/fluent-vocab` — new vocabulary ({Y} min)
**Alternating:**
- 📝 `/fluent-writing` (Mon/Wed/Fri)
- 🗣️ `/fluent-speaking` (Tue/Thu/Sat)
- 📖 `/fluent-reading` (Sun)
**Weekly:**
- 📊 `/fluent-progress` — check stats (5 min)
### Milestones
- Month 1: {reasonable short-term}
- Month 3: {quarter-way}
- Month 6: {half-way}
- Target date: {target_level}!
### Next Steps
1. Start now — type `/fluent-learn`
2. Daily habit — `/fluent-review` every day
3. Weekly — `/fluent-progress` to see stats
4. Stay consistent — even 10 min daily beats 2 hours weekly
**Your journey to {target_language} fluency starts now!** 🚀5. Write databases
Start from the templates in data-examples/. Resolve the target directory via fluent_paths.ensure_data_dir() (it creates the directory if missing), then create these 6 files inside it:
learner-profile.json— fill all fields from the interview.progress-db.json— empty stats.mistakes-db.json— emptyerror_patterns.mastery-db.json—skills_masteryentries withmastery_level: 0for each skill.spaced-repetition.json— empty queues,daily_limits.review_items_per_day: 20.session-log.json— emptysessionsarray,total_sessions: 0.
Use the Write tool for each. Do not call update-db.py — that script is for session updates, not bootstrapping.
6. Optional first lesson
## 🎓 Want to start your first lesson now?
A quick 5-10 min intro session to learn your first 10 words and get familiar with the system.
Type "yes" to start, "later" to begin on your own.If yes, hand off to the fluent-learn skill.
Profile Updates (existing profile)
# 👋 Welcome back, {name}!
You already have a learning profile.
What would you like to do?
1. **Update profile** — change goals, timeline, or preferences
2. **View current plan** — see your learning schedule
3. **Reset progress** — start fresh (⚠️ erases all progress!)
4. **Cancel** — keep everything as is
**Type 1, 2, 3, or 4:**- 1 — ask which field, update only that field, preserve the rest.
- 2 — render the plan section from current data. Read-only.
3 — confirm twice. This deletes every file in the resolved data directory. Back up first:
DATA_DIR="$(python3 -c " import sys; sys.path.insert(0, '${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks') from fluent_paths import data_dir print(data_dir()) ")" TS="$(date +%Y%m%d-%H%M%S)" mkdir -p "$DATA_DIR/.backups/pre-reset-$TS" cp "$DATA_DIR"/*.json "$DATA_DIR/.backups/pre-reset-$TS/"Then restart setup from Step 2.
- 4 — exit cleanly.
Examples
Example 1 — first-time setup flow
Learner runs /fluent-setup. After collecting all 11 answers, compute months, generate plan, write 6 JSON files, offer first lesson.
Example 2 — returning-user profile reset
Learner: "reset my progress, I want to start over"
You're about to delete:
- 42 sessions
- 6-day streak
- 287 vocabulary items
- 12 mastered patterns
This is irreversible. Type
RESET(all caps) to confirm, or anything else to cancel.
Critical Rules
- Never auto-invoke. Re-running this can reset a learner's progress. Must be an explicit
/fluent-setup. - Confirm twice before reset. "This will erase X days of progress, Y sessions, and Z mastered words. Proceed? (yes/no)".
- Always seed all 6 files — every other skill assumes they exist.
- Back up before reset. Hooks may not fire here; back up manually to
.backups/pre-reset-<timestamp>/. - Don't invent data. Start every file empty — progress, mistakes, mastery all start at zero. The system builds up from real sessions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

