/fluent:fluent-speaking-importfrom fluent
Import the results of a Claude app voice speaking session back into Fluent — fetch the results JSON from a Slack channel, Google Drive, pasted text, or a raw transcript, validate and re-score it, convert it to an update-db.py payload, write the standard session results markdown, and update all 6 databases. Fires on /fluent-speaking-import, or on natural-language cues that the learner just finished a voice session (e.g. "I finished my voice practice", "pull in my speaking results", "import my Fluent Speaking session"), after a voice session created by /fluent-speaking-export.
Ships in fluent. 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.
Closes the loop opened by /fluent-speaking-export: takes the results JSON
produced by the claude.ai "Fluent Speaking" Project (schema defined in
.claude/references/voice-project-instructions.md), validates it, converts it
into one update-db.py payload, and records the session exactly like a native
/fluent-speaking session — results markdown, mistakes, SM-2 reviews, streak.
This skill is the authoritative scorer. The external chat's output is evidence, not truth: validate every field, re-derive what doesn't add up.
Trigger on /fluent-speaking-import, or when the learner's message indicates
they just finished (or want to pull in) a voice session — e.g. "I'm done with
voice practice", "pull in my results", "import my speaking session". Don't
fire on vague mentions of speaking practice with no completion/import intent
(e.g. a question about how voice mode works).
python3 "${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks/read-db.py"
Need: computed.next_session_id, computed.today, mistakes_db (existing
pattern_ids), spaced_repetition (item ids), learner profile
(preferences.voice_slack_channel, preferences.voice_slack_channel_id).
In order:
fluent_voice_results JSON block, use it.preferences.voice_slack_channel is set: load
mcp__claude_ai_Slack__slack_read_channel via ToolSearch (and
mcp__claude_ai_Slack__slack_search_channels only as a fallback — see
below). Prefer preferences.voice_slack_channel_id if already saved on
the profile — skip the channel-name search entirely and call
slack_read_channel(channel_id, limit=5) directly. If no
voice_slack_channel_id is saved yet, resolve it once via
slack_search_channels(voice_slack_channel) and save the resulting ID to
that preference field (a normal profile edit) so future imports skip the
lookup.
Scan the 5 newest messages (returned newest-first) for one containing
fluent_voice_results. If none of the 5 match, fetch one more page of 5
older messages (10 total) and stop — do not paginate further. If still
not found after those 10, fall through to Google Drive / ask the learner.
If the JSON was split across a parent message and a threaded reply (the
export skill does this for long cards, but results are always small —
check anyway), use slack_read_thread to pull the reply and concatenate.mcp__claude_ai_Google_Drive__search_files via ToolSearch; query
title contains 'fluent-voice-results', take the newest match, read it
with read_file_content. (The file may have been converted to a Google
Doc — extract the JSON from the text representation.)fluent-speaking /
voice-project-instructions.md rubric (Communication /5, Grammar /3,
Vocabulary /2). Tell the learner you're re-scoring from the transcript.If nothing is found, ask the learner to paste the JSON block from the chat.
fluent_voice_results must be true; session_ref must match an existing
/results/fluent-voice-card-{session_ref}.md (warn and continue if the
card is missing; abort if session_ref is absent entirely).<data_dir>/languages.json exists (multi-language
mode active) and the results JSON has a language field, compare it
(case-insensitive) against the active language's label. On a mismatch —
e.g. the learner practiced Swedish by voice but English is currently
active — stop and ask: "This session was in {results_language}, but
{active_language} is your active language. Run /fluent-language switch {results_language} first, then re-import?" Importing into the wrong
language's databases silently corrupts that language's streak/mastery, so
never import across a mismatch without confirmation.grep -l "{session_ref}" results/fluent-speaking-session-*.md
— if any hit, this session was already imported. Stop and tell the learner
(re-import would double-count streak/session stats).score as their sum (ignore the reported
score if it disagrees).category must be one of grammar, formal_informal,
vocabulary, spelling, prepositions, articles, missing — relabel
to the closest canonical category if not; severity must be
critical/moderate/minor (default moderate).date: valid YYYY-MM-DD, not in the future — else use computed.today.duration_minutes: integer 1-120 — else estimate 2 min per question.| Payload field | Derivation |
|---|---|
session_id | computed.next_session_id (NEVER from the JSON) |
date | validated results date |
duration_minutes | validated duration |
command_used | "/fluent-speaking-import" |
skills_practiced | ["speaking"] |
skill_scores.speaking | {exercises: len(questions), correct: count(communication >= 4), time_minutes: duration_minutes} |
errors[] | flatten questions[].errors; collapse duplicates by pattern; pattern_id = existing mistakes_db id when category+context match one, else {category}_{context_in_snake_case}; carry category, severity, your_answer, correct_answer, context |
review_results[] | for each card "Tutor focus" line whose pattern_id exists in spaced_repetition items: {item_id: pattern_id, quality: floor(score_of_probing_question / 2)} |
new_vocabulary[] | one entry per new_words[] item: item_id = snake_case content (article stripped), item_type: "vocabulary", content/answer from the entry, category: "voice_session", difficulty = learner CEFR level, initial_quality: 3, priority: "medium" |
topics_covered, breakthroughs, focus_next_session | pass through |
session_notes | "Voice session via Claude app ({session_ref}). " + results session_notes |
/results/fluent-speaking-session-{NNN}.md (NNN from session_id),
following .claude/references/session-file-template.md exactly — same
headings and parsing markers (❌, ✅, **Score:** X/10,
**Accuracy:** N%, **Focus Areas:**). Set:
**Skill:** speaking**Command:** /fluent-speaking-import**Modality:** voice (Claude app) — {session_ref}### Question N block per results question, with the learner's spoken
answer, corrections, and the recomputed score.Use the fluent-db-updater skill: pipe the Step-4 payload to
python3 "${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks/update-db.py"
Exit 1 = fix payload and retry; exit 2 = report I/O error, nothing written.
Normal Fluent session summary: questions answered, accuracy, streak status, new words added to the review queue, focus for next session. Celebrate — this was REAL speaking practice. 🎉
Results JSON says {"communication": 4, "grammar": 2, "vocabulary": 2, "score": 9}. 4+2+2 = 8 ≠ 9 → use 8. Review quality for a pattern probed by
this question: floor(8/2) = 4.
session_id comes from read-db.py at import time. The voice chat
must never pick it — another session may have happened in between.update-db.py call, at the end — same rule as every other session.update-db.py rejects a
reused session_id outright (exit 1, nothing written); the Step-3
session_ref duplicate guard exists to catch it before that — re-running
this skill on an already-imported session must not look like new progress./fluent-speaking-export owns the one-time
voice_slack_channel preference (this skill may still cache
voice_slack_channel_id as a read-side optimization if export hasn't yet)./fluent-speaking-import.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/fluent-db-updaterAtomically update all 6 Fluent learner databases (learner-profile, progress, mistakes, mastery, spaced-repetition, session-log) at session end by calling .claude/hooks/update-db.py with a single JSON payload. Use at the end of every practice session — fluent-writing, fluent-vocab, fluent-speaking, fluent-reading, fluent-review, fluent-learn — to persist the session's errors, review results, new vocabulary, and session metadata./fluent-feedback-formatterCanonical feedback template for every learner answer in the Fluent system — celebrate correct parts, correct mistakes with category and brief explanation, show the full correct version, score out of 10, and classify severity (🔴 critical / 🟡 moderate / 🟢 minor). Use in every practice session (fluent-writing, fluent-vocab, fluent-speaking, fluent-reading, fluent-review) immediately after the learner submits an answer./fluent-languageList, switch, and add languages for multi-language learners — each language gets its own isolated set of the 6 databases under data/<slug>/, tracked in data/languages.json. Triggered only when the learner types /fluent-language (list / switch <language> / add). Never auto-invoke — switching or adding changes which database directory every other skill reads from next./fluent-learnMain adaptive language-learning session that mixes skills (writing, speaking, vocabulary, reading) and exercise types based on the learner's current level, weak patterns, and due reviews. Triggered only when the learner types /fluent-learn. Greets the learner, shows today's plan, asks what to practice, runs interleaved exercises one at a time, and updates all databases at the end./fluent-progressShow the learner's language learning progress, statistics, mastery levels, streak, and achievements. Use when the learner asks "how am I doing", "show my progress", "stats", "dashboard", "what's my streak", "how many words have I learned", or invokes /fluent-progress. Read-only — safe to auto-invoke./fluent-readingRun an interactive reading comprehension session with a short target-language text followed by main-idea, detail, vocabulary-in-context, inference, and true/false questions. Triggered only when the learner types /fluent-reading. Presents the text, waits for the learner to read, then asks questions one at a time with immediate feedback, and optionally adds new vocabulary to the spaced-repetition queue.npx claudepluginhub mituso89/fluent --plugin fluent