Token导航 LogoToken导航

Agent Skill · 运维和基础设施

learning-graph-generator(学习图生成器)

learning-graph-generator 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

learning-graph-generator 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 993。

总安装 1,024周安装 44GitHub Stars 65下载 359核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:learning-graph-generator(学习图生成器)
来源仓库:https://github.com/dmccreary/claude-skills
仓库路径:skills/learning-graph-generator
安装命令:
npx skills add https://github.com/dmccreary/claude-skills --skill learning-graph-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dmccreary/claude-skills --skill learning-graph-generator

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

用于生成知识图谱或关系结构图,辅助理解复杂系统关联。适合在运维、架构设计或数据分析任务中可视化实体关系。通过 GitHub 仓库安装,兼容多种 Agent 运行环境。可能涉及图数据库或可视化工具调用,需确认本地环境支持情况。建议结合具体用例查阅原始文档以适配参数与输出格式。

learning-graph-generator 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/learning-graph-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dmccreary/claude-skills --skill learning-graph…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

learning-graph-generator 怎么安装?

在终端执行 npx skills add https://github.com/dmccreary/claude-skills --skill learning-graph-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

learning-graph-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

learning-graph-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

learning-graph-generator 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

learning-graph-generator 用的人多吗?

公开数据是累计安装 1,024 次,近一周安装 44 次,下载 359 次,GitHub 65 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

learning-graph-generator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
learning-graph-generator

学习图生成器 · 本页

1,02465需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Learning Graph Generator

Version: 0.04

You are tasked with generating a comprehensive high-quality learning graph from a course description. A learning graph is the foundational data structure for intelligent textbooks that can recommend learning paths. A learning graph is like a roadmap of Concepts to help students achieve their learning goals. A learning graph is an DAG Concept graph. Each arrow is a "Learning Dependency" relationship that suggest learning order. The markdown you generate must be compatible with the mkdocs version of markdown. Make sure you put a blank line before any lists.

Follow these steps carefully:

Markdown Generation Rules

  1. Always place a blank line before any markdown list. This is required by the mkdocs markdown tools.

Mkdocs Navigation Rules

After you add a markdown file (any file with an extension .md) make sure to add that file to the navigation structure in the mkdocs.yml file. Here is an example of the nav section for the learning graph section:

  - Learning Graph:
    - Introduction: learning-graph/index.md
    - Course Description Assessment: learning-graph/course-description-assessment.md
    - Concept Enumeration: learning-graph/list-concepts.md
    - Graph Quality Analysis: learning-graph/graph-quality-analysis.md
    - Concept Taxonomy: learning-graph/concept-taxonomy.md
    - Taxonomy Distribution Report: learning-graph/taxonomy-distribution-report.md

Step 0: Setup

Tell the user that they are running the version graph generator and the version number above.

The default context is that the skill is run from claude code in the home directory of an intelligent textbook that has been checked out from GitHub. There should be a docs directory with a standard mkdocs.yml file in the home git directory. You will create a directory called /docs/learning-graph it it does not already exist. The path is relative to the git home directory. The assumption is that /docs is relative to the directory that claude was started in.

mkdir -p docs/learning-graph; cd docs/learning-graph

You will copy python programs from this skill package into the /docs/learning-graph directory. You will execute python from that directory.

If you do not see the docs directory and the mkdocs.yml file suggest that the user clone a sample textbook from the following location:

git clone https://github.com/dmccreary/intelligent-book-template cd intelligent-book-template

Step 1: Course Description Quality Assessment

Before you begin this step, verify that it has not already been done. To do this, check the yml metadata in the docs/course-description.md file.

Here is a sample of the yml metadata:

---
title: Course Description
description: A detailed course description
quality_score: 95
---
# Course Description

If you see a quality_score above 85 you may tell the user you found a score above 85 and skip this entire step. Tell them this is a way to save tokens.

If the quality score is below 85, analyze the provided course description at course-description.md to ensure it has enough content to generate at a minimum of 200 high-quality concepts:

  1. Verify the course has a title, prerequisites, intended audience, objectives, and outcomes ("After this course students will be able to"). If these fields are missing ask the user for this information.
  2. Examine the depth and breadth of topics covered
  3. Assess whether the material has sufficient granularity for at a minimum of 200 distinct concepts
  4. Check for diverse topic areas and learning objectives
  5. Provide detailed feedback to the user about:

- List the expected content that you found - Estimated number of concepts you can derive - Compare this concept number with similar courses - Describe areas where the course description is strong - Any gaps or areas that might be under-represented - Suggest how the 2001 Bloom taxonomy (remember, understand, apply, analyze, evaluate, create) could improve the outcomes descriptions - Objective overall quality assessment on a scale of (1-poor to 100-perfect) - Suggest that the user does not proceed unless a quality score is 70 or above

Use the following rubric for creating a quality score:

2.2 Course Description Quality Scoring System

Evaluate the course description using this 100-point scoring system:

ElementPointsCriteria
Title5Clear, descriptive course title present
Target Audience5Specific audience identified (e.g., "college undergraduate")
Prerequisites5Prerequisites listed or explicitly stated as "None"
Main Topics Covered10Comprehensive list of topics (ideally 5-10 topics)
Topics Excluded5Clear boundaries set for what's NOT covered
Learning Outcomes Header5Clear statement: "After this course, students will be able to..."
Remember Level10Multiple specific outcomes for remembering/recalling
Understand Level10Multiple specific outcomes for understanding/explaining
Apply Level10Multiple specific outcomes for applying/using
Analyze Level10Multiple specific outcomes for analyzing/breaking down
Evaluate Level10Multiple specific outcomes for evaluating/judging
Create Level10Multiple specific outcomes for creating/synthesizing; includes capstone ideas
Descriptive Context5Additional context about course importance, relevance, or value

Scoring Guidelines:

  • Award full points if element is complete and high-quality
  • Award partial points if element is present but incomplete or vague
  • Award 0 points if element is missing
  • For Bloom's Taxonomy levels, require at least 3 specific, actionable outcomes for full points

Tell user what their score was and suggest they improve the course description until the score goes above 80.

Save this report to course-description-assessment.md

  1. Ask the user if you should proceed with generating the learning graph

Step 2: Generate Concept Labels

Once the course-description has been approved, generate the concept labels from the course content:

Requirements:

  • Each Concept label must be in Title Case
  • Maximum length: 32 characters
  • Labels should be clear, specific, and pedagogically sound
  • Cover the full breadth of the course material
  • Concept Labels are entity names, not questions
  • Do not use questions in the Concept Label. Don't use "What is Git", just use "Git"

Number of Concepts:

For simple books, a list of 200 concepts is fine. For complex technical books, you may generate up to 500 concepts. Do not exceed 500 concepts unless you have good reason and the user approves this decision. Remember that generating concept dependencies gets complex the more concepts there are.

!!! note Because these concept labels are used within a network graph, they must not be too long. Otherwise the graph will be hard to read.

Output:

  • Save the numbered list to concept-list.md
  • Format: Simple numbered list (1-500) in a markdown file
  • Make sure that each number is unique so it can be used as a ConceptID
  • Inform the user the file has been created
  • Tell the user they should view the list and add and remove concepts now
  • Tell the user it is best review the concept list before the next steps

Now ask the user to take some time to manually review the entire list of concept labels. If there are concepts that are not appropriate they should be removed now. If there are additional concepts that need to be added, they should be added now. It will require a lot of extra tokens later to change the content later. This is an important review step to ensure the quality of the textbook. Pay special attention to the length of the concept labels and the quality of any abbreviations.

Step 3: Generate Dependency Graph

Create a CSV file mapping dependencies between concepts:

Format:

  • Filename: learning-graph.csv
  • Columns: ConceptID,ConceptLabel,Dependencies
  • ConceptID: Integer (1-500)
  • ConceptLabel: The exact label from Step 2
  • Dependencies: Pipe-delimited list of ConceptIDs (e.g., "1|3|7")

Dependency Rules:

  • Foundational/prerequisite concepts have NO dependencies (empty Dependencies field)
  • All other concepts must have at least one dependency
  • No concept can depend on itself
  • The graph must be a Directed Acyclic Graph (DAG) - no cycles
  • Create meaningful learning pathways, not just linear chains
  • Consider prerequisite relationships carefully

Note: The JSON file will be created in later steps (Steps 7-8) after the taxonomy is added to the CSV file. The complete JSON will include metadata, groups, nodes, and edges sections conforming to the learning-graph-schema.json.

Step 4: Learning Graph Quality Validation

Perform comprehensive quality checks on the dependency graph by using the Python program analyze-graph.py in this skill. It will do the following checks:

  1. Verify DAG structure: Ensure no cycles exist
  2. Check for self-dependencies: No concept should depend on itself
  3. Foundational concepts: Identify concepts with zero dependencies
  4. Terminal nodes: Identify concepts that nothing depends on (leaf nodes). These are valid and expected — do not confuse with orphaned nodes (which have no connections at all)
  5. Disconnected subgraphs: Check if all concepts are connected to the main graph
  6. Linear chains: Flag if too many concepts only depend on the immediately prior concept
  7. Indegree analysis: Calculate indegree (number of concepts that depend on each concept)

Shell command python analyze-graph.py learning-graph.csv quality-metrics.md

Verify the report has been written to quality-metrics.md

Generate the learning graph quality metrics report:

  • Total concepts with zero dependencies - outbound arrows (foundational prerequisites)
  • Total concepts with 1+ dependencies
  • Average number of dependencies per concept
  • Maximum dependency chain length
  • Number of terminal (leaf) nodes that no other concept depends on
  • Number of disconnected subgraphs
  • Top 10 concepts with highest indegree (most depended-upon concepts)

Give the user a general quality score on a scale of 1 (poor) to 100 (perfect). If the learning graph does not get a score above 70, suggest that the user iterates on the process

Step 5: Create Concept Taxonomy

Develop a categorical taxonomy for organizing concepts:

Requirements:

  • Target: ~12 categories (can vary by 2-3 if natural groupings emerge)
  • Categories should evenly distribute concepts
  • Avoid having any single category exceed 30% of total concepts
  • Use clear, descriptive category names with title case and spaces
  • Create 3-5 letter abbreviations for each category (TaxonomyID)
  • Note that a JSON representation of the taxonomy will be created to form the groups section of the learning graph

Output:

- Category name - TaxonomyID abbreviation (3-5 letters uppercase) - Brief description of what concepts belong in this category

Step 5b: Create Taxonomy Names JSON

CRITICAL STEP - This prevents the common bug where taxonomy IDs appear instead of human-readable names in the graph viewer legend and reports.

Extract the taxonomy ID to human-readable name mapping from concept-taxonomy.md and save it as a JSON file:

Create file: taxonomy-names.json

Format:

{
  "FOUND": "Foundation Concepts",
  "EDA1": "Exploratory Data Analysis I",
  "EDA2": "Exploratory Data Analysis II",
  "REG": "Regression & Correlation",
  ...
}

Rules:

  • Keys are the TaxonomyID abbreviations (uppercase, 3-5 letters)
  • Values are human-readable category names in Title Case with spaces
  • Every taxonomy ID used in the CSV must have a corresponding name
  • Names should be descriptive and meaningful to students

This file is REQUIRED for csv-to-json.py to generate correct classifierName values in learning-graph.json. Without it, the graph viewer legend will show cryptic IDs like "EDA1" instead of "Exploratory Data Analysis I".


Step 6: Add Taxonomy to CSV

Update the dependencies CSV file:

  1. Add a new column: TaxonomyID to the existing CSV file if it does not exist
  2. For each concept, assign the best matching TaxonomyID
  3. Use "MISC" for concepts without a clear category match
  4. Save the updated file to learning-graph.csv

You can use the Python Program add-taxonomy.py as a template that will do the substitution.

Final CSV columns: ConceptID,ConceptLabel,Dependencies,TaxonomyID

Step 7: Create the metadata section of the learning-graph.json file

The metadata section contains Dublin Core-inspired fields for the textbook extracted from the course-description.md file. The JSON schema for the learning graph is located in the file learning-graph-schema.json within this skill.

Required fields:

  • title: Extract from the course description title
  • description: Extract or summarize from the course description

Optional but recommended fields:

  • creator: Author or organization name
  • date: Current date in YYYY-MM-DD format
  • version: Version number (e.g., "1.0")
  • format: "Learning Graph JSON v1.0"
  • schema: URL to the JSON schema
  • license: License information (e.g., "CC BY-NC-SA 4.0 DEED")

Here is an example of the metadata section:

"metadata": {
    "title": "Title Text From Course Description",
    "description": "A description of the course in a few sentences.",
    "creator": "Your Name",
    "date": "2025-11-01",
    "version": "1.0",
    "format": "Learning Graph JSON v1.0",
    "schema": "https://raw.githubusercontent.com/dmccreary/learning-graphs/refs/heads/main/src/schema/learning-graph-schema.json",
    "license": "CC BY-NC-SA 4.0 DEED"
  }

You can create a metadata.json file with these fields to pass to the csv-to-json.py program in Step 9.

Step 8: Create the groups section of the JSON file

Convert the taxonomy categories into JSON format for the groups section of the learning-graph.json file. The JSON schema for the learning graph is located in the file learning-graph-schema.json within this skill.

The groups section creates a legend of concept types with distinct colors for visualization.

Important:

  • The groups section uses taxonomy IDs (e.g., "FOUND", "DEF") as keys
  • Each group must have a classifierName field containing a descriptive human-readable name (e.g., "Foundation Concepts", NOT just "FOUND")
  • Each group must have a color field using named CSS colors (NOT hex codes like "#E74C3C")
  • Each group should have a font object with a color field for text readability

Key structure:

  • Group key: Use the TaxonomyID from the CSV (uppercase, no spaces, e.g., "FOUND")
  • classifierName: Descriptive display name with Title Case and spaces (e.g., "Foundation Concepts"). NEVER just repeat the TaxonomyID abbreviation.
  • color: Use named CSS pastel colors for readability. Recommended colors: LightCoral, Plum, PowderBlue, LightPink, PaleTurquoise, PeachPuff, PaleGreen, LightSteelBlue, LightYellow, Thistle, Gainsboro, Honeydew, Aquamarine, Lavender, MistyRose, LavenderBlush. Avoid AliceBlue as it is often used for backgrounds.
  • font.color: Use "black" for pastel/light backgrounds (most cases)

Below is an example of the groups section:

"groups": {
    "FOUND": {
      "classifierName": "Foundation Concepts",
      "color": "LightCoral",
      "font": {
        "color": "black"
      }
    },
    "DEF": {
      "classifierName": "Definitions",
      "color": "PeachPuff",
      "font": {
        "color": "black"
      }
    },
    "CORE": {
      "classifierName": "Core Concepts",
      "color": "LightYellow",
      "font": {
        "color": "black"
      }
    },
    "INTER": {
      "classifierName": "Intermediate Concepts",
      "color": "PaleGreen",
      "font": {
        "color": "black"
      }
    },
    "ADV": {
      "classifierName": "Advanced Concepts",
      "color": "PowderBlue",
      "font": {
        "color": "black"
      }
    },
    "MISC": {
      "classifierName": "Miscellaneous Concepts",
      "color": "Gainsboro",
      "font": {
        "color": "black"
      }
    },
    "PROJ": {
      "classifierName": "Project Ideas",
      "color": "Lavender",
      "font": {
        "color": "black"
      }
    },
    "CAP": {
      "classifierName": "Capstone Projects",
      "color": "Plum",
      "font": {
        "color": "black"
      }
    }
  }

Note: The csv-to-json.py program will automatically generate the groups section based on the taxonomies found in your CSV file. You can customize colors by creating an optional color-config.json file.

Step 9: Generate the Complete Learning Graph JSON

Now that you have created the metadata.json file (Step 7), taxonomy-names.json (Step 5b), and have the taxonomy-enriched CSV (Step 6), run the csv-to-json.py program to generate the complete learning-graph.json file:

python csv-to-json.py learning-graph.csv learning-graph.json color-config.json metadata.json taxonomy-names.json

IMPORTANT: The taxonomy-names.json file is strongly recommended to ensure human-readable category names appear in the graph viewer legend. Without it, taxonomy IDs (like "EDA1") will be used as display names instead of proper names (like "Exploratory Data Analysis I").

This command will:

  1. Read the learning-graph.csv file (with ConceptID, ConceptLabel, Dependencies, TaxonomyID columns)
  2. Use the metadata from metadata.json
  3. Use the human-readable names from taxonomy-names.json for the classifierName field
  4. Auto-generate the groups section based on the taxonomies in the CSV
  5. Create nodes with proper group references (using TaxonomyIDs)
  6. Create edges based on the dependencies
  7. Output a complete learning-graph.json file conforming to the schema
  8. WARN if any taxonomy ID is missing a human-readable name

Verify that the file learning-graph.json is present and valid.

Optional: You can validate the JSON against the schema using:

./validate-learning-graph.sh learning-graph.json

Step 10: Taxonomy Distribution Report

Generate a distribution analysis:

  1. Count concepts in each category
  2. Calculate percentages
  3. Identify over-represented categories (>30%)
  4. Suggest alternative categorization if needed

Use the python report in this skill called taxonomy-distribution.py

Output:

- Category Name - TaxonomyID - Count - Percentage

Step 11: Create new index.md from index-template.md

Create a new index.md file in the learning-graph directory from the file index-template.md in this skill. Customize the new index.md file to reflect the name of this intelligent book. Look for values in all uppercase (TEXTBOOK_NAME) and replace them with the appropriate values.

Step 12: Write session log

Export the session log to logs/learning-graph-generator-VERSION-DATE.md

Where:

  1. VERSION is the version of this skill.
  2. DATE is today's date in ISO format yyyy-mm-dd.

Note that the session log should also list what version of any Python program was used. For example, not what version of the csv-to-json.py Python program was used in the session log. This is important for debugging.

Step 13: Completion

Inform the user that the learning graph generation is complete! Congratulate them and wish them success on their textbook or course material. Tell the user if they want to view the learning graph they should run the /book-installer skill with the install learning graph guide which will create a microsim in @docs/sims/graph-viewer. Although this step is optional, it is strongly recommended. Tell them that the next logical step is to run the /book-chapter-generator skill, but that it is critical to review the chapter overview and the concept lists, the concept taxonomies and the learning graph before they do this next step. Generating chapter content takes a lot of tokens and it is best to make sure each chapter overview and concept lists are complete.

Files created:

Important Notes

  • Maintain pedagogical integrity throughout the process
  • Dependencies should reflect actual prerequisite knowledge
  • Balance between granularity and comprehensiveness
  • Ensure concepts build upon each other logically
  • The learning graph should support multiple learning pathways, not just one linear path

平台分布

Claude Code

29.34%
按下载量换算105

OpenCode

22.66%
按下载量换算81

Gemini CLI

16.96%
按下载量换算61

Antigravity

11.13%
按下载量换算40

windsurf

7.99%
按下载量换算29

Cursor

3.71%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills