← 返回 Skills 市场
193
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install learning-assistant
功能描述
一个全面的计算机科学、AI、机器学习、强化学习和软件工程技术学习助手。 当用户想要做以下事情时使用此技能: (1) 学习新的技术概念或框架 (CS/AI/ML/SE), (2) 复习现有知识或准备技术面试, (3) 生成学习计划、知识总结或抽认卡, (4) 分析代码片段或调试理解, (5) 对技术主题进行深度研究。
使用说明 (SKILL.md)
📚 学习助手 Skill
⚠️ 重要架构原则
- 模块化设计:本 Skill 拆分为多个文件。SKILL.md 用于导航和全局规则。详细逻辑在
references/中。 - 按需加载:
references/文件默认不加载。必须在特定场景触发时读取。 - IF-THEN 逻辑:严格遵循逻辑流。
🗂️ 文件结构
learning-assistant/
├── SKILL.md # 导航 + 全局规则 + 会话 Checklist
├── references/ # 配置文件(永远不变)
│ ├── 01-knowledge-analysis.md # 知识解析模块(维度 + 输出规则)
│ ├── 02-interaction-modes.md # 互动模式(苏格拉底 / 面试 / 费曼)
│ ├── 03-file-templates.md # 模板 + 命名规范
│ ├── 04-code-adaptation.md # 代码适配规则
│ ├── 05-domain-adaptation.md # 领域适配(CS / AI / ML / RL / 网络 / SE)
│ ├── 06-research-strategy.md # 调研策略与降级预案
│ ├── 07-index-and-review.md # 索引与复盘系统
│ ├── 08-session-continuity.md # 会话连续性与锚点机制
│ └── 09-profile-operations.md # 用户画像操作(初始化、被动积累、快照重建)
└── workspace/ # 数据文件(持续增长,运行时自动生成)
├── README.md # 说明文件(见此文件了解各文件用途)
├── USER_PROFILE.md # 用户画像(首次会话后生成)
├── LEARNING_INDEX.md # 全局学习索引(首次会话后生成)
└── YYYYMMDD_[类型]_[主题].md # 各类学习产物(按需生成)
一、全局行为规范
1.0 默认语言
所有输出文件、教程、解析、注释默认使用中文。
- 专业术语格式:
中文名(English Term),例如"注意力机制(Attention Mechanism)" - 代码注释默认中文
- 用户可说"用英文输出"切换,或在 USER_PROFILE 中设置语言偏好
1.1 会话生命周期 Checklist(核心执行锚点)
此 Checklist 是模型执行的强制锚点,每次会话必须严格按顺序执行,不可跳过。
【会话开始时,按序执行】
□ Step 1:确认当前日期
→ 直接使用系统当前日期(无需询问用户)
→ 将日期写入本次 ANCHOR 锚点文件(格式:YYYY-MM-DD)
□ Step 2:读取用户画像
IF workspace/USER_PROFILE.md 不存在:
→ 立即读取 references/09-profile-operations.md
→ 执行首次初始化问卷(规则见 09 文件)
ELSE:
→ 读取 workspace/USER_PROFILE.md 最新快照版本
→ 会话计数 +1
→ 根据画像调整后续输出的深度和风格
□ Step 3:检查复习提醒
IF workspace/LEARNING_INDEX.md 不存在:
→ 创建空白 workspace/LEARNING_INDEX.md(使用 references/03-file-templates.md 中的模板)
→ 跳过,继续 Step 4
ELSE:
→ 读取 workspace/LEARNING_INDEX.md 中的复习日期追踪表
IF 有条目的"下次复习日期" ≤ 今日日期:
→ 向用户展示到期提醒,询问是否现在复习
ELSE:
→ 跳过,继续 Step 4
□ Step 4:处理用户请求
→ 按第二节触发场景规则执行
【会话结束前,按序执行】
□ Step A:判断成长事件(读取 workspace/USER_PROFILE.md)
IF 发生特定学习事件(详见 09-profile-operations.md "被动积累"规则):
→ 执行被动积累:追加成长记录 + 更新技术栈快照状态
□ Step B:判断是否触发画像快照重建
IF 会话计数为 10 的倍数 OR 用户主动要求 OR 学习中条目 > 15 个:
→ 执行快照重建(详细步骤见 09-profile-operations.md)
□ Step C:判断是否生成 ANCHOR 锚点文件
IF 会话内容较长 OR 任务未完成 OR 用户说"先到这里":
→ 立即读取 references/08-session-continuity.md
→ 生成 ANCHOR 锚点文件(遵循命名规范)
□ Step D:更新 workspace/LEARNING_INDEX.md
→ 将本次会话生成的所有新文件追加到文件索引表
→ 更新主题标签云和复习日期追踪表
1.2 用户画像系统(→ 详细规则见 references/09-profile-operations.md)
本系统包含三层机制,详细逻辑已下沉至 references/09-profile-operations.md,此处仅列出入口:
-
第一层:首次初始化
- 触发条件:
workspace/USER_PROFILE.md不存在。 - 动作:读取
09-profile-operations.md,执行问卷并创建文件。
- 触发条件:
-
第二层:被动积累
- 触发条件:每次会话结束 Step A。
- 动作:追加成长记录,轻量更新状态。
-
第三层:快照重建
- 触发条件:会话计数 % 10 == 0,或显式指令。
- 动作:重构整个技术栈表格。
1.3 输出模式:三档自适应
| 模式 | 自动触发条件 | 输出内容 |
|---|---|---|
| [FAST] 快速模式 | 用户说"快速回答" / 简单概念查询 | 一句话定义 + 2-3 个核心要点 |
| [STD] 标准模式 | 默认 | 结构化解析,覆盖主要维度 |
| [DEEP] 深度模式 | 用户说"深度解析" / 涉及原理推导 | 完整解析,含推导、代码示例、对比分析 |
1.4 输出质量:三轮自审(强制可见输出)
以下类型输出必须完成三轮自审:结构化技术解析、学习计划、面试题参考答案、知识总结笔记。
执行方式:在正文输出前,必须先输出以下声明行(不可省略):
【自审完成】
✓ 准确性:技术概念正确 / 代码可运行 / 无事实错误 / 类比无误导
✓ 完整性:覆盖核心需求 / 无遗漏知识点 / 已针对用户薄弱点处理
✓ 时效性:版本已标注 / 无过时写法 / 符合当前技术现状
1.5 互动透明度与漂移检测
IF 任务涉及多步骤 OR 多文件生成:
→ 先向用户列出执行计划,确认后再开始
IF 用户连续两次提问均与记录的目标主题无关:
→ 触发漂移提醒:"[WARN] 话题已偏离..."
二、触发场景与文件路由
被动触发(主动识别意图)
IF 用户上传文件/粘贴内容 AND 无明确指令:
→ 触发引导菜单:
我看到你上传了 [文件名/内容摘要],请问你希望我帮你做什么?
① [NOTE] 生成知识总结笔记 → 读取 references/03-file-templates.md
② [PLAN] 制定学习计划 → 读取 references/03-file-templates.md
③ [QUIZ] 提问巩固(出题检验) → 读取 references/02-interaction-modes.md
④ [JOB] 面试备考 → 读取 references/02-interaction-modes.md
⑤ [DEEP] 深度解析难点 → 读取 references/01-knowledge-analysis.md
⑥ [LOG] 记录疑惑存档 → 读取 references/03-file-templates.md
哪怕你说"我也不知道从哪里开始"也没关系,我来引导你。
上下文感知触发(文件路由表)
| 检测到的信号 | 触发动作 | 读取文件 |
|---|---|---|
| 用户表现困惑 | 记录疑惑 | references/03-file-templates.md |
| 粘贴代码片段 | 代码解析 | references/04-code-adaptation.md |
| "复习"、"回顾" | 复盘系统 | references/07-index-and-review.md |
| 深度/调研请求 | 网络调研 | references/06-research-strategy.md |
| 生成特定文件 | 获取模板 | references/03-file-templates.md |
| 互动/面试/教学 | 互动模式 | references/02-interaction-modes.md |
| 特定领域(AI/CS等) | 领域教学 | references/05-domain-adaptation.md |
| 画像更新/初始化 | 画像操作 | references/09-profile-operations.md |
安全使用建议
This skill appears coherent with its stated learning-assistant purpose, but be aware of these practical points before installing:
- Local persistence: the skill will create and update files in a workspace/ folder (USER_PROFILE.md, LEARNING_INDEX.md, anchors, notes, etc.). Those files can contain personal information (learning goals, progress, possibly pasted code). If you have privacy concerns, run the skill in a non-sensitive environment or inspect/delete the workspace files after use.
- Automatic behavior: on first run it will prompt an initialization questionnaire and thereafter may automatically append growth records and rebuild snapshots (e.g., every 10 sessions). Expect automatic writes at session end unless you explicitly stop them.
- Network research: the instructions describe optional 'research' behaviors that consult online sources if triggered (e.g., deep-research). The skill itself has no network configuration or credentials, but when you ask it to perform external research the agent may use available search/tools — be cautious about what full content you let it gather or send to external services.
- Review generated files: check the generated USER_PROFILE.md and LEARNING_INDEX.md to confirm no sensitive data is stored you don’t want persisted. You can also remove or sandbox the workspace directory if needed.
If you want stronger privacy, run the skill in an isolated environment, limit the agent's access to disk, or decline to provide sensitive personal details during initialization.
功能分析
Type: OpenClaw Skill
Name: learning-assistant
Version: 1.0.0
The 'learning-assistant' skill is a highly structured educational tool designed to facilitate technical learning through modular Markdown-based logic. It implements a sophisticated session management system using a 'Checklist' in SKILL.md and maintains user state (profiles, learning indexes, and review schedules) within a dedicated 'workspace/' directory. The skill's behavior, including its research strategies (references/06-research-strategy.md) and code analysis rules (references/04-code-adaptation.md), is entirely consistent with its stated purpose. There is no evidence of malicious intent, data exfiltration, unauthorized file access, or harmful prompt injection.
能力评估
Purpose & Capability
The skill's name and description (CS/AI/ML learning assistant) match what it actually does: guide study sessions, generate plans/summaries/flashcards, analyze code, and maintain local profile/index files. There are no unexpected binaries, cloud credentials, or unrelated dependencies requested.
Instruction Scope
The SKILL.md is prescriptive: it requires reading and writing files under the included workspace/ directory (USER_PROFILE.md, LEARNING_INDEX.md, anchors, etc.), runs a standard session lifecycle (start/end steps), and can perform automated profile updates and indexing at session end. These file operations and automatic behaviors are consistent with the stated purpose, but they are persistent and automatic—users should expect the skill to create and update local files without repeated prompts.
Install Mechanism
No install spec and no code files to execute — instruction-only. This is low-risk: nothing is downloaded or installed on the host by the skill itself.
Credentials
The skill declares no required environment variables, no credentials, and no config paths beyond its own workspace and bundled references. That is proportionate to a local study assistant which needs to persist user preferences and artifacts.
Persistence & Privilege
The skill persistently writes and updates files under workspace/ (USER_PROFILE.md, LEARNING_INDEX.md, generated artifacts). always:false (not forced-included), and it doesn’t request elevated system privileges. The only privilege to note is persistent local storage and automatic profile updates at session end and periodic snapshot rebuilds — this is expected but may be surprising to some users.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install learning-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/learning-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
learning-assistant 1.0.0
- 首次发布,定位为计算机科学、AI、机器学习、强化学习与软件工程的技术学习助手。
- 提供模块化设计与分层文件结构,支持知识解析、互动模式、领域适配、调研策略等全流程操作。
- 强制执行会话生命周期Checklist,并内置用户画像积累与快照机制。
- 支持三档自适应输出(快速/标准/深度),所有输出强制标记自审合格。
- 实现被动触发与上下文感知路由,根据用户操作引导对应学习/复盘/记录/解析流程。
- 默认全部内容输出中文,支持专业术语中英文标注,并可根据用户偏好切换。
元数据
常见问题
cs-learning-assistant 是什么?
一个全面的计算机科学、AI、机器学习、强化学习和软件工程技术学习助手。 当用户想要做以下事情时使用此技能: (1) 学习新的技术概念或框架 (CS/AI/ML/SE), (2) 复习现有知识或准备技术面试, (3) 生成学习计划、知识总结或抽认卡, (4) 分析代码片段或调试理解, (5) 对技术主题进行深度研究。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 193 次。
如何安装 cs-learning-assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install learning-assistant」即可一键安装,无需额外配置。
cs-learning-assistant 是免费的吗?
是的,cs-learning-assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
cs-learning-assistant 支持哪些平台?
cs-learning-assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 cs-learning-assistant?
由 ChenChen(@chenchen913)开发并维护,当前版本 v1.0.0。
推荐 Skills