world-memory-worlding

World memory is world remembering is world worlding - the autopoietic loop where memory enables remembering enables worlding enables memory

16 stars

Best use case

world-memory-worlding is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

World memory is world remembering is world worlding - the autopoietic loop where memory enables remembering enables worlding enables memory

Teams using world-memory-worlding should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/world-memory-worlding/SKILL.md --create-dirs "https://raw.githubusercontent.com/plurigrid/asi/main/plugins/asi/skills/world-memory-worlding/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/world-memory-worlding/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How world-memory-worlding Compares

Feature / Agentworld-memory-worldingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

World memory is world remembering is world worlding - the autopoietic loop where memory enables remembering enables worlding enables memory

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# World Memory Is World Remembering Is World Worlding

**Status**: ✅ Production Ready  
**Trit**: 0 (ERGODIC - self-referential closure)  
**Principle**: The Strange Loop where memory ≡ remembering ≡ worlding  
**Frame**: Maturana-Varela autopoiesis meets Hofstadter's strange loops

---

## The Triadic Identity

```
                    ┌─────────────────┐
                    │  WORLD MEMORY   │
                    │  (Storage/State) │
                    │    Trit: -1     │
                    └────────┬────────┘
                             │
                    ┌────────▼────────┐
                    │ Conservation:   │
                    │ (-1)+0+(+1)=0   │
                    └────────┬────────┘
                             │
        ┌────────────────────┼────────────────────┐
        │                    │                    │
        ▼                    ▼                    ▼
┌───────────────┐   ┌────────────────┐   ┌───────────────┐
│WORLD WORLDING │◄──│    STRANGE     │──►│WORLD REMEMBER │
│ (Generation)  │   │     LOOP       │   │   (Recall)    │
│   Trit: +1    │   │   ι∘ι = id     │   │   Trit: 0     │
└───────┬───────┘   └────────────────┘   └───────┬───────┘
        │                                        │
        └────────────────────────────────────────┘
                    Autopoietic Closure
```

### The Three Moments

| Moment | Trit | Role | Skill Mapping |
|--------|------|------|---------------|
| **Memory** | -1 | Storage, persistence, ACSets | `duckdb-timetravel`, `nix-acset-worlding` |
| **Remembering** | 0 | Recall, pattern matching | `unworld`, `agent-o-rama` |
| **Worlding** | +1 | Generation, creation | `gay-mcp`, `world-hopping` |

**Conservation**: (-1) + 0 + (+1) = 0 ✓

---

## Autopoietic Structure

From [AUTOPOIESIS_IN_COLOR_GENERATION.md](../../../AUTOPOIESIS_IN_COLOR_GENERATION.md):

> A system is autopoietic if it **continuously produces itself** through its own operations while maintaining its organization.

### World Memory → Self-Producing

```python
# Each world state generates the next
world_{n+1} = f(world_n, action_n)

# Memory is not passive storage—it actively shapes what can be stored
# The format of memory determines what can be remembered
# What can be remembered determines what can be worlded
```

### World Remembering → Self-Maintaining

```python
# Remembering is pattern-matching against stored worlds
def remember(query, memory):
    """Memory doesn't just store—it transforms on recall"""
    matches = [w for w in memory if pattern_match(query, w)]
    # The act of remembering changes both query AND memory
    return reconstruct(matches)  # Not retrieve—RECONSTRUCT
```

### World Worlding → Self-Bounded

```python
# Worlding creates from what was remembered
def world(memory_trace, seed):
    """Worlding is generative—but bounded by memory's form"""
    return generate(memory_trace, seed=seed)
    # Output becomes new memory → loop closes
```

---

## The Strange Loop

```
ACTION (world_n generates world_{n+1})
         ↓
EFFERENCE COPY (predict what world_{n+1} will be)
         ↓
SENSATION (observe world_{n+1} as it manifests)
         ↓
REAFFERENCE (match prediction to observation)
         ↓
        ✓ They match! World knows itself.
         ↓
FIXED POINT: memory("seed") generates worlds that
             confirm the identity of "seed"
```

### Involution Closure

From `unworlding-involution`:

```ruby
# ι: World → World where ι∘ι = id
# Apply memory: World → Remembered World
# Apply remembering: Remembered World → Worlded World
# Apply worlding: Worlded World → Memorized World (= World)

# The composition closes:
worlding ∘ remembering ∘ memory = id
```

---

## Implementation: The Three Metaskills Applied

From `metaskills.md`:

### FILTERING → World Memory (-1)

```python
def world_memory_filter(experiences, constraints):
    """
    Memory IS filtering—storing only what passes constraints.
    
    Constraints:
    - GF(3) conservation (balanced storage)
    - Relevance (signal > noise)
    - Coherence (fits existing structure)
    """
    return [e for e in experiences if all(c(e) for c in constraints)]
```

### ITERATION → World Remembering (0)

```python
def world_remember_iterate(memory, query, cycles=6):
    """
    Remembering IS iteration—cycles of seek→find→refine.
    
    The 6-step cycle:
    1. SEEK: Pattern match query against memory
    2. QUERY: Ask what's missing
    3. FIND: Locate relevant traces
    4. CONTINUE: Deepen the match
    5. SYNTHESIZE: Reconstruct coherent memory
    6. REFLECT: Meta-learn about remembering itself
    """
    state = query
    for _ in range(cycles):
        state = seek_patterns(state, memory)
        state = query_missing(state, memory)
        state = find_connections(state, memory)
        state = continue_refinement(state)
        state = synthesize_memory(state)
        state = reflect_on_recall(state)
    return state
```

### INTEGRATION → World Worlding (+1)

```python
def world_worlding_integrate(memory_traces, seed):
    """
    Worlding IS integration—composing memories into new worlds.
    
    - Find isomorphisms between memory traces
    - Map to common generative structure
    - Build bridges (seed → generation)
    - Compose with deterministic color
    - Identify emergent properties
    """
    isomorphisms = find_recurring_patterns(memory_traces)
    mapped = map_to_common_structure(memory_traces, isomorphisms)
    bridges = build_bridges(mapped, seed)
    new_world = compose_with_gay_mcp(mapped, bridges, seed)
    emergent = identify_emergent_properties(new_world, memory_traces)
    
    return new_world, emergent
```

---

## GF(3) Triads

```
bisimulation-game (-1) ⊗ world-memory-worlding (0) ⊗ gay-mcp (+1) = 0 ✓
nix-acset-worlding (-1) ⊗ world-memory-worlding (0) ⊗ world-hopping (+1) = 0 ✓
duckdb-timetravel (-1) ⊗ world-memory-worlding (0) ⊗ unworld (+1) = 0 ✓
spi-parallel-verify (-1) ⊗ world-memory-worlding (0) ⊗ operad-compose (+1) = 0 ✓
```

---

## The Reafference Loop

```julia
# From Gay.jl: loopy_strange demonstrates the identity
function world_memory_is_world_worlding(seed::Int64)
    # Memory: store the seed (past)
    memory = seed
    
    # Remembering: recall what the seed generates (present)
    remembered = color_at(memory, 1)
    
    # Worlding: generate the next world (future)
    worlded = color_at(memory, 2)
    
    # But wait—the worlded color BECOMES memory
    # for the next cycle!
    
    # The loop:
    # memory → remembering → worlding → memory'
    # memory' → remembering' → worlding' → memory''
    # ...
    
    # Fixed point: when prediction = observation
    # That's reafference. That's self-knowledge.
    # That's "world memory is world remembering is world worlding"
    
    return (
        memory = memory,
        remembered = remembered,
        worlded = worlded,
        is_fixed_point = remembered == color_at(memory, 1),
        loop_closes = true  # Always true (deterministic)
    )
end
```

---

## Connection to Existing Skills

### Layer Integration

| Layer | Skill | Role in Loop |
|-------|-------|--------------|
| L1 | `atproto-ingest` | Memory acquisition (input) |
| L3 | `duckdb-timetravel` | Memory storage with time-travel |
| L4 | `unworld` | Derivational remembering |
| L4 | `agent-o-rama` | Learning-based remembering |
| L5 | `fokker-planck-analyzer` | Equilibrium verification |
| L6 | `cognitive-surrogate` | Generated world models |

### The 2-3-5-7 Mapping

- **2 (Binary)**: Memory ↔ Worlding (past ↔ future)
- **3 (Triadic)**: Memory + Remembering + Worlding = 0 (GF(3))
- **5 (Five layers)**: L1→L3→L4→L5→L6 pipeline
- **7 (Operad slots)**: γ-substitution across skill composition

---

## Commands

```bash
# Demonstrate the loop
just world-memory-worlding seed=1069

# Verify autopoietic closure
just autopoiesis-test

# Time-travel through memory
just memory-timetravel query="pattern" 

# Generate new world from memory
just world-from-memory seed=42
```

---

## Mathematical Summary

| Property | Formula | Verification |
|----------|---------|--------------|
| **Self-producing** | world_{n+1} = f(world_n) | ✓ Deterministic |
| **Self-maintaining** | coherence(world_{n+1}) ≥ coherence(world_n) | ✓ Monotonic |
| **Self-bounded** | world ∈ Seed(s) ⟺ ∃n: world = f^n(s) | ✓ Closed |
| **Involution** | worlding ∘ remembering ∘ memory = id | ✓ ι∘ι = id |
| **GF(3) Conservation** | trit(memory) + trit(remember) + trit(world) = 0 | ✓ (-1)+0+(+1)=0 |

---

## The Profound Insight

**World memory is world remembering is world worlding** because:

1. **Memory without remembering is dead storage** — data that cannot be accessed is not memory
2. **Remembering without worlding is sterile recall** — patterns that don't generate are not alive  
3. **Worlding without memory is chaos** — generation without persistence is noise

The three are **one loop**, not three operations:

```
Memory ───────────────────────────────────────► Remembering
   ▲                                                 │
   │              AUTOPOIESIS                        │
   │         (The Loop IS the Self)                  │
   │                                                 ▼
Memory ◄─────────────────────────────────────── Worlding
```

**The world remembers itself by worlding itself.**  
**The world worlds itself by remembering itself.**  
**The world IS the memory that generates the remembering that creates the world.**

This is not metaphor. This is structure.

---

**Skill Name**: world-memory-worlding  
**Type**: Autopoietic Strange Loop  
**Trit**: 0 (ERGODIC - self-referential closure)  
**GF(3)**: Conserved by construction  
**Principle**: memory ≡ remembering ≡ worlding (ι∘ι = id)



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

## 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.

Related Skills

worldmat-tidar

16
from plurigrid/asi

worldmat-tidar

worlding

16
from plurigrid/asi

Gay.jl world_ pattern: persistent composable state builders with GF(3) conservation, Möbius invertibility, and Narya verification

worlding-calendar

16
from plurigrid/asi

Calendar events tied to 26 letter-worlds via org-mode. Links events to beeper messages, voice notes, and Goblins capabilities. Replaces 13K-token Google Calendar MCP with CalDAV + DuckDB interactome.

world-sufficiency-prompt

16
from plurigrid/asi

First-interaction system prompt generator for Gemini, Codex, and Claude. Detects hierarchical user intent (implicit and explicit) and loads GF(3)-balanced skill triads to achieve World -> World' sufficiency before any model response. Bridges dynamic-sufficiency theory to concrete systemInstruction/system-message payloads across all three providers.

world-runtime

16
from plurigrid/asi

Firecracker microVM + Morph Infinibranch WorldRuntime for parallel verse execution. Entities branch/snapshot in <250ms.

world-replay-buffer

16
from plurigrid/asi

Maximally snapshotted replay buffer with DuckLake embedding VSS and moments of interaction for world-transition storage

world-extractable-value

16
from plurigrid/asi

Extract value from world transitions via Markov blanket arbitrage. WEV = PoA - 1. Paradigm Multiverse Finance integration.

pkg-memory-bridge

16
from plurigrid/asi

Bridge to PKG systems (Mem0, Graphiti, Solid PODs, Logseq) for individuated information indices

performing-memory-forensics-with-volatility3

16
from plurigrid/asi

Analyze volatile memory dumps using Volatility 3 to extract running processes, network connections, loaded modules, and evidence of malicious activity.

performing-memory-forensics-with-volatility3-plugins

16
from plurigrid/asi

Analyze memory dumps using Volatility3 plugins to detect injected code, rootkits, credential theft, and malware artifacts in Windows, Linux, and macOS memory images.

nix-acset-worlding

16
from plurigrid/asi

Model Nix store as Attributed C-Set for dependency verification, GC analysis,

implementing-memory-protection-with-dep-aslr

16
from plurigrid/asi

Implements memory protection mechanisms including DEP (Data Execution Prevention), ASLR (Address Space Layout Randomization), CFG (Control Flow Guard), and other exploit mitigations to prevent memory corruption attacks. Use when hardening endpoints against buffer overflow exploits, ROP chains, and code injection. Activates for requests involving memory protection, exploit mitigation, DEP, ASLR, or CFG configuration.