graph-integrity-validator

Validate agent graph nodes, edges, and team members for broken references.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/rahlplx/elite-astro-workforce-template --skill graph-integrity-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-integrity-validator
Source: https://github.com/rahlplx/elite-astro-workforce-template/tree/main/.agent/skills/graph-integrity-validator
Command: npx skills add https://github.com/rahlplx/elite-astro-workforce-template --skill graph-integrity-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Graph integrity is critical to reliable agent orchestration. This Skill automatically detects and prevents broken references in the agent graph, ensuring 100% sync between knowledge, abilities, and their usages.

Core Features & Use Cases

  • Node-to-Skill Validation: Verifies that every node with a skillPath corresponds to an existing directory containing a SKILL.md.
  • Edge-to-Node Validation: Ensures all edges reference existing nodes within the graph.
  • Team-Member Validation: Checks team nodes have valid memberIds that exist in graph.nodes.
  • Self-Healing & Backlink Registry: Logs violations, blocks swarm execution when violations occur, and provides corrective suggestions via a backlinks registry.

Quick Start

Run the built-in graph integrity checks as part of your bootstrap sequence, e.g., ensure bootstrap.ts executes validateGraphIntegrity first and halts on violations.

Frequently Asked Questions about graph-integrity-validator

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

FAQPage Schema
How do I validate agent graph integrity and prevent broken references?

Agent graph integrity validation detects broken references by verifying node-to-skill paths, edge-to-node connections, and team-member IDs. It enforces backlink rules, logs violations, and blocks swarm execution until all reference issues are resolved.

Why does swarm initialization fail when graph nodes reference missing skills?

Swarm initialization fails when graph nodes reference missing skills because the integrity validator halts bootstrap execution upon detecting broken backlinks. It logs these violations and provides corrective suggestions via a backlinks registry to fix missing SKILL.md directories.

What's the best way to ensure all edges in an agent graph reference existing nodes?

The best way to ensure edges reference existing nodes is running a graph validation check during bootstrap. Edge-to-node validation verifies all edge connections point to valid nodes, blocking execution and logging violations if any broken references are found.

Can I check team node memberIds exist in graph.nodes before executing a swarm?

Yes, team-member validation checks that all team node memberIds exist in graph.nodes before swarm execution. This integrity check runs during initialization, logs any invalid member references, and prevents the swarm from starting until violations are corrected.

What happens when graph integrity violations are detected during swarm bootstrap?

When graph integrity violations are detected, the validator logs the broken references and blocks swarm execution entirely. It uses a self-healing backlinks registry to provide corrective suggestions, ensuring all nodes, edges, and team members sync before proceeding.

When do I need to run graph validation checks for agent orchestration?

Graph validation checks are needed during swarm initialization and before any agent orchestration execution. Running validateGraphIntegrity first in your bootstrap sequence ensures 100% sync between knowledge, abilities, and usages by catching broken references early.