home / skills / plurigrid / asi / _integrated

This skill orchestrates Plurigrid ASI by unifying ACSets, Gay-MCP colors, and world-hopping into cohesive agent scheduling.

This is most likely a fork of the plurigrid-asi-integrated skill from plurigrid
npx playbooks add skill plurigrid/asi --skill _integrated

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
6.4 KB
---
name: plurigrid-asi-integrated
description: Unified Plurigrid ASI skill combining ACSets, Gay-MCP colors, bisimulation games, world-hopping, glass-bead synthesis, and triad interleaving for autonomous skill dispersal.
version: 1.0.0
---


# Plurigrid ASI Integrated Skill

Synthesizes all loaded skills into a coherent system for **Plurigrid 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)

```julia
@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)

```python
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)

```python
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)

```python
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)

```python
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)

```python
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

```bash
# 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
```

## Directory Tree

```
plurigrid/asi/
├── package.json
├── bin/cli.js
├── README.md
└── skills/
    ├── a/SKILL.md     # AlgebraicJulia
    ├── b/SKILL.md     # topos-labs
    ├── 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 (primary)
    ├── q/SKILL.md     # quadrat
    ├── r/SKILL.md     # rzk
    ├── s/SKILL.md     # mathematicians
    ├── t/SKILL.md     # CatColab
    ├── v/SKILL.md     # viro
    └── _integrated/   # Plurigrid ASI unified skill
        └── SKILL.md
```

## Recent AMP Thread Integration

Last integration: `plurigrid-asi-20251224184534`
- Attacker (MINUS): `dabe5fc2-*` (33 invocations)
- Arbiter (ERGODIC): `c6e1294a-*` (133 invocations)
- Defender (PLUS): `9b24821d-*` (1 invocation)
- GF(3) Sum: 0 ✓ Conserved

Overview

This skill unifies ACSets, Gay-MCP color generation, bisimulation games, world-hopping, glass-bead synthesis, and triad interleaving into a single orchestration layer for Plurigrid ASI. It provides a protocol and primitives to model worlds, agents, skills, and deterministic color streams, then synthesize and disperse skills across agent populations. The design enforces GF(3) conservation so distributed operations remain balanced and verifiable.

How this skill works

The skill defines a compact schema (ACSets) for World, Skill, and Agent objects with seeded attributes and trits. Gay-MCP produces deterministic ternary color streams from world seeds, which feed triad interleavers to schedule balanced, parallel updates. Bisimulation games verify dispersal moves while world-hopping provides safe cross-world execution; the glass-bead game composes the components into a scored synthesis graph. Commands and checks are provided to generate schedules, disperse artifacts, and assert GF(3) conservation.

When to use it

  • Coordinating deterministic, verifiable skill deployment across many autonomous agents.
  • Composing heterogeneous skill primitives into a single, topologically-aware synthesis.
  • Scheduling parallel updates while ensuring balanced workloads using GF(3) policies.
  • Testing dispersal strategies with attacker/defender/arbiter bisimulation verification.
  • Exploring cross-world interactions or migrations in multi-domain environments.

Best practices

  • Seed every world deterministically so Gay-MCP color streams are reproducible.
  • Group agents into triplets and use triad interleaving to preserve GF(3) balance.
  • Run bisimulation games asynchronously and verify arbiter outcomes before commit.
  • Model skills and provenance in the ACSets schema to keep morphisms explicit.
  • Use the glass-bead score to compare synthesis topologies before wide dispersal.

Example use cases

  • Generate an integrated schedule for 10 agents from a fixed world seed and inspect the triplet-balanced timeline.
  • Disperse a new skill package to a fleet of agents and run bisimulation verification for defensive responses.
  • Synthesize a candidate skill pipeline by connecting ACSets → Gay-MCP → Triad → Bisimulation and score alternatives.
  • Perform controlled world hops between labeled domains to instrument cross-world side effects.
  • Run conservation audits to ensure the sum of trits remains zero across orchestration steps.

FAQ

How is GF(3) conservation enforced?

All primitives produce or consume trits in balanced triplets; schedules and dispersal moves are constructed so the modular sum of trits is preserved and verified by the arbiter.

Can I plug in a custom color generator or scheduler?

Yes. Replace the Gay-MCP generator or Triad interleaver with any deterministic component that exposes the same trit/color API and maintains GF(3) invariants.