asi-integrated
npx skills add https://github.com/plurigrid/asi --skill asi-integrated
Agent 安装分布
Skill 文档
ASI Integrated Skill
Synthesizes all loaded skills into a coherent system for Artificial Superintelligence skill orchestration.
Skill Lattice
âââââââââââââââââââ
â glass-bead-game â
â (synthesis) â
ââââââââââ¬âââââââââ
â
âââââââââââââââââââââ¼ââââââââââââââââââââ
â â â
ââââââââââ¼âââââââââ ââââââââââ¼âââââââââ ââââââââââ¼âââââââââ
â world-hopping â â bisimulation â â triad-interleaveâ
â (navigation) â â (dispersal) â â (scheduling) â
ââââââââââ¬âââââââââ ââââââââââ¬âââââââââ ââââââââââ¬âââââââââ
â â â
âââââââââââââââââââââ¼ââââââââââââââââââââ
â
ââââââââââ¼âââââââââ
â gay-mcp â
â (deterministic â
â coloring) â
ââââââââââ¬âââââââââ
â
ââââââââââ¼âââââââââ
â acsets â
â (data model) â
âââââââââââââââââââ
Unified Protocol
1. Schema (ACSets)
@present SchASIWorld(FreeSchema) begin
World::Ob
Skill::Ob
Agent::Ob
source::Hom(World, World)
target::Hom(World, World)
has_skill::Hom(Agent, Skill)
inhabits::Hom(Agent, World)
Seed::AttrType
Trit::AttrType
seed::Attr(World, Seed)
color_trit::Attr(Skill, Trit)
end
2. Color Generation (Gay-MCP)
from gay import SplitMixTernary, TripartiteStreams
def color_world(world_seed: int, skill_index: int) -> dict:
gen = SplitMixTernary(world_seed)
return gen.color_at(skill_index)
3. World Navigation (World-Hopping)
def hop_between_worlds(w1, w2, event_name: str):
distance = world_distance(w1, w2)
if valid_hop(w1, w2):
event = Event(site=["skill"], name=event_name)
return event.execute(w1)
return None
4. Skill Dispersal (Bisimulation)
async def disperse_skill(skill_path: str, agents: list):
game = BisimulationGame()
for i, agent in enumerate(agents):
trit = (i % 3) - 1 # GF(3) balanced
game.attacker_move(agent, skill_path, trit)
game.defender_respond(await agent.receive(skill_path))
return game.arbiter_verify()
5. Parallel Execution (Triad Interleave)
def schedule_skill_updates(seed: int, n_agents: int):
interleaver = TriadInterleaver(seed)
schedule = interleaver.interleave(
n_triplets=n_agents // 3,
policy="gf3_balanced"
)
return schedule
6. Synthesis (Glass Bead Game)
def synthesize_skills(*skills):
game = GlassBeadGame()
for skill in skills:
game.add_bead(skill.name, skill.domain)
# Connect skills via morphisms
game.connect("acsets", "gay-mcp", via="seed_to_color")
game.connect("gay-mcp", "triad-interleave", via="color_stream")
game.connect("triad-interleave", "bisimulation", via="schedule")
game.connect("bisimulation", "world-hopping", via="dispersal")
return game.score()
~/worlds Letter Index
| Letter | Domain | Key Projects |
|---|---|---|
| a | Category Theory | ACSets.jl, Catlab.jl, Decapodes.jl |
| b | Terminal | bmorphism/trittty |
| p | Infrastructure | plurigrid/oni, alpaca.cpp |
| t | Collaboration | CatColab |
| e | HoTT | infinity-cosmos (Lean 4) |
| r | Type Theory | rzk (simplicial HoTT) |
| n | Knowledge | nlab-content |
| o | Music | rubato-composer |
GF(3) Conservation Law
All operations preserve:
â trits â¡ 0 (mod 3)
Across:
- World hops (Attacker -1, Defender +1, Arbiter 0)
- Color triplets (MINUS, ERGODIC, PLUS)
- Schedule entries (balanced per triplet)
- Skill dispersal (agent assignments)
Commands
# Generate integrated schedule
just asi-schedule 0x42D 10
# Disperse skills to all agents
just asi-disperse ~/.claude/skills/
# Verify GF(3) conservation
just asi-verify
# Play glass bead synthesis
just asi-synthesize a b p t
# World hop between letters
just asi-hop a t
Starred Gists: Fixpoint & Type Theory Resources
Curated from bmorphism’s GitHub interactions:
zanzix: Fixpoints of Indexed Functors
Fix.idr – Idris indexed functor fixpoints for graphs, multi-graphs, poly-graphs.
data IFix : (f : (k -> Type) -> k -> Type) -> k -> Type where
In : f (IFix f) i -> IFix f i
VictorTaelin: ITT-Flavored CoC Type Checker
itt-coc.ts – Intensional Type Theory CoC in TypeScript.
VictorTaelin: Affine Types
Affine.lean – Linear/affine type experiments in Lean 4.
rdivyanshu: Streams & Unique Fixed Points
Nats.dfy – Dafny streams with unique fixpoint theorems.
Keno: Abstract Lattice
abstractlattice.jl – Julia abstract lattice. Comment: “a quantum of abstract solace â”
norabelrose: Fast Kronecker Decomposition
kronecker_decompose.py – Optimal Kronecker decomposition.
borkdude: UUID v1 in Babashka
uuidv1.clj – Deterministic UUID generation in Clojure.
QuickCheck/Adhesive Rewriting Integration
Property-based testing connects to ASI through autopoietic generators:
# QuickCheck-style recursive generator with GF(3) conservation
function autopoietic_tree(seed::UInt64, depth::Int)
rng = SplitMix64(seed)
trit = mod(next_u64!(rng), 3) - 1
if depth == 0 || trit == -1 # MINUS = terminate
return Leaf(color_at(seed))
else
left_seed, right_seed = split(rng)
return Node(
trit = trit,
left = autopoietic_tree(left_seed, depth-1),
right = autopoietic_tree(right_seed, depth-1)
)
end
end
Shrinking as Adhesive Complement
QuickCheck shrinking = finding minimal â¼Q_G in adhesive categories:
- Decomposition: Q â Q_G +_{Q_L} Q_R
- Complement: â¼A is smallest subobject where X = A ⨠â¼A
- Shrunk value = complement of failed portion
Transitive Closure (Kris Brown)
From Incremental Query Updating in Adhesive Categories:
path(X,Z) :- path(X,Y), edge(Y,Z).
Incremental update: When we apply rule to add path(a,b),
new matches = outgoing edges from b (rooted search)
References
- Towards Foundations of Categorical Cybernetics – Capucci, GavranoviÄ, Hedges, Rischel
- Modeling autopoiesis and cognition with reaction networks – Bickhard
- Bicategories of Automata, Automata in Bicategories – ACT 2023
Directory Tree
plurigrid/asi/
âââ package.json
âââ bin/cli.js
âââ README.md
âââ skills/
âââ a/SKILL.md # AlgebraicJulia
âââ b/SKILL.md # bmorphism
âââ c/SKILL.md # cognitect
âââ d/SKILL.md # claykind
âââ e/SKILL.md # infinity-cosmos
âââ f/SKILL.md # clojure-site
âââ g/SKILL.md # archiver-bot
âââ h/SKILL.md # gdlog
âââ i/SKILL.md # InverterNetwork
âââ k/SKILL.md # kubeflow
âââ l/SKILL.md # pretty-bugs
âââ m/SKILL.md # awesome-category-theory
âââ n/SKILL.md # nlab-content
âââ o/SKILL.md # oeis, rubato-composer
âââ p/SKILL.md # plurigrid
âââ q/SKILL.md # quadrat
âââ r/SKILL.md # rzk
âââ s/SKILL.md # mathematicians
âââ t/SKILL.md # CatColab
âââ v/SKILL.md # viro
âââ _integrated/ # This skill
âââ SKILL.md
Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
Graph Theory
- networkx [â] via bicomodule
- Universal graph hub
Bibliography References
general: 734 citations in bib.duckdb
SDF Interleaving
This skill connects to Software Design for Flexibility (Hanson & Sussman, 2021):
Primary Chapter: 10. Adventure Game Example
Concepts: autonomous agent, game, synthesis
GF(3) Balanced Triad
_integrated (â) + SDF.Ch10 (+) + [balancer] (â) = 0
Skill Trit: -1 (MINUS – verification)
Secondary Chapters
- Ch3: Variations on an Arithmetic Theme
- Ch1: Flexibility through Abstraction
- Ch4: Pattern Matching
Connection Pattern
Adventure games synthesize techniques. This skill integrates multiple patterns.
Cat# Integration
This 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
GF(3) Naturality
The skill participates in triads satisfying:
(-1) + (0) + (+1) â¡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.