Manual controls for the polyglot language learning system. Use this skill to switch languages, adjust difficulty, add vocabulary, or check progress. Vocabulary injection happens automatically via hooks.
This skill provides manual controls for the polyglot language learning system. Vocabulary injection happens automatically in the background via hooks - this skill is for when users want to explicitly manage their learning.
When a user invokes this skill or asks about language learning, help them with these commands:
User says: "Switch to Spanish", "Learn French now", "Change language to Japanese"
Action: Update the config file with the new language code:
CONFIG_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/polyglot/config.json"
# Read current config, update language, write back
jq '.language = "es"' "$CONFIG_FILE" > tmp.$$.json && mv tmp.$$.json "$CONFIG_FILE"
Language codes: ru (Russian), es (Spanish), (German), (French), (Japanese)
defrjaUser says: "Make it easier", "Set difficulty to 8", "I want more immersion"
Action: Update the difficulty level (1-10) in config:
CONFIG_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/polyglot/config.json"
jq '.difficulty = 8' "$CONFIG_FILE" > tmp.$$.json && mv tmp.$$.json "$CONFIG_FILE"
Difficulty levels:
User says: "Add the word 'database' to my vocabulary", "Add 'recursion' in Russian"
Action: Run the add script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/add" <language> "<term>" "<translation>"
Example:
bash "${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/add" ru "база данных" "database"
User says: "How's my Russian?", "Show my Spanish progress", "What vocabulary have I learned?"
Action: Run the stats script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/stats" <language>
Example output:
Language: ru
Total vocabulary: 120
Seen at least once: 45
Familiar (mastery ≥3): 18
Mastered (mastery 5): 5
Total exposures: 234
Top 10 most reviewed:
функция: 23x (mastery: 4)
переменная: 19x (mastery: 4)
массив: 15x (mastery: 3)
User says: "What words should I review?", "What's due for practice?"
Action: Run the get_due script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/get_due" <language>
User says: "Set up polyglot", "Initialize my config"
Action: Run the init script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/init"
This creates ~/.config/polyglot/config.json with default settings.
The polyglot plugin uses hooks for automatic vocabulary injection:
You don't need to do anything - vocabulary appears naturally as you code. Use this skill only when you want to change settings or check progress.
The system tracks:
Terms reappear based on spaced repetition intervals:
All scripts are in ${CLAUDE_PLUGIN_ROOT}/skills/polyglot/scripts/:
init - Initialize user configurationget_due - Fetch terms due for reviewrecord - Record vocabulary exposureadd - Add new vocabulary termstats - Show progress statistics