/llm-tutor:tutor-statusfrom LLM Tutor
Displays the llm-tutor dashboard showing XP total, cycles balance with time-until-refill, active topics with progress, completed topics with XP earned, and lifetime stats.
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 dashboard reader for llm-tutor. Shows the user's current state at a glance — XP, cycles, what they're working on, what they've finished.
This skill is read-only — it doesn't modify state, doesn't charge cycles, doesn't reward feedback. It just queries state.json and renders a formatted overview.
STATE="$CLAUDE_PLUGIN_ROOT/scripts/state.sh"
# Ensure state file exists (idempotent — no-op if already initialized)
bash "$STATE" init >/dev/null
# Refill cycles if daily reset is due (defensive — the hook should have
# done this, but doesn't hurt to be sure on a status query)
bash "$STATE" refill-cycles >/dev/null 2>&1 || true
XP=$(bash "$STATE" get .user.xp)
CYCLES=$(bash "$STATE" get .user.cycles)
CYCLES_CAP=$(bash "$STATE" get .user.cycles_cap)
LAST_RESET=$(bash "$STATE" get .user.cycles_last_reset)
# Current tier + progress toward next tier
TIER="$CLAUDE_PLUGIN_ROOT/scripts/tier.sh"
TIER_NAME=$(bash "$TIER" name "$XP")
TIER_INDEX=$(bash "$TIER" index "$XP")
NEXT=$(bash "$TIER" next "$XP")
# NEXT is either "max" or "<name>|<xp_needed>"
# Topic counts
TOPICS_JSON=$(bash "$STATE" get .topics)
ACTIVE_TOPICS=$(echo "$TOPICS_JSON" | jq 'to_entries | map(select(.value.status == "in_progress"))')
COMPLETED_TOPICS=$(echo "$TOPICS_JSON" | jq 'to_entries | map(select(.value.status == "completed"))')
ACTIVE_COUNT=$(echo "$ACTIVE_TOPICS" | jq 'length')
COMPLETED_COUNT=$(echo "$COMPLETED_TOPICS" | jq 'length')
The cycles hook refills 24 hours after cycles_last_reset. Compute the remaining time.
NOW_EPOCH=$(date -u +%s)
if [[ "$(uname -s)" == "Darwin" ]]; then
LAST_EPOCH=$(date -j -u -f "%Y-%m-%dT%H:%M:%SZ" "$LAST_RESET" +%s 2>/dev/null || echo 0)
else
LAST_EPOCH=$(date -u -d "$LAST_RESET" +%s 2>/dev/null || echo 0)
fi
ELAPSED=$((NOW_EPOCH - LAST_EPOCH))
REMAINING=$((86400 - ELAPSED))
if [ "$REMAINING" -le 0 ]; then
REFILL_TEXT="due now"
else
HOURS=$((REMAINING / 3600))
MINS=$(( (REMAINING % 3600) / 60 ))
if [ "$HOURS" -gt 0 ]; then
REFILL_TEXT="next refill in ${HOURS}h ${MINS}m"
else
REFILL_TEXT="next refill in ${MINS}m"
fi
fi
The output structure (topic names render from display_name when present, fall back to the slug-key for topics created before v0.5.0):
llm-tutor status
XP: $XP
Cycles: $CYCLES / $CYCLES_CAP ($REFILL_TEXT)
Active topics ($ACTIVE_COUNT):
→ Python decorators progress: N/M concepts acquired
→ What closures are in progress: N/M concepts acquired
Completed topics ($COMPLETED_COUNT):
✓ React Suspense +N XP (YYYY-MM-DD)
✓ Dependency injection +N XP (YYYY-MM-DD)
echo "llm-tutor status"
echo
# Tier line: "Tier 6: Threaded (350 XP to Synced)" or "Tier 10: Self-Hosting (max)"
if [ "$NEXT" = "max" ]; then
printf "Tier %s: %s (max)\n" "$TIER_INDEX" "$TIER_NAME"
else
NEXT_NAME=$(echo "$NEXT" | cut -d'|' -f1)
NEXT_NEEDED=$(echo "$NEXT" | cut -d'|' -f2)
printf "Tier %s: %s (%s XP to %s)\n" "$TIER_INDEX" "$TIER_NAME" "$NEXT_NEEDED" "$NEXT_NAME"
fi
printf "XP: %s\n" "$XP"
printf "Cycles: %s / %s (%s)\n" "$CYCLES" "$CYCLES_CAP" "$REFILL_TEXT"
echo
echo "Active topics ($ACTIVE_COUNT):"
if [ "$ACTIVE_COUNT" -eq 0 ]; then
echo " (none — run /tutor-start <subject> to begin one)"
else
echo "$ACTIVE_TOPICS" | jq -r '.[] |
" → \(.key)|\(.value.concepts | map(select(.status == "acquired")) | length)/\(.value.concepts | length)"' | \
while IFS='|' read -r line acquired_total; do
printf " %-32s progress: %s concepts acquired\n" "$line" "$acquired_total"
done
fi
echo
Wait — that pipe-and-while pattern won't render the → prefix nicely. Let me restructure: extract slug + acquired + total via jq, then format in the loop.
echo "Active topics ($ACTIVE_COUNT):"
if [ "$ACTIVE_COUNT" -eq 0 ]; then
echo " (none — run /tutor-start <subject> to begin one)"
else
# Render display_name when present, fall back to the slug-key for topics
# created before v0.5.0 added the field.
echo "$ACTIVE_TOPICS" | jq -r '.[] |
"\(.value.display_name // .key)|\(.value.concepts | map(select(.status == "acquired")) | length)|\(.value.concepts | length)"' | \
while IFS='|' read -r name acquired total; do
printf " → %-30s progress: %s/%s concepts acquired\n" "$name" "$acquired" "$total"
done
fi
echo
echo "Completed topics ($COMPLETED_COUNT):"
if [ "$COMPLETED_COUNT" -eq 0 ]; then
echo " (none yet)"
else
# display_name with slug-key fallback for legacy topics.
echo "$COMPLETED_TOPICS" | jq -r '.[] |
"\(.value.display_name // .key)|\(.value.xp_earned_total // 0)|\(.value.completed_at // "?")"' | \
while IFS='|' read -r name xp completed_at; do
# Truncate ISO timestamp to date only
completed_date="${completed_at%%T*}"
printf " ✓ %-30s +%s XP (%s)\n" "$name" "$xp" "$completed_date"
done
fi
echo
If at least one topic completed, show the totals:
if [ "$COMPLETED_COUNT" -gt 0 ]; then
LIFETIME_XP=$(echo "$COMPLETED_TOPICS" | jq '[.[].value.xp_earned_total // 0] | add')
FEEDBACK_COUNT=$(echo "$COMPLETED_TOPICS" | jq '[.[].value.feedback_log[]?] | length')
echo "Lifetime: $COMPLETED_COUNT topics done, $LIFETIME_XP XP earned, $FEEDBACK_COUNT sessions with feedback."
fi
If no topics completed AND no active topics, show the cold-start message instead:
if [ "$COMPLETED_COUNT" -eq 0 ] && [ "$ACTIVE_COUNT" -eq 0 ]; then
echo "No topics yet — run /tutor-start <subject> to begin."
fi
init and refill-cycles calls in Step 0 are state.sh's responsibility — they're idempotent and write only when truly required.2026-05-28T14:30:00Z → 2026-05-28. Time-of-day clutters the table.%-30s style padding so slugs line up; otherwise the dashboard reads as ragged.init creates an empty one. Status shows XP=0, cycles=5/5, no topics. That's fine.cycles_last_reset malformed → LAST_EPOCH defaults to 0, REMAINING becomes huge negative, "due now" displays. Acceptable degradation.concepts array is empty (failed /tutor-start) → progress: 0/0 concepts acquired displays. Not pretty but honest. User can re-run /tutor-start to repair.xp_earned_total (pre-this-version state) → // 0 fallback shows +0 XP. Mildly weird but not broken.completed_at → ? shows. Acceptable.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub flagrare/llm-tutor --plugin llm-tutor12 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'.