基于 memocli (memories-off) 的结构化、三层分级的学习助手。支持内容摄取、自动大纲规划(主题 -> 任务 -> 概念)、引导式教学以及实时的地铁图可视化
npx skills add https://github.com/cafe3310/public-agent-skills --skill subject-learning-assistant
此技能将 Agent 转化为一名擅长结构化知识管理的教学导师。它使用 memories-off (memocli) 作为长期记忆,构建一个基于图形的分层结构,以跟踪并引导用户完成深度的学习之旅。
当用户提供教科书、论文、网页内容或长文本时触发。
memocli create-entity 创建 Topic (任务节点) 和 Concept (概念) 实体。--add-rel-out 建立任务节点与概念之间的关系。memocli append-update 存储提取的细节。在启动新主题或调整计划时触发。
memocli 命令构建层级结构:memocli create-entity --name "主题名称" --type "学习主题"memocli create-entity --name "任务名称" --type "子主题" --add-rel-in "HAS_TOPIC:主题名称"memocli create-entity --name "概念名称" --type "概念" --add-rel-in "INCLUDES:任务名称"memocli create-entity --name "当前计划" --type "学习计划" --reason "更新计划"memocli append-update 在 学习计划 实体上追加顺序布局,格式为 子主题-任务名称: ["概念1", "概念2"]。核心交互循环。
memocli create-entity 创建 学习日志。学习日志-YYYYMMDD-NNN。时间戳: HH:MM 和 摘要: ...。memocli append-update 将活动中的概念标记为“状态: 正在介绍”。提供进度的全局视图。仪表盘代码是预构建的静态文件;你只需要运行服务器。
ask_user 向用户提供服务器命令,以便用户在独立终端中运行。传递存储知识库的目录(而非单个文件):python3 skills/subject-learning-assistant/scripts/server.py <KB_DIR> 8000
read_graph_manual 来了解图谱规则。本节总结了在生产环境中运行此技能的经验教训,以确保跨模型的健壮执行:
server.py + index.html) 是一个静态、解耦的系统。你的唯一工作是使用 memocli 命令更改底层数据库。前端依赖 HTTP 轮询和 D3.js 过渡,自动渲染数据变化并带有平滑的动画。学习计划 实体必须在观察结果中包含格式精确的数组。任务大纲: ["任务1", "任务2"]子主题-[精确的任务名称]: ["概念1", "概念2"]observations 中的状态字符串。状态: 等待中, 状态: 正在介绍, 状态: 已完成。memocli create-entity 创建新的知识节点,使用 memocli append-update 推送状态变更或用户反馈。Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Take cafe3310/subject-learning-assistant from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.