Agent skill · Data & Analytics

sheaf-cohomology

Čech cohomology for local-to-global consistency verification in code structure and data schemas.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill sheaf-cohomology-plurigrid-asi-2 --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/sheaf-cohomology-plurigrid-asi-2/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

# Sheaf Cohomology Skill: Local-to-Global Verification **Status**: ✅ Production Ready **Trit**: -1 (MINUS - validator/constraint) **Color**: #2626D8 (Blue) **Principle**: Local consistency → Global correctness **Frame**: Čech cohomology with descent conditions --- ## Overview **Sheaf Cohomology** validates that locally consistent data/code patches glue correctly into globally consistent structures. Uses: 1. **Čech cohomology**: H^n(U, F) obstruction classes 2. **Nerve of coverage**: N(U) simplicial complex from open cover 3. **Descent conditions**: Cocycle conditions for morphisms 4. **tree-sitter integration**: AST-level local consistency **Correct by construction**: If local patches satisfy cocycle conditions, global structure is guaranteed. ## Core Formula ``` H⁰(U, F) = ker(d⁰) # Global sections (agree everywhere) H¹(U, F) = ker(d¹)/im(d⁰) # Obstruction to gluing H²(U, F) = ker(d²)/im(d¹) # Higher obstructions ``` For code verification: ```ruby # Three patches (files/modules) are consistent iff: # On U_ij ∩ U_jk ∩ U_ik: g_ij ∘ g_jk = g_ik (cocycle condition) cocycle_satisfied?(patch_i, patch_j, patch_k) == (compose(g_ij, g_jk) == g_ik) ``` ## Why Sheaf Cohomology for Code? 1. *

What's inside
Steps it walks through
  1. Overview
  2. Core Formula
  3. Why Sheaf Cohomology for Code?
  4. Gadgets
  5. 1. ČechCoverVerifier
  6. 2. NerveConstructor
  7. 3. DescentVerifier
  8. 4. TreeSitterSheaf
  9. Commands
  10. API
  11. Integration with GF(3) Triads
  12. Mathematical Foundation
  13. Čech Complex
  14. Differential Maps
Ships with 1 file
  • metadata.json
Commands it runs
Verify sheaf consistency
just sheaf-check
Check specific coverage
just sheaf-coverage src/
Compute cohomology obstructions
just sheaf-h1
Integration with tree-sitter
just sheaf-ast src/*.clj
More from claude-skill-registry
All skills →
About this skill
What does the sheaf-cohomology skill do?

Čech cohomology for local-to-global consistency verification in code structure and data schemas.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill sheaf-cohomology-plurigrid-asi-2 --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