/asi:coequalizersfrom asi
Quotients redundant skill paths via categorical coequalizers, using bisimulation to detect behavioral equivalence and pushouts to glue shared interfaces.
Ships in asi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Quotient redundant skill paths via categorical coequalizers
Version: 1.0.0
Trit: 0 (ERGODIC - coordinates equivalences)
Domain: category-theory, skill-composition, colimits, behavioral-equivalence
The coequalizers skill provides:
A coequalizer is the colimit of two parallel morphisms:
X ──f──→ Y
│ g │
└────────→ q
↓
Q (coequalizer)
Universal property: q ∘ f = q ∘ g
In Sets: Q = Y / ~ where ~ is the smallest equivalence relation such that f(x) ~ g(x) for all x ∈ X.
For skills: If two skill paths produce behaviorally equivalent outputs, the coequalizer gives the canonical quotient.
From /skills/oapply-colimit/SKILL.md:
function oapply(d::UndirectedWiringDiagram, xs::Vector{ResourceSharer})
# Step 1: Coproduct of state spaces
S = coproduct((FinSet ∘ nstates).(xs))
# Step 2: Pushout identifies shared variables via COEQUALIZER
S′ = pushout(portmap, junctions) # ← Uses coequalizer internally
# Step 3: Induced dynamics sum at junctions
return ResourceSharer(induced_interface, induced_dynamics)
end
Key insight: Pushouts decompose as coproduct + coequalizer. This is how skills with shared interfaces are glued together.
From /skills/bisimulation-game/SKILL.md:
def bisimilar(skill₁, skill₂, input, depth=10):
"""
Recursively check if skills produce same observations.
Two skills are bisimilar if:
- They produce same immediate output
- Their continuations are pairwise bisimilar
"""
obs₁ = observe(skill₁, input)
obs₂ = observe(skill₂, input)
if obs₁ != obs₂:
return False
# Recursive check on continuations
if depth > 0:
for (next₁, inp₁), (next₂, inp₂) in zip(
skill₁.continuations(input),
skill₂.continuations(input)
):
if not bisimilar(next₁, next₂, inp₁, depth-1):
return False
return True
Application: Use bisimulation to establish equivalence relation ~ before applying coequalizer.
From /skills/topos-adhesive-rewriting/SKILL.md:
# Decomposition: Q ≅ Q_G +_{Q_L} Q_R
# This IS a coequalizer construction!
function quotient_system(system::SkillSystem, equivalences)
# Build parallel morphisms from equivalence pairs
equiv_indices = parts(system, :Equivalence)
# Compute coequalizer (built into Catlab)
quotient = coequalizer(system, equiv_indices)
# Verify GF(3) conservation
@assert verify_gf3_conservation(quotient)
return quotient
end
Key: Adhesive categories (like C-Sets) have well-behaved coequalizers for incremental updates.
From /skills/browser-history-acset/path_equivalence_test.jl:
# Path composition via subpart chains
@assert subpart(acs, subpart(acs, 1, :url_of), :domain_of) == 1
# Multiple visit paths may lead to same outcome
# Coequalizer identifies equivalent paths
Application: Navigation paths through skill graphs that produce same results should be identified.
From /skills/ordered-locale/sheaves.py:
def gluing(cover: List[FrozenSet], family: Dict[FrozenSet, T]) -> Optional[T]:
"""
Glue a compatible family over a cover.
This is the sheaf condition - dual to coequalizer.
"""
# Check compatibility on overlaps
for U_i, U_j in pairs(cover):
overlap = U_i & U_j
if overlap:
res_i = restrict(U_i, overlap, family[U_i])
res_j = restrict(U_j, overlap, family[U_j])
if res_i != res_j:
return None # Incompatible family
# Glue: coequalizer of restrictions
return reduce(lambda a, b: a | b, family.values(), frozenset())
Key: Sheaf gluing IS the dual of coequalizer. Overlapping skill contexts must agree.
From /skills/compositional-acset-comparison/IrreversibleMorphisms.jl:
# Irreversible morphisms: information loss
const MORPHISM_CLASSIFICATION = Dict(
:parent_manifest => :irreversible, # Append-only chain
:source_column => :irreversible, # Lossy embedding
# ...
)
# Coequalizers preserve irreversibility classification
# If f, g both irreversible, coeq(f,g) is irreversible
Application: Track information loss through quotients. GF(3) trit sum must be preserved.
using Catlab.CategoricalAlgebra
using AlgebraicRewriting
@present SchSkillCoequalizer(FreeSchema) begin
Skill::Ob
Application::Ob
Equivalence::Ob
app_src::Hom(Application, Skill)
app_tgt::Hom(Application, Skill)
equiv_app1::Hom(Equivalence, Application)
equiv_app2::Hom(Equivalence, Application)
Trit::AttrType
Behavior::AttrType
skill_trit::Attr(Skill, Trit)
app_behavior::Attr(Application, Behavior)
end
@acset_type SkillSystem(SchSkillCoequalizer,
index=[:app_src, :app_tgt, :equiv_app1, :equiv_app2])
bisimulation-game (-1) ⊗ coequalizers (0) ⊗ oapply-colimit (+1) = 0 ✓
temporal-coalgebra (-1) ⊗ coequalizers (0) ⊗ topos-adhesive (+1) = 0 ✓
browser-history-acset (-1) ⊗ coequalizers (0) ⊗ ordered-locale (sheaves) (+1) = 0 ✓
just coequalizer-find SKILLS... # Find equivalences among skills
just coequalizer-quotient SYSTEM # Compute quotient
just coequalizer-verify GF3 # Verify GF(3) conservation
just coequalizer-disperse AGENTS... # Sync across agents
just coequalizer-pushout SKILL1 SKILL2 # Compose with overlap
oapply-colimit - Pushout = coproduct + coequalizerbisimulation-game - Behavioral equivalence testingtopos-adhesive-rewriting - Incremental query updating via coequalizersbrowser-history-acset - Path equivalence in ACSetsordered-locale (sheaves.py) - Gluing as dual of coequalizercompositional-acset-comparison (IrreversibleMorphisms.jl) - Lossy morphismsbisimulation-game (-1) - Behavioral equivalenceoapply-colimit (+1) - Pushout compositiontopos-adhesive-rewriting (+1) - Incremental updatestemporal-coalgebra (-1) - Coalgebraic bisimulationordered-locale (0) - Sheaf gluingSkill Name: coequalizers
Type: Category-Theoretic Skill Composition
Trit: 0 (ERGODIC - coordinates equivalences)
GF(3): Conserved via triadic composition
EXECUTION_RESULTS.md (opens in a new tab)EXECUTION_SUMMARY.md (opens in a new tab)FINAL_SYNTHESIS.md (opens in a new tab)INTEGRATION_COMPLETE.md (opens in a new tab)MCP_WORLDS.md (opens in a new tab)MISSING_DIMENSIONS.md (opens in a new tab)PUSH_PULL_MEASUREMENT.md (opens in a new tab)SkillCoequalizers.jl (opens in a new tab)SkillCoequalizers.org (opens in a new tab)VISUALIZATION.md (opens in a new tab)WHEN_NAME_HASHING.md (opens in a new tab)WORLDS.md (opens in a new tab)WORLD_CYCLE_DIAGRAM.md (opens in a new tab)WORLD_CYCLE_RESULTS.md (opens in a new tab)WorldHopping.jl (opens in a new tab)WorldHopping.org (opens in a new tab)all_skill_trits.csv (opens in a new tab)analyze_meta_bundles.jl (opens in a new tab)analyze_meta_bundles.org (opens in a new tab)analyze_pairs_and_triplets.jl (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
coequalizers, category-theory, skill-composition, bisimulation, colimits
Generated from the plugin's indexed repository (plurigrid/asi) — no native marketplace selected
npx claudepluginhub p/plurigrid-asi-plugins-asi1,393 skills in this plugin
/abductive-replHypothesis-Test Loops via REPL for Exploratory Abductive Inference/academic-researchSearch academic papers across arXiv, PubMed, Semantic Scholar, bioRxiv, medRxiv, Google Scholar, and more. Get BibTeX citations, download PDFs, analyze citation networks. Use for literature reviews, finding papers, and academic research./accept-no-substitutesThis skill should be used when agents generate placeholder tokens like "pseudo-", "mock-", "temporary", "TODO", "demo-", or similar incompleteness markers. Detects substitution patterns in agent OUTPUT and triggers mandatory user interview instead of accepting incomplete work. Activates automatically on any output containing forbidden tokens.Other plugins' skills for the same job