---
name: Concept Graph
slug: concept-graph
category: AI Engineering
description: Concept Graph builds a deterministic prerequisite DAG from an approved tutorial spec and writes it to outline/concept_graph.yml. Use it when tutorial concepts need stable ordering before module planning.
github: "https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/concept-graph"
language: Python
stars: 499
forks: 39
install: "npx degit https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/concept-graph ~/.claude/skills/concept-graph"
installs_to: ~/.claude/skills/concept-graph
source_path: .codex/skills/concept-graph/SKILL.md
collection_size: 25
category_size: 2451
collection_url: "https://dirskills.com/collections/WILLOSCAR/research-units-pipeline-skills"
added: 2026-08-26T05:12:54.875Z
last_synced: 2026-08-26T05:12:54.875Z
canonical_url: "https://dirskills.com/skills/concept-graph"
---

# Concept Graph

Concept Graph builds a deterministic prerequisite DAG from an approved tutorial spec and writes it to outline/concept_graph.yml. Use it when tutorial concepts need stable ordering before module planning.

**Install:**

```bash
npx degit https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/concept-graph ~/.claude/skills/concept-graph
```

## README

# Concept Graph

Materializes the tutorial spec's structured concept inventory into `outline/concept_graph.yml`.

## Input

- `output/TUTORIAL_SPEC.md`

## Output

- `outline/concept_graph.yml`

## Contract

The graph must contain:
- `nodes`: `{id, title, summary, source_ids, objective_refs}`
- `edges`: `{from, to}` meaning prerequisite order

## Script boundary

`scripts/run.py` should:
- load structured spec data
- emit stable node ids and prerequisite edges
- fail if the result would be cyclic or empty

Do not duplicate spec-parsing heuristics in multiple places; keep them in shared tutorial tooling.

## Acceptance

- `outline/concept_graph.yml` exists
- all nodes have stable ids
- the graph is a DAG

## Non-goals

- module clustering
- exercise generation
- tutorial prose
