学习入口:/learn-start、/learn、/learn-feynman、/learn-profile、/learn-save、/learn-clean、/learn-feedback 七个命令,配合学生数据、错误处理与通用任务教学规则;未安装学科包时也能继续教学。
安装
# npm 包(预构建)
dsh plugin --profile web add baicai-edu-learn
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:gengyabc/baicai-edu#path:/learn
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
English
An all-ages shared learning entry and teaching base, with primary-school teaching as the focus. It prefers an applicable subject package; when no package is installed or none fits the stage, the general-task teaching shipped in this package continues, so no extra package is required.
Entries
| Command | Purpose |
|---|---|
/learn-start |
Choose a subject, identify or create the student |
/learn |
Adaptive learning loop |
/learn-feynman |
Feynman mode: the student explains, the AI is the listener |
/learn-profile |
View or edit the student profile |
/learn-save |
Save the current session by hand |
/learn-clean |
User-only cleanup; normal cleanup keeps identity, originals and backups; high-risk deletion needs two independent confirmations |
/learn-start, /learn and /learn-clean can only be started by typing the /command; /learn-feynman, /learn-profile and /learn-save also load automatically inside a conversation ("let me explain it to you", "look at my profile", "save this").
Getting started
Start with /learn-start the first time, then use /learn.
/learn-start: a subject card appears — pick math, Chinese or English, or just describe another goal; you can also simply chat. Then confirm which student this is: choose an existing profile from a card, or create one on the spot; stage, grade and preferences can all be skipped. This step only fixes identity and subject; it does not start teaching./learn: enter with a goal, for example/learn 分数减法,/learn 我想自己推平行四边形面积公式,/learn 给我三道分数加法题. A bare/learncontinues from the profile's current goal, the last unfinished position, or a recommendation.
Wherever you must decide (subject, student, continue / switch content / end) you get a clickable card and may type your own answer or skip it; teaching questions and thinking prompts stay plain text, so just reply.
Caution: high-risk deletion
The /learn-clean options "completely delete a given student (high risk)" and "wipe all student data (high risk)" permanently remove identity, learning records, user originals and original backups. They cannot be recovered automatically and no recovery copy is kept.
Preview and confirm the scope first, then separately type the confirmation phrase by hand (the per-student one contains the real id). Clicking the scope confirmation alone, saying "confirm", skipping or replying empty does nothing. Normal cleanup still keeps identity, originals and backups; editing skills is never deletion permission. Full rules: high-risk deletion.
Install
From the registry, name every bundle you want enabled. pnpm installs a dependency, but DSH enables only the bundles its call selects, so this shared package is listed explicitly. Installing it alone gives general-task teaching and the five support areas:
# low-band math: shared packages, board and band, all selected
dsh plugin --profile web add baicai-edu-learn baicai-edu-math baicai-edu-math-board baicai-edu-math-primary-low
# shared capability only
dsh plugin --profile web add baicai-edu-learn
From this checkout, use the unified entry (it packs the dependency closure into tarballs, matching the registry layout):
# Shared capability only (run from the repository root)
node scripts/install.mjs learn --profile web
# For teaching: pulls this package in automatically; low-band math also gets the board
node scripts/install.mjs math-primary-low --profile web
node scripts/install.mjs math-primary-high --profile web
Restart if DSH says so, then refresh the Web session: the / menu shows the 6 entries, the model catalog lists learn-feynman, learn-profile and learn-save, and installed subject packages add their own internal skills. The shared package never installs every subject in reverse. Do not install this checkout with link:: pnpm does not bring its dependencies, and a single-provider setup then cannot find them. Unified entry, re-install and manual-disable behavior: installation guide.
Where the data lives
System state lives in outputs/students/; user-dropped originals live in data/students/<id>/<subject>/raw/. Both sit in the current workspace and are never shipped with the package; originals are read-only, so rename only after backing up. Fields, write exceptions and per-turn records: student data directories.
Further reading
| To learn about | Go to |
|---|---|
| Internal skill roles, invocation tiers, who owns each rule | Skills and rule ownership |
| Student data directories, log compatibility and write exceptions | Student data directories |
| Dependencies, existing subject packages, adding a subject | Dependencies and subjects |
| How "I don't know what to learn" is answered | Learning recommendations |
| Behavior list that needs a real conversation | Conversation acceptance scenarios |
Editing skills, building resources/, validation commands |
Development and validation |
中文
全年龄共享学习入口与教学底座,以小学教学为重点。优先采用适用的专门学科包;缺包或阶段不适配时,用随本包提供的通用任务教学继续帮助,不要求另装通用包。
提供的入口
| 命令 | 作用 |
|---|---|
/learn-start |
选科目,识别或创建学生 |
/learn |
自适应学习主循环 |
/learn-feynman |
费曼模式:学生讲,AI 当学生 |
/learn-profile |
查看/修改学生档案 |
/learn-save |
手动保存当前会话 |
/learn-clean |
用户专用清理;普通清理保留身份、原件和备份;高风险彻底删除需两次独立确认 |
/learn-start、/learn、/learn-clean 只能由用户键入 /命令 发起;/learn-feynman、/learn-profile、/learn-save 也能在对话里自动加载(“我来给你讲”“看看我的档案”“保存一下”)。
使用简介
第一次从 /learn-start 开始,之后都用 /learn。
/learn-start:先弹出科目卡片,选数学、语文、英语,或直接描述其他目标;也可以只聊几句。再确认是哪个学生——已有档案的从卡片里选,没有的当场建档,阶段、年级和偏好都能跳过。这一步只确定身份和科目,不开始教学。/learn:带着目标进入,例如/learn 分数减法、/learn 我想自己推平行四边形面积公式、/learn 给我三道分数加法题。只输入/learn时,从档案的当前目标、上次未完成的位置或推荐里继续。
过程中需要你拿主意的地方(选科目、确认学生、继续/换个内容/结束)都是可点击的卡片,也能自己填写或跳过;教学里的追问和思考题仍是普通文字,直接回复即可。
小心高风险删除
/learn-clean 可选的「彻底删除指定学生(高风险)」与「清空所有学生数据(高风险)」会永久删除身份、学习记录、用户原件和原件备份,不可自动恢复,也不会另建恢复副本。
先预览并确认范围,再单独手动输入确认短语(指定学生包含真实 id)。只点击范围确认、说“确认”、跳过或空回应都不会执行。普通清理仍保留身份、原件和备份;修改技能不构成删除授权。详细规则见高风险删除。
安装
从 registry 装时请显式列出要启用的 bundle:pnpm 会装依赖,但 DSH 只启用本次命令选中的 bundle,所以本共享包要写出来。只装它时提供通用任务教学与五类支持:
# 低年级数学:共享包、画板与本年级段包一起选中
dsh plugin --profile web add baicai-edu-learn baicai-edu-math baicai-edu-math-board baicai-edu-math-primary-low
# 只装共享能力
dsh plugin --profile web add baicai-edu-learn
本仓库本地 checkout 用统一入口(它把依赖闭包 pack 成 tarball 安装,与 registry 布局一致):
# 只装共享能力(在仓库根目录运行)
node scripts/install.mjs learn --profile web
# 学科使用:安装器自动补齐本包;低年级数学还会配齐画板
node scripts/install.mjs math-primary-low --profile web
node scripts/install.mjs math-primary-high --profile web
按 DSH 输出决定是否重启,再刷新 Web 会话:/ 菜单出现 6 个入口命令,模型目录出现 learn-feynman、learn-profile、learn-save,已装学科包还会提供各自的内部 skill。共享包不反向安装所有学科。不要用 link: 装本仓库的 checkout:pnpm 不会带上它的依赖,单份 provider 也就找不到它们。统一入口、重复安装与手动禁用见安装说明。
数据放在哪
系统状态在 outputs/students/;用户投放原件在 data/students/<id>/<subject>/raw/。两处都在当前工作区,不随包发布;原件只读,改名须先备份。字段、写入例外与逐轮记录见学生数据目录。
深入阅读
| 想了解 | 位置 |
|---|---|
| 内部技能职责、入口调用档位、每条规则归谁 | 技能与规则所有权 |
| 学生数据目录、日志兼容与写入例外 | 学生数据目录 |
| 依赖关系、现有学科包、接入新学科 | 依赖与接入 |
| 「不知道学什么」时怎么推荐 | 学习推荐 |
| 需要真实对话运行的行为清单 | 对话验收场景 |
改技能、构建 resources/ 与验证命令 |
开发与验证 |
链接
同类插件
tw93/Mole#mole★ 76215
开源磁盘清理工具 Mole CLI(mo,支持 macOS 和 Windows)的官方 skill:按 Mole 的 JSON 输出查看磁盘占用、预览并执行清理、查看已安装应用、读取系统健康状态和清理记录。清理前先用 --dry-run 预览并征得同意,卸载应用和需要管理员权限的步骤留给用户在自己的终端里执行。插件只带 skill,CLI 需另外安装。
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10645
技能中心:按来源分级浏览已加载的全部 skill,启用/禁用模型调用、创建新技能、删除进可恢复回收站。
QingYunA/answer-me-with-html★ 6673
把回答做成一页可视化 HTML:模型只写简短的 Markdown 草稿,随包附带的 `am` 命令行生成页面,支持流程图、时序图、树、时间线、ER 图、表格和提示框。
iflytek/skillhub#dsh★ 5501
在 DeepSeek Harness 内浏览、搜索 SkillHub 技能,并管理本地技能的安装、更新和卸载。适配 DSH 0.2.0-rc.2 与 0.2.1-rc.2,暂不兼容 0.2.1-rc.3。
hyhmrright/brooks-lint★ 1590
提供六个代码质量技能,涵盖代码审查、架构审计、技术债、测试质量、健康看板与修复。
GanyuanRan/Aegis★ 1455
面向编码 Agent 的软件工程方法包,提供基线优先规划、系统化调试、提示词卫生、完成前验证,以及修复/退役双轨跟踪技能。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。