From asi
Defines Cat# as Comod(P) double category with bicomodules as data migrations; contrasts Kan extensions and resolves compositionality obstructions. Useful for advanced category theory reasoning.
How this skill is triggered — by the user, by Claude, or both
Slash command
/asi:catsharpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> "All Concepts are Cat#" — Spivak (ACT 2023)
"All Concepts are Cat#" — Spivak (ACT 2023) "All Concepts are Kan Extensions" — Mac Lane
Trit: 0 (ERGODIC)
Color: #26D826 (Green)
Role: Coordinator/Transporter
XIP: 6728DB (Reflow Operator)
ACSet Mapping: 138 skills → Cat# = Comod(P)
Cat# = Comod(P)
Where P = (Poly, y, ◁) is the polynomial monoidal category.
Cat# is the double category of:
Comod(Set, 1, ×) ≅ Span
↓
Mod(Span) ≅ Prof
| Home | Structure | Lives In |
|---|---|---|
| Span | Comodules in cartesian | Cat# linears |
| Prof | Modules over spans | Cat# bimodules |
| Presheaves | Right modules | Cat# cofunctors |
Kan Extensions says: Lan/Ran extend functors universally Cat# says: Not all bicomodules are pointwise computable
Obstruction: When the comma category (K ↓ d) doesn't have colimits:
(Lan_K F)(d) = colim_{(c,f: K(c)→d)} F(c)
↑
This colimit may not exist!
Resolution: Cat# bicomodules ARE the well-behaved migrations.
Kan Extensions says: Adjunctions Lan ⊣ Res ⊣ Ran Cat# says: Module structure requires coherence
Obstruction: The pentagon and triangle identities may fail:
(a ◁ b) ◁ c ≠ a ◁ (b ◁ c) when associator not natural
Resolution: Cat# enforces coherence via equipment structure.
Kan Extensions says: Profunctors = Ran-induced Cat# says: Not all horizontal morphisms are representable
Obstruction: A profunctor P: C ↛ D may not factor through Yoneda:
P ≠ Hom_D(F(-), G(-)) for any F, G
Resolution: Cat# includes non-representable bicomodules explicitly.
# Core Cat# triad
temporal-coalgebra (-1) ⊗ catsharp (0) ⊗ free-monad-gen (+1) = 0 ✓
# Mac Lane universal triad
yoneda-directed (-1) ⊗ kan-extensions (0) ⊗ oapply-colimit (+1) = 0 ✓
# Bicomodule decomposition
structured-decomp (-1) ⊗ catsharp (0) ⊗ operad-compose (+1) = 0 ✓
# Three Homes
sheaf-cohomology (-1) ⊗ catsharp (0) ⊗ topos-generate (+1) = 0 ✓
| Direction | Neighbor | Relationship |
|---|---|---|
| Left (-1) | kan-extensions | Universal property source |
| Right (+1) | operad-compose | Composition target |
"The notion of Kan extension subsumes all the other fundamental concepts of category theory."
"Cat# provides the HOME for all these structures."
Kan Extensions
↓
"What are the universal maps?"
↓
Cat# = Comod(P)
↓
"Where do they live and compose?"
↓
Equipment Structure
Key insight: Kan extensions answer "what", Cat# answers "where".
# Query Cat# concepts
just catsharp-query polynomial
# Show timeline
just catsharp-timeline
# Find polynomial patterns
just catsharp-poly
# Bridge to Kan extensions
just catsharp-kan-bridge
-- Slides with Cat# definitions
SELECT * FROM v_catsharp_definitions;
-- Polynomial operations
SELECT * FROM v_catsharp_poly_patterns;
-- Skill tensor product
SELECT * FROM catsharp_complete_index
WHERE skills LIKE '%kan%';
All 138 skills are mapped to Cat# structure via:
Skill Trit → Cat# Structure:
┌────────┬─────────────┬──────────┬───────────────┬────────────┐
│ Trit │ Poly Op │ Kan Role │ Structure │ Home │
├────────┼─────────────┼──────────┼───────────────┼────────────┤
│ -1 │ × (prod) │ Ran_K │ cofree t_p │ Span │
│ 0 │ ⊗ (para) │ Adj │ bicomodule │ Prof │
│ +1 │ ◁ (subst) │ Lan_K │ free m_p │ Presheaves │
└────────┴─────────────┴──────────┴───────────────┴────────────┘
-- Complete mapping
SELECT * FROM v_catsharp_acset_master;
-- Skill triads as bicomodule chains
SELECT * FROM v_catsharp_skill_bridge;
-- Three Homes distribution
SELECT * FROM v_catsharp_three_homes;
-- GF(3) balance status
SELECT * FROM v_catsharp_gf3_status;
GF(3) conservation IS the naturality condition of Cat# equipment:
For a triad (s₋₁, s₀, s₊₁):
Ran_K(s₋₁) →[bicomodule]→ s₀ →[bicomodule]→ Lan_K(s₊₁)
The commuting square:
G(f) ∘ η_A = η_B ∘ F(f)
Becomes the GF(3) equation:
(-1) + (0) + (+1) ≡ 0 (mod 3)
kan-extensions — Universal property formulationasi-polynomial-operads — Full polynomial functor theoryoperad-compose — Operadic compositionstructured-decomp — Bumpus tree decompositionsacsets — ACSet schema and navigationThis skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
category-theory: 139 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.
All 360 skills are mapped to Cat# structure:
| Trit | Role | Count | Poly Op | Kan Role | Home |
|---|---|---|---|---|---|
| -1 | MINUS | 9 | × (product) | Ran_K | Span |
| 0 | ERGODIC | 340 | ⊗ (parallel) | Adj | Prof |
| +1 | PLUS | 11 | ◁ (substitution) | Lan_K | Presheaves |
MINUS (-1): coalgebra, cofree, ran, cohomology, sheaf, limit, observe, consume
ERGODIC (0): default bridge/coordinator (bicomodule equilibrium)
PLUS (+1): free, lan, colimit, generator, producer, create, build, compose
| Home | Count | Description |
|---|---|---|
| Prof | 345 | Profunctors/bimodules (default) |
| Span | 10 | Comodules in cartesian |
| Presheaves | 5 | Right modules/cofunctors |
| Skill | Trit | Home | Poly Op | Kan Role |
|---|---|---|---|---|
| ┌────────────────────────────────────────────────────────┐ | ||||
| │ row │ | ||||
| │ varchar │ | ||||
| ├────────────────────────────────────────────────────────┤ | ||||
| │ | _integrated | 0 | Prof | ⊗ |
| │ | abductive-repl | 0 | Prof | ⊗ |
| │ | academic-research | 0 | Prof | ⊗ |
| │ | acsets | 0 | Prof | ⊗ |
| │ | acsets-relational-thinking | 0 | Span | ⊗ |
| │ | active-interleave | 0 | Prof | ⊗ |
| │ | agent-o-rama | 0 | Prof | ⊗ |
| │ | algorithmic-art | 0 | Prof | ⊗ |
| │ | alice | 0 | Prof | ⊗ |
| │ | alife | 0 | Prof | ⊗ |
| │ | amp-team-usage | 0 | Prof | ⊗ |
| │ | anima-theory | 0 | Prof | ⊗ |
| │ | anoma-intents | 0 | Prof | ⊗ |
| │ | aptos-agent | 0 | Prof | ⊗ |
| │ | aptos-gf3-society | 0 | Prof | ⊗ |
| │ | aptos-society | 0 | Prof | ⊗ |
| │ | aptos-trading | 0 | Prof | ⊗ |
| │ | aptos-wallet-mcp | 0 | Prof | ⊗ |
| │ | aqua-voice-malleability | 0 | Prof | ⊗ |
| │ | artifacts-builder | 1 | Prof | ⊗ |
| │ | asi-agent-orama | 0 | Prof | ⊗ |
| │ | asi-polynomial-operads | 0 | Prof | ⊗ |
| │ | assembly-index | 0 | Prof | ⊗ |
| │ | atproto-ingest | 0 | Prof | ⊗ |
| │ | autopoiesis | 0 | Prof | ⊗ |
| │ | babashka | 0 | Prof | ⊗ |
| │ | babashka-clj | 0 | Prof | ⊗ |
| │ | backend-development | 0 | Prof | ⊗ |
| │ | bafishka | 0 | Prof | ⊗ |
| │ | bdd-mathematical-verification | 0 | Prof | ⊗ |
| ├────────────────────────────────────────────────────────┤ | ||||
| │ 30 rows │ | ||||
| └────────────────────────────────────────────────────────┘ | ||||
| ... | ... | ... | ... | ... |
| 360 total |
The complete mapping is available at skills/catsharp/skill_mapping.json.
| Statistic | Value |
|---|---|
| Total morphisms | 113 |
| Curated morphisms | 40 |
| Hierarchical morphisms | 73 |
| Scientific skills | 137 |
| ASI skills updated | 362 |
| Bibliography themes | 16 |
| Domain | Description |
|---|---|
| annotated-data | AnnData-style annotated matrices |
| autodiff | JAX/MLX autodifferentiation |
| bioinformatics | BioPython sequence analysis |
| cheminformatics | RDKit chemical computation |
| dataframes | Polars high-performance frames |
| eda | Exploratory data analysis |
| geospatial | GeoPandas spatial data |
| graph-theory | NetworkX graph algorithms (hub) |
| scientific-computing | SciPy numerical methods |
| simulation | SimPy discrete event sim |
| time-series | Aeon temporal analysis |
| tree-structures | ETE tree traversal |
| visualization | Matplotlib plotting (hub) |
High-centrality skills that connect to many ASI skills:
networkx → 362 ASI skills (universal graph hub)
matplotlib → 11 visualization skills
scipy → 6 scientific computing skills
polars → 8 dataframe skills
jax → 7 autodiff skills
anndata → 13 annotated data skills
geopandas → 4 geospatial skills
simpy → 4 simulation skills
biopython → 6 bioinformatics skills
rdkit → 3 cheminformatics skills
From bib.duckdb (1192 citations):
| Theme | Count | Key Authors |
|---|---|---|
| category-theory | 139 | Spivak, Riehl, Myers, Fong |
| linear-algebra | 112 | Strang, Axler |
| dynamical-systems | 41 | Strogatz, Guckenheimer |
| graph-theory | 38 | Bondy, Diestel |
| homotopy-theory | 29 | Lurie, Riehl |
| abstract-interpretation | 26 | Cousot |
| game-theory | 21 | Nash, von Neumann |
The interleaving follows Cat# bicomodule structure:
ASI Skill ←[bicomodule]→ Scientific Skill
↓ ↓
domain domain
↓ ↓
Bibliography Theme ←→ Bibliography Theme
All morphisms preserve GF(3) trit classification.
npx claudepluginhub plurigrid/asi --plugin asiModels pairwise/tritwise Cat# interactions via ∞-operads with lazy ACSet materialization, unifying effective, realizability, and Grothendieck topoi using dendroidal Segal spaces.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.