Agent skill · Data & Analytics

persistent-homology

Topological data analysis for stable feature verification across filtrations

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill persistent-homology --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/analysis/persistent-homology/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Core Formula
  3. Why Persistent Homology for Code?
  4. Gadgets
  5. 1. ComplexityFiltration
  6. 2. BettiCalculator
  7. 3. PersistenceDiagram
  8. 4. Radare2Analyzer
  9. 5. StabilityVerifier
  10. Mathematical Foundation
  11. Simplicial Homology
  12. Persistence Module
  13. Stability Theorem
  14. Betti Numbers Interpretation
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going