/llm-tutor:tutor-resumefrom LLM Tutor
Resumes a paused tutoring session by finding the user's active in-progress topic, reorienting them on their progress, and handing off to the tutor persona. Supports multiple active topics with user selection.
Ships in LLM Tutor. 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.
The "pick up where you left off" skill. After a break — minutes, hours, or days — the user invokes this to be re-oriented into their active topic without having to remember the slug or re-invoke /tutor-start.
This skill is read-mostly: it queries state to find the active topic, prints an orientation message, and hands off to the persona. It does NOT charge cycles (the user already paid when they originally invoked /tutor-start on this topic; resume is free).
STATE="$CLAUDE_PLUGIN_ROOT/scripts/state.sh"
bash "$STATE" init >/dev/null
bash "$STATE" refill-cycles >/dev/null 2>&1 || true
ACTIVE_SLUGS=$(bash "$STATE" get '[.topics | to_entries[] | select(.value.status == "in_progress") | .key]')
ACTIVE_COUNT=$(echo "$ACTIVE_SLUGS" | jq 'length')
If ACTIVE_COUNT is 0:
"No topics in progress. Run
/tutor-start <subject>to begin one, or/tutor-statusto see your completed topics."
Exit cleanly.
If ACTIVE_COUNT is 1, use that slug. Skip to Step 2.
SLUG=$(echo "$ACTIVE_SLUGS" | jq -r '.[0]')
If ACTIVE_COUNT > 1, list them with brief progress info and ask the user to pick.
echo "You have $ACTIVE_COUNT active topics:"
echo
echo "$ACTIVE_SLUGS" | jq -r '.[]' | nl -w1 -s'. ' | while read -r line; do
# line is "1. slug-name"
num=$(echo "$line" | cut -d. -f1)
slug=$(echo "$line" | cut -d'.' -f2- | sed 's/^ //')
# Display the human name (display_name set at /tutor-start time) when
# present; fall back to the slug-key for topics created before v0.5.0.
display=$(bash "$STATE" get ".topics[\"$slug\"].display_name // \"$slug\"")
acquired=$(bash "$STATE" get ".topics[\"$slug\"].concepts | map(select(.status == \"acquired\")) | length")
total=$(bash "$STATE" get ".topics[\"$slug\"].concepts | length")
current_name=$(bash "$STATE" get ".topics[\"$slug\"].concepts[\"$(bash "$STATE" get ".topics[\"$slug\"].current_concept_index")\"].name // \"?\"")
printf " %s. %-30s (concept %s/%s: %s)\n" "$num" "$display" "$((acquired + 1))" "$total" "$current_name"
done
echo
echo "Which one are you resuming? (Type the name or the number.)"
Wait for the user's answer. Accept either:
Validate the input. If invalid: "I don't see that as one of the active topics. Try again." Re-prompt.
CONCEPTS=$(bash "$STATE" get ".topics[\"$SLUG\"].concepts")
CURRENT_IDX=$(bash "$STATE" get ".topics[\"$SLUG\"].current_concept_index")
CALIBRATION=$(bash "$STATE" get ".topics[\"$SLUG\"].calibration")
# display_name with slug-key fallback for topics created before v0.5.0.
DISPLAY=$(bash "$STATE" get ".topics[\"$SLUG\"].display_name // \"$SLUG\"")
TOTAL=$(echo "$CONCEPTS" | jq 'length')
ACQUIRED_COUNT=$(echo "$CONCEPTS" | jq '[.[] | select(.status == "acquired")] | length')
# Current concept name (1-based for display)
CURRENT_NAME=$(echo "$CONCEPTS" | jq -r ".[$CURRENT_IDX].name")
CURRENT_POS=$((CURRENT_IDX + 1))
# Comma-separated names of acquired concepts (in order)
ACQUIRED_NAMES=$(echo "$CONCEPTS" | jq -r '[.[] | select(.status == "acquired") | .name] | join(", ")')
# Comma-separated names of upcoming pending concepts (in order, AFTER current)
UPCOMING_NAMES=$(echo "$CONCEPTS" | jq -r --argjson i $CURRENT_IDX \
'[.[($i + 1):] | .[] | select(.status == "pending") | .name] | join(" → ")')
The orientation is brief — 3-4 lines max. The user is RESUMING, not starting; they don't need a tutorial on what the path looks like (that's /tutor-path).
echo "Resuming $DISPLAY."
echo
echo "You're at concept $CURRENT_POS/$TOTAL: $CURRENT_NAME"
if [ -n "$ACQUIRED_NAMES" ]; then
echo "Already acquired: $ACQUIRED_NAMES"
fi
if [ -n "$UPCOMING_NAMES" ] && [ "$UPCOMING_NAMES" != "" ]; then
echo "Up next: $UPCOMING_NAMES"
fi
echo
Example output:
Resuming Python decorators.
You're at concept 3/6: wrapper functions
Already acquired: closures, first-class functions
Up next: @ syntax → decorators with arguments → real-world patterns
This is the hand-off cue. The active persona (Echo / Cipher / Vex via output style) picks up the dialogue from here.
The hand-off message depends on the calibration branch the user was on when the topic was started:
"Picking up at $CURRENT_NAME. Match what we were doing before — pose a fresh problem on this concept (productive-failure style) and let the user attempt. If you can sense they need scaffolding from how long the pause has been, drop down a hint rung; otherwise keep the difficulty where it was."
"Picking up at $CURRENT_NAME. Match what we were doing before — worked example or guided practice as appropriate. If you can sense they need a refresher, recap in one sentence before the next question; otherwise keep moving."
The skill ends here. The persona takes over.
/tutor-start on this topic. The cycles_paid: true flag in state is the receipt./tutor-path if they want that.current_concept_index is past the array length (could happen if /tutor-done was almost called but failed) → Treat as "at the last concept" and continue. Don't crash./tutor-start) → Print: "$SLUG has no concepts — looks like the path generation failed. Try /tutor-start $SLUG to regenerate." Exit./tutor-start semantics./tutor-done $SLUG to close it out." Exit.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
12 skills in this plugin
/tutor-codebaseStart a Socratic tutoring journey grounded in an actual codebase. Reads files via Read/Grep/Glob to build the learning path; concepts carry file:symbol anchors so the tutor can reference real code. Invoke with a path: /tutor-codebase ./my-repo (defaults to 'overview' aspect) or /tutor-codebase ./my-repo 'auth flow' (scoped aspect). Triggers: '/tutor-codebase', 'tutor me through this codebase', 'teach me how this repo works', 'help me understand this code'. Distinct from /tutor-start: this one reads real files to ground the curriculum./tutor-doneClose an active tutoring topic. Calculates XP earned from per-concept first-attempt quality, marks the topic complete in state, runs the hybrid feedback flow (thumbs + targeted rotating question with cycles rewards), and logs feedback for later analysis. Invoke when you're done with a topic. Use with no arg to close the currently-active topic, or pass a slug (/tutor-done python-decorators) to close a specific one. Triggers: '/tutor-done', 'I'm done with this topic', 'close out this tutoring session', 'mark this complete'./tutor-pathShow the learning path for an active or completed tutoring topic — the ordered list of prerequisite concepts with progress markers and dependency annotations. Internal-by-default; the path is generated by /tutor-start but kept hidden unless the user explicitly asks to see it. Invoke with no arg to show the current in-progress topic, or pass a slug (/tutor-path python-decorators) for a specific one. Triggers: '/tutor-path', 'show me the path', 'what are we covering', 'show me the curriculum', 'how many concepts left'.npx claudepluginhub flagrare/llm-tutor --plugin llm-tutor