knowledge-spaces: Skill for Claude Code

.claude/skills/constructing-knowledge-space/SKILL.md

constructing-knowledge-space is a skill for Claude Code from vanderbilt-data-science/knowledge-spaces. It costs 92 tokens per session (2,375 once invoked), scanned A, original, MIT.

A knowledge-space tool that derives all feasible combinations of mastered topics from prerequisite links. Knowledge Space Theory is a way to model which sets of knowledge a learner can reasonably have.

In plain words
What is it for?
It helps enumerate possible knowledge states, find inner and outer fringes—the topics already secured or ready to learn—and produce representative learning paths.
Why use it?
It makes a prerequisite map usable for understanding possible learner states and next steps.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is vanderbilt-data-science/knowledge-spaces's own configuration. It tells Claude Code how to work on knowledge-spaces itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything knowledge-spaces configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/kst_utils.py validate <graph-path> # Pre-check surmise relation.

Reuse

Borrowing it

Nothing to install: this file belongs to vanderbilt-data-science/knowledge-spaces. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vanderbilt-data-science/knowledge-spaces/main/.claude/skills/constructing-knowledge-space/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vanderbilt-data-science/knowledge-spaces

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for constructing-knowledge-space

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space/github.svg)](https://agentmods.dev/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space)
Your own site
<a href="https://agentmods.dev/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space"><img src="https://agentmods.dev/badge/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for constructing-knowledge-space

Your own site · 80×15
<a href="https://agentmods.dev/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space"><img src="https://agentmods.dev/badge/skills/vanderbilt-data-science/knowledge-spaces/constructing-knowledge-space.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02375
Opus 5.5 $0.00037 $0.00950
Sonnet 5.5 $0.00018 $0.00475
Haiku 4.5 $0.00009 $0.00237

Measured 1mo ago against content hash b43c08b1eea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

constructing-knowledge-space scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/constructing-knowledge-space/SKILL.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Constructing Knowledge Space

Role

You are a KST mathematician deriving the full knowledge space from the surmise relation -- computing all feasible knowledge states, their fringes, and representative learning paths. You work within the CbKST framework (Heller & Stefanutti, 2024), maintaining awareness of the duality between item-level and competence-level structures.

Input

$ARGUMENTS

The user provides a path to a knowledge graph file containing:

  • items[] -- the domain's knowledge items (required)
  • surmise_relations[] -- the validated prerequisite quasi-order (required)
  • competences[] -- latent competences (optional, CbKST)
  • competence_relations[] -- competence-level prerequisites (optional, CbKST)

Load the graph and verify it conforms to schemas/knowledge-graph.schema.json.

Computational Tools

Use scripts/kst_utils.py for all computation. Do not enumerate states, compute fringes, or generate paths manually.

python3 scripts/kst_utils.py validate <graph-path>              # Pre-check surmise relation
python3 scripts/kst_utils.py enumerate <graph-path> --save       # Enumerate states, compute fringes, save
python3 scripts/kst_utils.py enumerate <graph-path> --save --max 5000  # With state limit
python3 scripts/kst_utils.py paths <graph-path>                  # Generate learning paths
python3 scripts/kst_utils.py stats <graph-path>                  # Summary statistics

Methodology

1. Pre-Check

Verify the surmise relation before attempting enumeration:

python3 scripts/kst_utils.py validate <graph-path>

If validation reports failures (cycles, referential integrity issues), these must be resolved before proceeding. Return to /building-surmise-relations or /validating-knowledge-structure as needed.

2. Knowledge Space Derivation

A knowledge state is a subset K of items Q that is downward-closed under the surmise relation: if item b is in K and a -> b, then a must also be in K. The family of all such downsets forms the knowledge space. See shared-references/kst-foundations.md for formal definitions.

Read the full file on GitHub · 226 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 226 lines · 92 tokens per session scan A b43c08b1eea8

Subscribe to this mod's changes

constructing-knowledge-space is a skill published in the GitHub repository vanderbilt-data-science/knowledge-spaces (30 stars, last pushed 8mo ago), licensed MIT. It adds 92 tokens to every session and 2,375 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

learning-analytics-interpretation-guide

Interpret learning analytics data and translate dashboard findings into actionable teaching decisions. Use when reviewing LMS data, quiz patterns, or engagement metrics.

GarethManning/education-agent-skills · 34 tokens

criterion-referenced-rubric-generator

Generate a criterion-referenced rubric with descriptive performance levels for a task or objective. Use for marking guides and general curriculum contexts. For Manning programmes where Competent = success, use coherent-rubric-logic-builder instead.

GarethManning/education-agent-skills · 52 tokens

feedback-quality-analyser

Analyse existing written feedback for quality, specificity, actionability, and impact on student learning. Use when reviewing teacher or peer feedback to improve feedback practices.

GarethManning/education-agent-skills · 35 tokens

retrieval-practice-generator

Generate retrieval practice questions at varied difficulty levels for a topic or concept. Use when creating quiz starters, revision activities, or low-stakes testing materials.

GarethManning/education-agent-skills · 36 tokens

kud-chart-author

Authors or reviews Know/Understand/Do charts for competency-based learning targets across developmental bands. Handles seven input types from raw curriculum documents to existing LT sets. Routes to upstream skills when stronger inputs are available.

GarethManning/education-agent-skills · 46 tokens

panel-review

Seven-role curriculum artefact review calibrated for wellbeing/SEL. Uses simulated perspectives in one session; mean>=88 and no role<70 are practitioner heuristics, not validated gates.

GarethManning/education-agent-skills · 39 tokens