hiivmind-corpus-graph

Validate, view, and edit corpus concept graphs in graph.yaml.

1|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/hiivmind/hiivmind-corpus --skill hiivmind-corpus-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hiivmind-corpus-graph
Source: https://github.com/hiivmind/hiivmind-corpus/tree/main/skills/hiivmind-corpus-graph
Command: npx skills add https://github.com/hiivmind/hiivmind-corpus --skill hiivmind-corpus-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Understanding and maintaining the formal relationships between corpus entries is hard without a single source of truth. This skill provides a guided workflow to view, validate, and edit a corpus concept graph (graph.yaml).

Core Features & Use Cases

  • View concepts and relationships in the graph.yaml
  • Validate graph.yaml against schema and migration rules (v1 to v2)
  • Add concepts and relationships interactively to evolve the graph
  • Bootstrap a new graph.yaml when none exists and keep metadata in sync

Quick Start

Run the graph show command to view the concept graph, and use graph add-concept to bootstrap or update it.

Frequently Asked Questions about hiivmind-corpus-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a yaml concept graph for my corpus?

You can validate a corpus concept graph by running the validate command against your graph.yaml. It enforces schema rules, verifies concept relationships, and ensures metadata counters and references are updated across file changes.

What is a corpus concept graph and when do I need a graph.yaml file?

A corpus concept graph is a yaml file acting as a single source of truth for formal relationships between corpus entries. You need a graph.yaml when your corpus requires structured concept mapping or relationship tracking.

How do I add new concepts and relationships to an existing graph.yaml?

Add concepts and relationships to graph.yaml interactively using the add-concept and add-relationship commands. This evolves the graph structure while automatically maintaining schema integrity and updating metadata references.

Can I migrate a v1 corpus graph to v2 schema?

Yes, you can migrate a corpus graph from v1 to v2 using the validate command. The skill enforces migration rules to ensure your graph.yaml accurately represents concepts and relationships while updating to the new schema.

How do I view the concepts and relationships in my corpus graph?

Run the graph show command to view your corpus graph. This displays the concepts and relationships defined in your graph.yaml, providing a clear overview of formal connections between corpus entries.

What happens to metadata counters when I edit the corpus graph?

When you edit the corpus graph, the skill automatically updates meta counters and references in the index across file changes. This ensures your graph.yaml remains accurate and synchronized with the corpus structure.