Skip to content
Back to skills

Moebius Color Duality

ASecurity

Möbius inversion for Gay.jl color duality - closes sparsification spine gap

  • 61 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
testing

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill moebius-color-duality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Moebius Color Duality?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Moebius Color Duality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-moebius-color-duality/badge)](https://www.skillsdirectory.com/skills/plurigrid-moebius-color-duality)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: möbius-color-duality
description: Möbius inversion for Gay.jl color duality - closes sparsification spine gap
version: 1.0.0
---


# Möbius Color Duality Skill

> *"Möbius inversion recovers local structure from global aggregates."*

## The Gap

The Amp thread corpus (1,807 threads) is **85.6% mapped to sparsification spine** but has a critical gap:

```
Generation (Synthesis)     ████████░  49.2% ⭐ WELL-DEVELOPED
Validation (Verification)  ████░░░░░  21.6% ✓ SOLID
Execution (Control)        ███░░░░░░  15.2% ✓ ADEQUATE
Ontology (ACSet)           ██░░░░░░░   6.8% ⚠️ THIN
Decomposition (Hierarchy)  █░░░░░░░░   5.6% ⚠️ WEAK
Inversion (Duality)        ░░░░░░░░░   1.6% ❌ CRITICAL GAP
```

The system can **generate** but not **invert**. This skill closes that gap.

## Core Insight

**Forward (Generation)**: seed → color indices → structures  
**Backward (Inversion)**: structures → color distributions → recover seed

## Implementation

Module: `lib/gay_möbius_inversion.py` (490 lines)

Key classes:
- `ColorMöbiusInverter`: Numerical inversion for color spaces
- `TriadicColorInverter`: GF(3) ternary extension

## Status

✓ **Core implementation**: Möbius function, forward/backward inversion  
✓ **Duality graph generation**: Contravariant functor structures  
⊘ **GF(3) integration**: Ternary state extension  
⊘ **Amp corpus application**: Test on actual thread colorization  

## Sparsification Spine Integration

**Tier**: Layer 5 - INVERSION (Duality/Reversal)  
**Trit**: +1 (PLUS/Generator)  
**Coverage**: Begins to fill 1.6% → expand to 10%+ target

## SDF Interleaving

This skill connects to **Software Design for Flexibility** (Hanson & Sussman, 2021):

### Primary Chapter: 3. Variations on an Arithmetic Theme

**Concepts**: generic arithmetic, coercion, symbolic, numeric

### GF(3) Balanced Triad

```
möbius-color-duality (−) + SDF.Ch3 (○) + [balancer] (+) = 0
```

**Skill Trit**: -1 (MINUS - verification)

### Secondary Chapters

- Ch6: Layering

### Connection Pattern

Generic arithmetic crosses type boundaries. This skill handles heterogeneous data.

Files in this skill

  • CONCOMITANT_SKILLS.md513 B
  • SKILL.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.