persistent-homology
Topological data analysis for stable feature verification across filtrations
npx skills add majiayu000/claude-skill-registry --skill persistent-homology --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Persistent Homology Skill: Stable Feature Verification **Status**: ✅ Production Ready **Trit**: -1 (MINUS - validator/analyzer) **Color**: #2626D8 (Blue) **Principle**: Stable features → Robust structure **Frame**: Filtration with persistence diagrams --- ## Overview **Persistent Homology** identifies topological features that persist across scales. Implements: 1. **Filtration**: Nested sequence of complexes by parameter 2. **Betti numbers**: β₀ (components), β₁ (holes), β₂ (voids) 3. **Persistence diagrams**: Birth-death pairs for features 4. **radare2 integration**: Binary analysis for structure holes **Correct by construction**: Features with long persistence are stable/significant; short-lived features are noise. ## Core Formula ``` Filtration: K₀ ⊆ K₁ ⊆ ... ⊆ Kₙ (by threshold ε) Homology: H_k(K_i) for each level Persistence: (birth_i, death_j) for each feature Stability Theorem: d_B(Dgm(f), Dgm(g)) ≤ ||f - g||_∞ ``` For code complexity: ```ruby # Filtration by cyclomatic complexity threshold filtration = [ threshold_0: simple_functions, threshold_5: moderate_functions, threshold_10: complex_functions, threshold_20: very_complex_functions ] # Persistent features survive acros
- Overview
- Core Formula
- Why Persistent Homology for Code?
- Gadgets
- 1. ComplexityFiltration
- 2. BettiCalculator
- 3. PersistenceDiagram
- 4. Radare2Analyzer
- 5. StabilityVerifier
- Mathematical Foundation
- Simplicial Homology
- Persistence Module
- Stability Theorem
- Betti Numbers Interpretation
Compute persistent features just homology-persist Analyze specific codebase just homology-filter src/ Binary analysis with radare2 just homology-binary /path/to/binary Compare versions just homology-diff v1 v2
What does the persistent-homology skill do?
Topological data analysis for stable feature verification across filtrations
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill persistent-homology --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
