Daily Tutor Skill
📖 For full user instructions, data setup guides, and Quizbuild MCP configurations, please read the Official README on GitHub.
This skill retrieves new learning items from the user's study list (data/data.json) that they have not learned yet. It works with any subject — the data structure is automatically detected.
When to Use
✅ USE this skill when:
- - The user asks for their daily lesson.
- The user wants to learn new vocabulary, formulas, concepts, or any study content.
- The daily cron job asks for new items.
Data Format
Place your study data in data/data.json as a JSON array. Each item can have any fields you want — the script will auto-detect and display them all. There is no fixed schema; you define the fields that make sense for your subject.
For example formats, see references/EXAMPLES.md.
Optional Configuration
Edit data/config.json to customize behavior (all fields optional):
CODEBLOCK0
| Field | Default | Description |
|---|
| INLINECODE4 | First key of first item | Field used to track progress |
| INLINECODE5 |
10 | Number of items per session |
|
subject_name |
(none) | Display name for the subject |
Commands
CODEBLOCK1
How to Handle Output
The output of get_words.py will be a raw list of items with all their fields.
When you receive the output:
- 1. Process the items exactly as instructed by the user's prompt or the automated Cron job orchestrating this skill.
- OPTIONAL: If you have access to the
quizbuild tool, you can generate a short practice quiz based on the newly retrieved study items. When calling quizbuild__auto_create_exam, you follow this parameter structure:
{
"title": "Quick Review Practice Exam",
"questions": [
{
"content": "Question goes here?",
"type": "multiple_choice",
"answers": [
{"content": "Answer 1", "correct": true},
{"content": "Answer 2", "correct": false}
]
}
]
}
If you do not have
quizbuild, simply list out the practice items and act as a friendly tutor!
File Structure
| File | Purpose |
|---|
| INLINECODE11 | Study data (required) |
| INLINECODE12 |
Configuration (optional) |
|
data/learned_items.json | Progress tracking (auto-generated) |
|
scripts/get_words.py | Main script |
|
references/EXAMPLES.md | Data formatting examples |
每日导师技能
📖 如需完整的用户说明、数据设置指南和Quizbuild MCP配置,请阅读GitHub上的官方README。
该技能从用户的学习列表(data/data.json)中检索尚未学习的新学习项目。它适用于任何学科——数据结构会自动检测。
使用时机
✅ 在以下情况下使用此技能:
- - 用户请求每日课程。
- 用户想要学习新词汇、公式、概念或任何学习内容。
- 每日定时任务请求新项目。
数据格式
将学习数据以JSON数组形式放置在data/data.json中。每个项目可以包含任意字段——脚本会自动检测并显示所有字段。没有固定模式;你可以定义适合自己学科的字段。
示例格式请参见references/EXAMPLES.md。
可选配置
编辑data/config.json以自定义行为(所有字段均为可选):
json
{
primary_key: word,
num_items: 10,
subject_name: Hiragana/Katakana N5
}
| 字段 | 默认值 | 描述 |
|---|
| primarykey | 第一个项目的第一个键 | 用于跟踪进度的字段 |
| numitems |
10 | 每次会话的项目数量 |
| subject
name | (无)_ | 学科的显示名称 |
命令
bash
获取新项目(自动防止重复)
python3 ${OPENCLAW
SKILLROOT}/scripts/get_words.py
如何处理输出
get_words.py的输出将是一个包含所有字段的原始项目列表。
当你收到输出时:
- 1. 严格按照用户提示或编排此技能的自动化Cron任务的指示处理项目。
- 可选: 如果你有权访问quizbuild工具,你可以根据新检索的学习项目生成一个简短练习测验。调用quizbuildautocreateexam时,请遵循以下参数结构:
json
{
title: 快速复习练习测验,
questions: [
{
content: 问题内容?,
type: multiple_choice,
answers: [
{content: 答案1, correct: true},
{content: 答案2, correct: false}
]
}
]
}
如果你没有quizbuild,只需列出练习项目并扮演友好导师的角色!
文件结构
| 文件 | 用途 |
|---|
| data/data.json | 学习数据(必需) |
| data/config.json |
配置(可选) |
| data/learned_items.json | 进度跟踪(自动生成) |
| scripts/get_words.py | 主脚本 |
| references/EXAMPLES.md | 数据格式示例 |