← Back to Skills Marketplace
wzp2026

基于输入知识图谱个性生成节点学习内容

by [email protected] · GitHub ↗ · v2.3.1 · MIT-0
cross-platform ✓ Security Clean
128
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install learning-content-generator
Description
基于学习路径节点生成个性化学习内容。支持层级感知(L1/L2/L3不同深度)和上下文感知(同概念差异化)。每节点生成3000~5000字学习内容+3~5道随堂自测题。详细说明见 references/README.md
README (SKILL.md)

学习内容生成器 v2.3.0

核心功能

基于知识图谱节点,生成个性化学习内容(约30005000字/节点)+ 随堂自测题(35道)

协作模式:与 learning-path-builder(知识图谱生成技能)配合使用

  • 接收:完整知识图谱JSON + 目标节点ID
  • 输出:该节点的完整学习内容

核心原则

  1. 来源优先:权威来源≥30%、参考来源≤40%、推断内容≤30%
  2. 来源标注:每个知识点注明 ✅权威 / ⚠️参考 / 🤖推断
  3. 国内合规:国家标准/官方文档优先,境外内容需标注
  4. 层级感知:L1大而全/L2系统化/L3精确深入
  5. 上下文感知:结合父L1/L2领域上下文生成差异化内容

调用参数

参数 说明 作用
target_node_id 目标L3叶节点ID 指定要生成哪个节点的内容
knowledge_graph 完整知识图谱JSON 提供全局上下文
context.l1_node 父L1节点信息 理解大领域上下文
context.l2_node 父L2节点信息 理解模块上下文
level 节点层级(1/2/3) 决定内容深度

工作流程

第一步:读取知识图谱文件
第二步:分析内容生成计划
第三步:逐节点生成学习内容(每完成通知)
第四步:生成随堂自测题
第五步:验证与汇总

每步完成后发送会话进度通知。不设硬性超时,失败可从该步骤续接。

输出格式

  • 主文件:{name}_content_{node_id}.md
  • 验证报告:{name}_content_verification.md
  • 长文本(>8000字)自动分片生成

详细说明:references/README.md 作者:Wang Zhipeng | 更新:2026-04-21 14:13

Usage Guidance
This skill appears coherent for generating learning units, but review the following before installing: - Input sensitivity: The skill reads the full knowledge_graph JSON and writes it (and intermediate files) to /tmp and output files. Do not pass proprietary or sensitive material unless you are comfortable with temporary files and live enrichment queries. - Network enrichment: The RAG module queries public services (Wikipedia, arXiv). If your data is confidential, disable or remove the RAG step to avoid sending search queries that include topic strings derived from your input. - Dependencies: The scripts use python packages (wikipediaapi, arxiv, pyyaml). Because there's no install spec, ensure your environment provides them or the skill will fail; review dependencies before running in a locked/air‑gapped environment. - TTS APIs: The README recommends external TTS providers (Baidu/讯飞/Azure). These require separate credentials and registration if you enable audio generation; the skill does not request or store those keys itself. If you need higher assurance, request the author to (1) add an option to disable external network calls, (2) avoid writing raw input to world‑readable temp paths, and (3) provide a dependency manifest or minimal install steps.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The name/description (生成学习内容) match the included assets: a content generator script and a RAG enhancer. The code accepts a knowledge-graph node, produces long-form content and quizzes, and collects references — all appropriate and proportional to the stated goal.
Instruction Scope
SKILL.md and scripts describe reading a provided knowledge_graph and writing progress/files (e.g., /tmp/content_kg_{job_id}.json, plans, verification reports) and sending progress notifications to the current session. That's within the skill's purpose, but it means any sensitive or proprietary data present in the input graph will be written to disk and may be used in live web queries (RAG). The RAG module performs network queries to public endpoints (Wikipedia, arXiv) to enrich/validate content — expected for enrichment but relevant for data exposure considerations.
Install Mechanism
This is instruction+script-only with no install spec. There are third‑party Python imports (wikipediaapi, arxiv, pyyaml) that may not be available in the runtime; lack of an install step may cause failures but is not itself a risky install mechanism. No downloads from arbitrary URLs or archive extraction are present.
Credentials
The skill requests no environment variables or credentials. It documents optional use of third‑party TTS/APIs (Baidu, 讯飞, Azure) but does not require their keys. This is proportional, though if you enable those TTS features you will need to supply credentials. Also, because the skill reads and writes the full knowledge_graph, that file may contain sensitive data—no env secrets are requested, but input data handling should be considered.
Persistence & Privilege
always:false and no agent-level persistent privileges requested. The skill writes temporary and output files (under /tmp and generated markdown) and does not modify other skills or system-wide agent settings. Autonomous invocation is allowed (platform default) but not combined with other privileged behaviors.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install learning-content-generator
  3. After installation, invoke the skill by name or use /learning-content-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.3.1
- 会话进度通知替换了飞书进度通知,更便于跨平台使用。 - 更新了更新时间字段,具体到时分。 - 其他内容保持不变,未涉及功能或参数调整。
v2.3.0
learning-content-generator v2.3.0 - 新增层级感知与上下文感知内容生成,支持L1/L2/L3层次内容差异化 - 每知识节点生成个性化学习内容(约3000–5000字)及3–5道随堂自测题 - 强化来源标注机制,明确区分权威、参考与推断内容 - 支持与 learning-path-builder 协作,接受完整知识图谱和节点ID作为输入 - 增加国内合规要求,优先引用国家标准和官方文档,境外内容需标注 - 优化输出格式及自动长文本分片处理
Metadata
Slug learning-content-generator
Version 2.3.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 基于输入知识图谱个性生成节点学习内容?

基于学习路径节点生成个性化学习内容。支持层级感知(L1/L2/L3不同深度)和上下文感知(同概念差异化)。每节点生成3000~5000字学习内容+3~5道随堂自测题。详细说明见 references/README.md. It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.

How do I install 基于输入知识图谱个性生成节点学习内容?

Run "/install learning-content-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 基于输入知识图谱个性生成节点学习内容 free?

Yes, 基于输入知识图谱个性生成节点学习内容 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 基于输入知识图谱个性生成节点学习内容 support?

基于输入知识图谱个性生成节点学习内容 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 基于输入知识图谱个性生成节点学习内容?

It is built and maintained by [email protected] (@wzp2026); the current version is v2.3.1.

💬 Comments