topology-sanity-check

Analyze reduction graph topology for orphan problems and NP-hardness proof chains.

35|7|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/CodingThrust/problem-reductions --skill topology-sanity-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: topology-sanity-check
Source: https://github.com/CodingThrust/problem-reductions/tree/main/.claude/skills/topology-sanity-check
Command: npx skills add https://github.com/CodingThrust/problem-reductions --skill topology-sanity-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cargo, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures the integrity and correctness of the problem reduction graph by performing automated sanity checks, identifying potential issues like disconnected problems, missing NP-hardness proofs, and redundant reduction rules.

Core Features & Use Cases

  • Orphan Detection: Identifies problems that are registered but not connected to the main reduction graph.
  • NP-Hardness Verification: Checks if all NP-hard problems have a valid reduction path originating from 3-SAT.
  • Redundancy Analysis: Detects if direct reduction rules are made obsolete by more efficient composite paths.
  • Use Case: Before publishing new reduction rules, run this Skill to catch any structural flaws or inefficiencies in the graph, ensuring a robust and well-formed knowledge base of NP-hard problems.

Quick Start

Run all topology sanity checks on the reduction graph.

Frequently Asked Questions about topology-sanity-check

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

FAQPage Schema
How do I verify NP-hardness reduction paths from 3-SAT in my graph?

To verify NP-hardness reduction paths from 3-SAT, this Skill analyzes your reduction graph topology to ensure all NP-hard problems have a valid reduction chain originating from 3-SAT. It detects disconnected problems and validates structural completeness.

What is the best way to detect orphan problems in a reduction graph?

Detecting orphan problems in a reduction graph is best handled by automated sanity checks that identify registered problems not connected to the main topology. This Skill performs orphan detection to catch disconnected nodes before you publish new reduction rules.

How do I identify redundant reduction rules in my NP-hard problem set?

Identifying redundant reduction rules is done through redundancy analysis, which detects if direct reduction rules are made obsolete by more efficient composite paths. This Skill analyzes graph structures to pinpoint and eliminate these inefficiencies.

Does this topology sanity check require Rust and Cargo to run?

Yes, this topology sanity check requires Cargo, the Rust package manager, because it utilizes Rust executables to perform automated graph analysis. You must have the Cargo environment configured to execute the verification scripts.

When should I run a topology sanity check on my problem reduction graph?

You should run a topology sanity check on your problem reduction graph before publishing new reduction rules. This ensures a robust, well-formed knowledge base of NP-hard problems by catching structural flaws, missing proofs, and redundant rules early.

Why does my NP-hardness proof chain show isolated problems during graph analysis?

Isolated problems during graph analysis indicate registered problems that lack a valid reduction path from 3-SAT to the main topology. This Skill performs orphan detection to identify these disconnected nodes and verify NP-hardness proof chain integrity.