Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

implicit-coordination

БесплатноБез исполняемых скриптовНе проверен

Stigmergic agent coordination through environment modification, not messages. Vehicle semantics where carrier encodes meaning.

plurigridот plurigrid★ 73 звезды на GitHub

Об этом скилле

Implicit Coordination Skill

"The trace IS the message." "22 frames with OCR in 10ms, one causality trip."

Overview

Implicit Coordination enables multi-agent systems to coordinate WITHOUT explicit message passing:

                    ┌─────────────────────────┐
                    │     ENVIRONMENT         │
                    │  (DuckDB + Seed Chain)  │
                    └───────────┬─────────────┘
                                │
            ┌───────────────────┼───────────────────┐
            │                   │                   │
    ┌───────▼───────┐   ┌───────▼───────┐   ┌───────▼───────┐
    │   Agent -1    │   │   Agent  0    │   │   Agent +1    │
    │  (Validator)  │   │ (Coordinator) │   │  (Generator)  │
    │   READS       │   │   DERIVES     │   │   WRITES      │
    └───────────────┘   └───────────────┘   └───────────────┘
            │                   │                   │
            └───────────────────┼───────────────────┘
                                │
                        NO MESSAGES
                     Only environment traces

Core Principle: Stigmergy

Stigmergy (Grassé 1959): Agents coordinate through environment modification.

Traditional:   Agent A --[message]--> Agent B
Stigmergic:    Agent A --[writes]--> Environment <--[reads]-- Agent B

Key insight: The seed chain IS the coordination mechanism:

  • Agent +1 (Generator): Writes seed to environment
  • Agent 0 (Coordinator): Derives next seed via SplitMix64
  • Agent -1 (Validator): Reads and verifies GF(3) conservation

Vehicle Semantics

The carrier encodes meaning (not separate payload):

Vehicle Semantic Content
Seed (UInt64) Identity + history hash
Trit (-1/0/+1) Role polarity
Color (Hex) Visual marker + verification
Timestamp Causal ordering

Performance: One Causality Trip

22 frames OCR → 10ms total → single DuckDB write

vs. Traditional:
22 frames → 22 messages → 22 round trips → 22 acknowledgments

Latency reduction: O(n) → O(1) for n frames.

GF(3) Triads

shadow-goblin (-1) ⊗ implicit-coordination (0) ⊗ gay-mcp (+1) = 0 ✓  [Core Stigmergy]
three-match (-1) ⊗ implicit-coordination (0) ⊗ agent-o-rama (+1) = 0 ✓  [Validation]
temporal-coalgebra (-1) ⊗ implicit-coordination (0) ⊗ world-runtime (+1) = 0 ✓  [Verse Traces]
polyglot-spi (-1) ⊗ implicit-coordination (0) ⊗ gay-mcp (+1) = 0 ✓  [Cross-Lang]
ramanujan-expander (-1) ⊗ implicit-coordination (0) ⊗ influence-propagation (+1) = 0 ✓  [Network]

Implementation

Environment Trace Schema (DuckDB)

CREATE TABLE IF NOT EXISTS stigmergy_traces (
  trace_id VARCHAR PRIMARY KEY,
  seed_hex VARCHAR NOT NULL,
  trit INT CHECK (trit IN (-1, 0, 1)),
  color_hex VARCHAR(7),
  agent_role VARCHAR,  -- 'generator', 'coordinator', 'validator'
  environment_key VARCHAR,  -- What was modified
  environment_value VARCHAR,  -- Serialized state
  causality_ms FLOAT,  -- Time for this trace
  parent_trace_id VARCHAR,
  gf3_running_sum INT DEFAULT 0,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

-- Index for fast derivation lookup
CREATE INDEX IF NOT EXISTS idx_stigmergy_parent ON stigmergy_traces(parent_trace_id);

-- View for GF(3) validation
CREATE VIEW IF NOT EXISTS stigmergy_gf3_check AS
SELECT 
  parent_trace_id,
  SUM(trit) as trit_sum,
  COUNT(*) as trace_count,
  SUM(trit) % 3 = 0 as gf3_conserved
FROM stigmergy_traces
GROUP BY parent_trace_id;

Babashka Implementation

(ns implicit-coordination
  (:require [babashka.process :refer [shell]]
            [cheshire.core :as json]))

(def STIGMERGY_DB "gh_interactome.duckdb")

(defn write-trace
  "Agent writes to environment (stigmergic deposit)"
  [seed trit agent-role env-key env-value parent-id]
  (let [trace-id (str "stg-" (subs (Long/toHexString seed) 0 8))
        color-hex (format "#%06X" (bit-and seed 0xFFFFFF))
        sql (format "INSERT INTO stigmergy_traces 
                     (trace_id, seed_hex, trit, color_hex, agent_role, 
                      environment_key, environment_value, parent_trace_id)
                     VALUES ('%s', '%s', %d, '%s', '%s', '%s', '%s', %s)"
                    trace-id (Long/toHexString seed) trit color-hex agent-role
                    env-key env-value (if parent-id (str "'" parent-id "'") "NULL"))]
    (shell {:out :string :continue true}
           "duckdb" STIGMERGY_DB "-c" sql)
    {:trace-id trace-id :seed seed :trit trit}))

(defn read-latest-trace
  "Agent reads from environment (stigmergic sensing)"
  [env-key]
  (let [sql (format "SELECT trace_id, seed_hex, trit, environment_value 
                     FROM stigmergy_traces 
                     WHERE environment_key = '%s' 
                     ORDER BY created_at DESC LIMIT 1" env-key)
        result (shell {:out :string :continue true}
                      "duckdb" STIGMERGY_DB "-c" sql)]
    (when (= 0 (:exit result))
      (:out result)
Полный SKILL.md на GitHub

Установить implicit-coordination в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл implicit-coordination?

Stigmergic agent coordination through environment modification, not messages. Vehicle semantics where carrier encodes meaning.

Как установить скилл implicit-coordination?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл implicit-coordination запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить implicit-coordination с