Purpose: Provide a comprehensive HSK Chinese learning system with spaced repetition mastery tracking, vocabulary analysis, and adaptive quiz generation.
Version: 1.2.0
Author: Claw
Date: 2026-02-18
hsk_update_vocab_tracker#Scans memory/*.md files for CJK tokens, categorizes by HSK level, updates memory/hsk‑word‑report.md.
Parameters:
force (boolean): Force update even if recent scan exists (default: false)hsk_update_mastery_from_quiz#Processes quiz‑performance logs and updates mastery database.
Parameters:
date (string): Specific date (YYYY‑MM‑DD) or "all" for all logs (default: "all")hsk_get_mastery_stats#Returns mastery statistics: unknown/learning/mastered counts, breakdown by HSK level.
Parameters:
format (string): Output format: "text", "json", or "markdown" (default: "text")hsk_get_due_words#Lists words due for review based on spaced repetition schedule.
Parameters:
limit (number): Maximum words to return (default: 20)level (number): Filter by HSK level (1‑6), 0 for all (default: 0)hsk_generate_quiz#Generates adaptive HSK quiz with actual questions (multiple choice, fill-in-blank, listening, reading, writing).
Parameters:
difficulty (string): "review", "learning", "new", or "mixed" (default: "mixed")format (string): "simple", "listening", "reading", "writing", or "full" (default: "simple")Quiz Types:
hsk_parse_quiz_log#Parses a quiz‑performance log file and extracts vocabulary.
Parameters:
filePath (string): Path to quiz log file (required)The skill maintains these data files in its data/ directory:
FilePurposehsk‑word‑to‑level.jsonHSK 3.0 word‑to‑level mapping (2,211 words)hsk‑database.jsonFull HSK database with metadatahsk‑mastery‑db.jsonMastery state for all HSK words (user-specific)
Install the skill via ClawHub: bash
clawhub install hsk-learning
Initialize your personal mastery database (required for each user): bash
cd skills/hsk-learning
node scripts/init-mastery-db.js
This creates a fresh hsk-mastery-db.json with all 2,211 HSK words in "unknown" state.
Optional: Configure user settings: bash
cp data/user-config.template.json data/user-config.json
# Edit user-config.json with your preferences
Restart OpenClaw gateway to load the skill: bash
openclaw gateway restart
FilePurposeUser-Specific?Git Ignored?hsk-database.jsonHSK word database (shared)❌ No❌ Nohsk-word-to-level.jsonWord-to-level mapping (shared)❌ No❌ Nohsk-mastery-db.jsonYour personal mastery tracking✅ Yes✅ Yesuser-config.jsonYour preferences (optional)✅ Yes✅ Yesuser-config.template.jsonConfiguration template❌ No❌ No
When publishing or contributing to this skill:
.gitignoreAfter restart, test basic functionality:
javascript
// In an OpenClaw session
hsk_get_mastery_stats({ format: 'text' });
hsk_update_mastery_from_quiz({ date: 'all' });
hsk_get_due_words({ limit: 5 });
Part of William's personalized HSK learning system. Integrated with OpenClaw cron scheduler for automated operation.