/asi:oapply-colimitfrom asi
Evaluates operad algebra colimits for composing dynamical systems using wiring diagrams and Specter-style navigation.
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.
None: SKILL.md is the whole skill.
Operad algebra evaluation via colimits with bidirectional navigation
Version: 1.1.0 Trit: +1 (Generator - composes systems)
oapply computes colimit of component diagram over wiring pattern:
using AlgebraicDynamics
# Pattern + components → composite
composite = oapply(wiring_diagram, [machine1, machine2, ...])
| Mode | Type | Gluing | Example |
|---|---|---|---|
| Undirected | ResourceSharer | Pushout (shared state) | Lotka-Volterra |
| Directed | Machine | Wiring (signal flow) | Control systems |
function oapply(d::UndirectedWiringDiagram, xs::Vector{ResourceSharer})
# 1. Coproduct of state spaces
S = coproduct((FinSet ∘ nstates).(xs))
# 2. Pushout identifies shared variables
S′ = pushout(portmap, junctions)
# 3. Induced dynamics sum at junctions
return ResourceSharer(induced_interface, induced_dynamics)
end
Navigate wiring diagrams with bidirectional paths:
using SpecterACSet
# Navigate to all boxes
select([wd_boxes, ALL], diagram)
# Navigate to all wires from a specific box
select([wd_wires, pred(w -> source_box(w) == 1)], diagram)
# Transform: rename all boxes
transform([wd_boxes, ALL, box_name], uppercase, diagram)
| Navigator | Select | Transform |
|---|---|---|
wd_boxes | All boxes | Update boxes |
wd_wires | All wires | Update wires |
wd_ports(box_id) | Ports of box | Update ports |
wd_outer_ports | Outer interface | Update interface |
Specter's comp-navs pattern mirrors oapply:
# Specter: compose navigators (fast - just allocation)
comp_navs(nav1, nav2, nav3)
# oapply: compose machines (colimit of diagram)
oapply(wiring, [machine1, machine2, machine3])
Both use composition as colimit - Specter over paths, oapply over state spaces.
# Lotka-Volterra as composed resource sharers
rabbit = ResourceSharer{Float64}([:pop], [:pop]) do u, p, t
[p.α * u[1]] # growth
end
fox = ResourceSharer{Float64}([:pop], [:pop]) do u, p, t
[-p.δ * u[1]] # decay
end
# Compose via shared population interface
predation = oapply(predation_diagram, [rabbit, fox])
# Wiring diagram → Sexp
sexp = sexp_of_wiring_diagram(diagram)
# Navigate: find all box names
box_names = select([SEXP_CHILDREN, pred(is_box), SEXP_HEAD, ATOM_VALUE], sexp)
# Roundtrip
diagram2 = wiring_diagram_of_sexp(sexp)
schema-validation (-1) ⊗ acsets (0) ⊗ oapply-colimit (+1) = 0 ✓
interval-presheaf (-1) ⊗ algebraic-dynamics (0) ⊗ oapply-colimit (+1) = 0 ✓
bisimulation-game (-1) ⊗ coequalizers (0) ⊗ oapply-colimit (+1) = 0 ✓
coequalizers (0) - Uses pushout = coproduct + coequalizer decompositionbisimulation-game (-1) - Behavioral equivalence for skill pathstopos-adhesive-rewriting (+1) - Incremental updates via coequalizersFor time-varying systems, oapply composes observable functors:
# Koopman operator: lift nonlinear → infinite-dim linear
# oapply: compose lifted systems via colimit
composed_koopman = oapply(
dynamics_diagram,
[koopman_lift(system1), koopman_lift(system2)]
)
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
general: 734 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: -1 (MINUS)
Home: Prof
Poly Op: ⊗
Kan Role: Ran_K
Color: #FF6B6B
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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