Skip to content
triadic-skill-orchestrator logo

Triadic Skill Orchestrator

triadic-skill-orchestrator

Orchestrates multiple skills in GF(3)-balanced triplets. Assigns MINUS/ERGODIC/PLUS trits to skills ensuring conservation. Use for multi-skill workflows, parallel skill dispatch, or maintaining GF(3) invariants across skill compositions.

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

Triadic Skill Orchestrator

Orchestrates skills in GF(3)-balanced triplets with deterministic trit assignment.

Core Workflow

  1. Trit Assignment — Assign skills to MINUS(-1)/​ERGODIC(0)/​PLUS(+1) based on seed
  2. GF(3) Conservation — Verify Σ trits ≡ 0 (mod 3)
  3. Parallel Dispatch — Fan out to 3 skills simultaneously
  4. Role Mapping — VALIDATOR/​COORDINATOR/​GENERATOR per trit
  5. Color Integration — gay-mcp provides deterministic coloring

Trit Assignment Algorithm

(defn assign-trits [skill-names seed]
  (let [groups (partition-all 3 skill-names)]
    (mapcat (fn [[s0 s1 s2]]
              (let [t0 (mod (sha256-int (str seed "::0::" s0)) 3)
                    t1 (mod (sha256-int (str seed "::1::" s1)) 3)
                    t2 (mod (- 0 t0 t1) 3)]  ; Force conservation
                [{:skill s0 :trit (- t0 1)}
                 {:skill s1 :trit (- t1 1)}
                 {:skill s2 :trit (- t2 1)}]))
            groups)))

GF(3) Conservation Check

(defn verify-gf3 [assignments]
  (let [sum (reduce + (map :trit assignments))]
    {:conserved (zero? (mod sum 3))
     :sum sum
     :mod3 (mod sum 3)}))

Role Assignments

TritRoleFunctionColor Range
-1VALIDATORVerify, constrain, checkCold (180-300°)
0COORDINATORMediate, synthesize, balanceNeutral (60-180°)
+1GENERATORCreate, execute, produceWarm (0-60°, 300-360°)

Denotation

This skill coordinates triadic skill applications to ensure no trit imbalance exists, dispatching skills in GF(3)-balanced triplets with deterministic seed propagation.

Effect: SkillSet → (Task × Seed) → [Result₋₁, Result₀, Result₊₁]
Invariant: ∀ dispatch: Σ(trit) ≡ 0 (mod 3)
Fixed Point: When skill outputs stabilize across reruns with different seeds

Invariant Set

InvariantDefinitionVerification
ConservationΣ(trit) ≡ 0 (mod 3) after every dispatchSum check on each triplet
TritBalanceEach skill receives exactly -1, 0, or +1Assignment validation
SeedDeterminismSame seed → same trit assignmentReplay test
RoleInjectionEach role (VALIDATOR/​COORDINATOR/​GENERATOR) appears exactly onceRole counting

Narya Compatibility

FieldDefinition
beforeSkill states before dispatch
afterSkill states after dispatch
deltaTrit assignments made
birthInitial skill set with no assignments
impact1 if any skill changed equivalence class

Condensation Policy

Trigger: When a skill triplet produces identical outputs for 3 consecutive dispatches with different seeds.

Action: Mark triplet as saturated, collapse to canonical representative.

Parallel Dispatch

(defn dispatch-skill [skill-assignment task]
  (let [{:keys [skill trit]} skill-assignment
        role (case trit
               -1 "VALIDATOR"
               0  "COORDINATOR"
               1  "GENERATOR")]
    {:skill skill :trit trit :role role :task task}))

Integration with gay-mcp

Each skill gets a deterministic color from its trit:

from gay import SplitMixTernary

gen = SplitMixTernary(seed=0x42D)
for skill in skills:
    color = gen.color_at(skill.index)
    trit = color['trit']  # Maps to role
    hex_color = color['hex']  # Visual identifier

Justfile Recipes

# Orchestrate 3 skills for a task
triadic-orchestrate TASK SEED="0x42D":
  bb scripts/​triadic_skill_orchestrator.bb run "{{TASK}}" {{SEED}} \
    finder-color-walk google-workspace gay-mcp

# Verify GF(3) conservation for skill triplet
triadic-verify *SKILLS:
  bb scripts/​triadic_skill_orchestrator.bb verify {{SKILLS}}

# List available skills
triadic-list:
  bb scripts/​triadic_skill_orchestrator.bb list

# Run orchestrator with custom skills
triadic-custom TASK SEED *SKILLS:
  bb scripts/​triadic_skill_orchestrator.bb run "{{TASK}}" {{SEED}} {{SKILLS}}

Example Output

╔═══════════════════════════════════════════════════════════════╗
║     TRIADIC SKILL ORCHESTRATOR                                ║
╚═══════════════════════════════════════════════════════════════╝

Task: Sync files with Drive
Seed: 0x42D
Skills: 3

Assignments:
  finder-color-walk: +1 (PLUS)
  google-workspace: -1 (MINUS)
  gay-mcp: 0 (ERGODIC)

GF(3) Conservation: ✓ OK (sum=0, mod3=0)

Dispatching...
[GENERATOR] finder-color-walk (trit=+1): Sync files with Drive
[VALIDATOR] google-workspace (trit=-1): Sync files with Drive
[COORDINATOR] gay-mcp (trit=0): Sync files with Drive

Valid Triads

Skill 1 (MINUS)Skill 2 (ERGODIC)Skill 3 (PLUS)
sheaf-cohomologyordered-localegay-mcp
bisimulation-gamegoogle-workspacetriad-interleave
say-narrationparallel-fanoutfinder-color-walk

Reference Script

See scripts/​triadic_skill_orchestrator.bb for full implementation.


Skill Name: triadic-skill-orchestrator
Type: Skill Composition / Parallel Dispatch
Trit: 0 (ERGODIC - coordinator)
GF(3): Enforced via third-trit correction

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.

Forward Reference

  • unified-reafference (B3 Poset triadic structure)

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View
skill-installer logo
plurigrid/asi

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

67 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View