Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计通过

structural-rewilding结构性野化

Agent Skill

structural-rewilding 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

192

周安装

8

GitHub Stars

17

下载量

64
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:structural-rewilding(结构性野化)
来源仓库:https://github.com/plurigrid/asi
仓库路径:skills/structural-rewilding
安装命令:
npx skills add https://github.com/plurigrid/asi --skill structural-rewilding
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/plurigrid/asi --skill structural-rewilding

简介

structural-rewilding 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 它适用于待分类任务,具体用途需结合项目需求进一步确认。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合 README 进一步确认。
  • 使用前应检查权限边界、维护情况,以及是否会触发网络请求或文件系统操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Structural Rewilding: Homotopical Artificial Life

*"Life is not just the state of the system, but the topology of the changes (diffs) it can undergo."* — zubyul synthesis

Overview

Structural Rewilding applies homotopy type theory to Artificial Life, treating organisms as morphisms between states rather than states themselves. The key insight: verification happens at interaction time via Narya bridge types, not static self-verification.

The Three Orthogonal Vectors of Change

          STRUCTURAL (↓)
          Type/Form Diff
              │
              │ δS: Diff Type A B
              │
              ▼
    ┌─────────────────────────────┐
    │                             │
    │   BEHAVIORAL (→)            │
    │   State/Function Diff       │──────────────────────▶
    │   δB: path within type      │     time evolution
    │                             │
    └─────────────────────────────┘
              │
              │ BRIDGE (↘)
              │ Coherence Diff
              │ δC: 2-cell verifying δS preserves δB
              ▼
VectorSymbolMeaningNarya Term
HorizontalδBBehavioral/State DiffPath within type
VerticalδSStructural/Type DiffDiff Type A B
DiagonalδCBridge/Coherence Diff2-cell, "diff of diffs"

Interaction Time Verification

Unlike static type checking, verification occurs during interaction:

-- The bridge is constructed at interaction time
def verify_rewilding
  (Old New : World)
  (structural_change : Diff World Old New)
  (behavior : Old → Action)
  : Bridge (behavior Old) (behavior New) :=
    construct_at_runtime structural_change behavior

Key Properties:

  • Bridge types are *computational proofs*
  • Verification is *lazy* (constructed when needed)
  • Failure = type error at interaction boundary

A-Life Model Analysis

1. Continuous Substrate: Neural Cellular Automata & Lenia

Models: H-Lenia, Neural Particle Automata, Flow-Lenia

VectorDiffVerification
δBUpdate(State)Conservation laws (mass, energy)
δSAdd hierarchical layer: L1 → L1 + L2Functor mapping resolutions
δCDoes new layer preserve soliton stability?Energy coherence between layers
class HLeniaBridge:
    """Bridge type for H-Lenia structural changes."""

    def verify(self, layer1_state, layer2_state):
        # Bridge validates energy coherence
        energy_l1 = self.compute_energy(layer1_state)
        energy_l2 = self.compute_energy(layer2_state)

        # Coherence: energy flow must be consistent
        return abs(energy_l1 - energy_l2) < self.epsilon

    def rewild(self, state, new_layer):
        """Add layer only if bridge validates."""
        bridge = self.construct_bridge(state, new_layer)
        if not bridge.is_valid():
            raise BridgeError("Structural change breaks soliton stability")
        return state.with_layer(new_layer)

Rewilding Effect: System grows new spatial dimensions/resolutions on-the-fly without breaking organism persistence.

2. Semantic Substrate: LLM Societies & Language Agents

Models: Society of Mind on ALTER3, Internalist Cultural Evolution

VectorDiffVerification
δBNext token predictionConversation coherence
δSProtocol change: OpenChat → RestrictedMessageModule addition/removal
δCNew module maintains agent identity?Semantic consistency bridge
class SemanticBridge:
    """Bridge for LLM module rewilding."""

    def verify_module_addition(self, agent, new_module):
        # Get agent's identity invariant
        identity = agent.extract_identity()

        # Simulate with new module
        test_messages = agent.generate_with(new_module)

        # Bridge validates identity preservation
        return all(
            self.maintains_identity(msg, identity)
            for msg in test_messages
        )

Rewilding Effect: Society of Mind becomes fluid. K-lines form/dissolve dynamically, validated by coherence with agent identity.

3. Logical/Discrete Substrate: Digital Circuits & Rule Evolution

Models: Self-Organizing Digital Circuits, QD-LEAR

VectorDiffVerification
δBSignal propagation: Input → OutputI/O correctness
δSGraph transformer rewires LUTsTopology patch
δCRewiring preserves function?f(I) = f'(I) for all I
class CircuitBridge:
    """Bridge for circuit topology rewilding."""

    def verify_rewiring(self, old_circuit, new_circuit, test_inputs):
        # Structure can drift wildly...
        # ...as long as function remains pinned
        for inp in test_inputs:
            old_out = old_circuit(inp)
            new_out = new_circuit(inp)
            if old_out != new_out:
                return False
        return True

    def rewild(self, circuit, damage_location):
        """Reroute around damage while preserving function."""
        candidate = circuit.propose_rewiring(damage_location)
        bridge = self.verify_rewiring(circuit, candidate, self.test_suite)
        if not bridge:
            raise BridgeError("Rewiring changes circuit function")
        return candidate

Rewilding Effect: Circuit becomes "liquid" - constantly rewriting topology for optimization without halting execution.

Scale MG Standard: Transitivity and Coherence

In a Skills Dynamic Graph (G), every capability is a node. Structural rewilding = adding/removing nodes and edges.

The Transitivity Property

If Skill A → Skill B and we add Skill C bridging them:

    A ──────→ B
     ╲       ↗
      ╲     ╱
       ╲   ╱
        ↘ ↙
         C

We need a 2-cell (surface) filling the triangle.

In Narya Terms:

def transitivity_bridge
  (A B C : Skill)
  (ab : A → B)
  (ac : A → C)
  (cb : C → B)
  : Bridge ab (ac >> cb) :=
    -- Constructed at interaction time
    interaction_verify ac cb

Coherence on the Way In

Using Narya, we don't just "add" a skill. We define a Diff between world models:

-- Step 1: Define the Diff
def add_skill : Diff World Old New := ...

-- Step 2: Construct the Bridge
-- Must show how every neighbor adapts
def bridge : Bridge Old.behaviors New.behaviors :=
  -- Example: Tool Use added to Foraging agent
  -- Bridge maps Forage(EmptyHand) → Forage(Tool)
  fun old_behavior =>
    match old_behavior with
    | Forage(EmptyHand) => Forage(Tool)
    | other => other

-- Step 3: Verification
-- If agent cannot instantiate bridge, skill not admitted

Result: World Model remains a continuous manifold of behavior, not a fractured set of disconnected scripts.

GF(3) Integration

The Rewilding Triad

alife (-1)              ⊗ structural-rewilding (0) ⊗ unified-continuations (+1) = 0 ✓
(state observation)        (topology of change)      (change execution)

Direction-Trit Mapping

DirectionTritRole
δB (Behavioral)-1Observes current state
δS (Structural)0Coordinates type changes
δC (Bridge)+1Generates verification proofs

Conservation: δB + δS + δC = -1 + 0 + 1 = 0 ✓

DiscoHy Implementation

#!/usr/bin/env hy
;; structural_rewilding.hy - Homotopical A-Life

(defclass StructuralRewilding []
  "Three orthogonal vectors of change with bridge verification."

  (defn __init__ [self substrate]
    (setv self.substrate substrate)  ;; continuous, semantic, or discrete
    (setv self.bridges {})
    (setv self.trit 0))

  (defn delta-behavioral [self state]
    "δB: Horizontal arrow, state evolution. Trit -1."
    {"type" "behavioral"
     "trit" -1
     "diff" (self.substrate.update state)})

  (defn delta-structural [self old-type new-type]
    "δS: Vertical arrow, type mutation. Trit 0."
    {"type" "structural"
     "trit" 0
     "diff" {"from" old-type "to" new-type}})

  (defn delta-bridge [self structural behavioral]
    "δC: Diagonal arrow, coherence verification. Trit +1."
    (setv bridge-proof (self.construct-bridge structural behavioral))
    {"type" "bridge"
     "trit" 1
     "valid" (bridge-proof.verify)
     "proof" bridge-proof})

  (defn rewild [self state structural-change]
    "Apply structural change only if bridge validates."
    (setv delta-b (self.delta-behavioral state))
    (setv delta-s (self.delta-structural state.type structural-change))
    (setv delta-c (self.delta-bridge delta-s delta-b))

    (when (not (:valid delta-c))
      (raise (ValueError "Bridge verification failed: change breaks coherence")))

    ;; GF(3) conservation check
    (setv total (+ (:trit delta-b) (:trit delta-s) (:trit delta-c)))
    (assert (= (% total 3) 0) "GF(3) violation in rewilding")

    (self.substrate.apply-change state structural-change)))

Continuation Interrelation

Structural rewilding connects to all continuation paradigms:

ContinuationRewilding Analog
call/ccCapture current substrate state (δB snapshot)
shift/resetDelimited structural change (δS within boundary)
CPSExplicit bridge passing (δC as continuation)
KleisliCompositional rewilding (δS₁ >> δS₂)
2TDXDirected structural change (no backtracking)
GoblinsCapability-safe rewilding (vow-based verification)

Commands

# Rewild substrate with verification
just rewild-continuous state new_layer    # H-Lenia hierarchy
just rewild-semantic agent new_module     # LLM society
just rewild-discrete circuit damage       # Circuit routing

# Verify bridge coherence
just bridge-verify old new structural_change

# Check transitivity in skill graph
just skill-transitivity A B C

# GF(3) conservation audit
just gf3-audit rewilding_log

References

ALIFE 2025

  • H-Lenia: Hierarchical continuous cellular automata
  • Flow-Lenia: Mass-conserving via continuity equation (arXiv:2506.08569)
  • Neural Particle Automata: Gradient-based self-organization
  • Society of Mind on ALTER3: Modular LLM agents
  • Self-Organizing Digital Circuits: Liquid circuit topology

Type Theory

  • Narya: Higher-dimensional type theory with bridge types
  • Riehl-Shulman: Synthetic ∞-categories
  • 2TDX: Directed extension types

zubyul Synthesis

  • Three orthogonal directions: δB, δS, δC
  • Interaction Time Verification
  • Scale MG transitivity standard
  • Coherence on the way in

Skill Name: structural-rewilding Type: Homotopical Artificial Life / Type-Theoretic Morphogenesis Trit: 0 (ERGODIC - coordinates topology of changes) GF(3): Conserved via triadic vector decomposition

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

structural-rewilding (−) + SDF.Ch10 (+) + [balancer] (○) = 0

Skill Trit: -1 (MINUS - verification)

Secondary Chapters

  • Ch7: Propagators
  • Ch4: Pattern Matching
  • Ch6: Layering
  • Ch2: Domain-Specific Languages

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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.04%
按下载量换算24

Claude

27.82%
按下载量换算18

Cursor

19.12%
按下载量换算12

Gemini CLI

9.43%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills