/parlo:setupfrom parlo language learning
Builds or extends a parlo language profile with core sentences, word swaps, essentials, and an smem deck. Invoked via /parlo:setup or when user says 'start learning <language>'.
Ships in parlo language learning. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Builds the smallest set of material that gets someone speaking: 8-10 core
sentences they can remix, plus a one-page reference. The output is a profile
at ~/.config/parlo/<code>.json and an smem deck made from it. Every other
parlo skill reads that profile, so nothing about the language lives in a skill.
Helper: ${CLAUDE_PLUGIN_ROOT}/scripts/parlo.sh (profile, check, cards).
Schema and a filled-in sample: ${CLAUDE_PLUGIN_ROOT}/profile.example.json.
Keep the session moving. The method's warning is that collecting material replaces speaking; aim to finish in one sitting and get the user saying sentences out loud before it ends.
Map the argument to an ISO 639-1 code (es, ja, pt). If
parlo.sh profile <code> finds a profile, load it and ask what to change
(add sentences, add swaps, update level, rebuild cards) instead of starting
over. Otherwise ask, one at a time:
style).show_pronunciation, default true for beginners). While it's true, show
phonetics under every phrase in this setup too.Answer these four in one line each, for this learner (fills difficulty):
These are Tim Ferriss's questions for sizing up a language.
Propose 8-10 sentences drawn from the learner's reason for learning. Across the set, cover:
For each sentence, show the target text, English, and its parts (subject, verb, object), plus one swap: the same pattern with one slot changed. Let the user edit the list before saving. Prefer sentences they'd say in their real life over textbook sentences.
Answer the four questions briefly. This is a reference card, not a grammar book:
common: 8-15 of the most common words and phrases, each with a
target/english pair.verbs: present tense of the 3-6 most useful verbs.questions_negatives: how questions and negatives form, in one or two
sentences.patterns: 3-5 key grammar patterns, one line each.mkdir -p ~/.config/parlo
# write the profile, then:
${CLAUDE_PLUGIN_ROOT}/scripts/parlo.sh check ~/.config/parlo/<code>.json
Fix whatever check names and re-run it until it prints ok.
If smem_deck_id is null, run smem deck list. Offer an existing deck for
this language if there is one, otherwise create one:
smem deck create --name "<language>" --description "parlo core sentences"
Write the id into the profile. Then generate cards, skipping any front the deck already has, and import them:
smem io export --deck <id> > <scratch>/existing.json
${CLAUDE_PLUGIN_ROOT}/scripts/parlo.sh cards <profile> <scratch>/existing.json > <scratch>/cards.json
smem io import --deck <id> --file <scratch>/cards.json
The cards go English to target language, so review drills producing the language, not recognizing it.
For each core sentence, play it with
${CLAUDE_PLUGIN_ROOT}/scripts/parlo.sh say <profile> "<target>", then have
the user say it out loud. Show the target text, its phonetics when
show_pronunciation is true, and its English, so the sounds attach to a
meaning. Audio is generated once through ElevenLabs and
reused from ~/.config/parlo/audio/ after that.
If say reports a missing ~/.config/parlo/config.json, offer to create it
from ${CLAUDE_PLUGIN_ROOT}/config.example.json. Store the API key as an
op:// reference, never the raw key. A profile may set its own voice_id to
override the default voice with a native speaker for that language.
Then point them to:
/parlo:drill: daily speaking practice with word swaps./parlo:review: spaced repetition through smem./parlo:explain: breaks down anything in the language they don't follow.If their CLAUDE.md doesn't mention the profile yet, suggest adding one line naming it so every session knows the active language.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
4 skills in this plugin
/drillDaily speaking drill on the core sentences from a parlo profile: say it out loud, then swap words to build new sentences. Invoke with /parlo:drill [code] or when the user says 'drill me', 'practice speaking', 'daily reps', or 'sentence practice'./explainBreak down foreign-language phrases from recent conversation, or a phrase given as an argument, using the active parlo profile. Invoke with /parlo:explain [phrase] or when the user says 'what did you say?', 'explain that', 'break that down', or says they don't understand in the language they're learning./reviewSpaced repetition review of a parlo language deck using the smem CLI. Invoke with /parlo:review [code] [count] or when the user says 'quiz me', 'study time', 'flash cards', or 'review cards'.npx claudepluginhub joecotellese/claude-code-config --plugin parlo