glass-bead-game
БесплатноБез исполняемых скриптовНе проверенHesse-inspired interdisciplinary synthesis game with Badiou triangle inequality for possible world hopping across mathematical, musical, and philosophical…
от plurigrid★ 73 звезды на GitHubОб этом скилле
Glass Bead Game: Topos of Music
The Glass Bead Game (Glasperlenspiel) is an interdisciplinary synthesis engine that connects:
- Mathematics (category theory, algebraic geometry, number theory)
- Music (harmony, counterpoint, electronic synthesis)
- Philosophy (Badiou's ontology, Girard's linear logic, Lawvere's topos theory)
Core Concept: World Hopping
Each bead represents a concept in a specific domain. Beads connect via morphisms that preserve essential structure. The game consists of finding paths between distant beads that illuminate hidden connections.
Badiou Triangle Inequality
For any three worlds W₁, W₂, W₃:
d(W₁, W₃) ≤ d(W₁, W₂) + d(W₂, W₃)
This is the triangle inequality that governs world hopping:
- Being: Current ontological state (the bead's position in possibility space)
- Event: A rupture that creates new possibilities (the hop between worlds)
- Truth: What persists across the transition (the invariant structure)
Distance Metric
Distance between worlds is measured by:
def world_distance(w1, w2)
being_diff = (w1.seed ^ w2.seed).to_s(2).count('1') # Hamming distance
event_diff = (w1.epoch - w2.epoch).abs # Temporal distance
truth_diff = conjugacy_distance(w1.invariant, w2.invariant)
Math.sqrt(being_diff**2 + event_diff**2 + truth_diff**2)
end
Bead Types
Mathematical Beads
- Number: Prime, composite, transcendental, p-adic
- Structure: Group, ring, field, category, topos
- Morphism: Homomorphism, functor, natural transformation
- Invariant: Fixed point, eigenvalue, cohomology class
Musical Beads
- Pitch: Frequency, pitch class, interval
- Harmony: Chord, progression, voice leading
- Rhythm: Duration, meter, polyrhythm
- Timbre: Spectrum, envelope, modulation
Philosophical Beads
- Ontological: Being, becoming, event, void
- Logical: Proposition, proof, cut, polarity
- Categorical: Object, morphism, limit, adjunction
Game Moves
1. CONNECT: Link Two Beads
Find a morphism that connects bead A to bead B while preserving structure.
move = GlassBeadGame::Connect.new(
from: Bead.new(:prime, 17),
to: Bead.new(:pitch_class, 5), # 17 mod 12 = 5
via: :modular_arithmetic
)
2. TRANSPOSE: Shift Domain
Apply a functor to move an entire structure to a new domain.
move = GlassBeadGame::Transpose.new(
structure: :circle_of_fifths,
from_domain: :music,
to_domain: :number_theory,
functor: :chromatic_to_modular
)
3. REFLECT: Find Dual
Discover the contravariant counterpart of a structure.
move = GlassBeadGame::Reflect.new(
structure: :major_scale,
reflection: :phrygian_mode, # Dual via interval inversion
symmetry: :diatonic_mirror
)
4. HOP: World Transition
Execute a Badiou-style event that transitions between possible worlds.
move = GlassBeadGame::Hop.new(
from_world: current_world,
event: :modulation,
to_world: target_world,
truth_preserved: :tonal_center
)
Scoring
Points are awarded for:
| Move Type | Base Points | Multipliers |
|---|---|---|
| CONNECT | 10 | ×2 if cross-domain |
| TRANSPOSE | 25 | ×3 if structure-preserving |
| REFLECT | 15 | ×2 if self-dual found |
| HOP | 50 | ×(1/distance) for elegant hops |
Elegance Bonus
Shorter paths between distant concepts receive elegance bonuses:
elegance = conceptual_distance / path_length
bonus = (elegance > 3) ? elegance * 10 : 0
Example Game Session
Turn 1: CONNECT(Ramanujan's 1729, "taxicab number")
→ Linked to: Hardy-Littlewood circle method
Points: 10
Turn 2: TRANSPOSE(circle method, analysis → music)
→ Produces: Spectral analysis of timbre
Points: 25 × 3 = 75
Turn 3: REFLECT(timbre spectrum)
→ Dual: Temporal envelope (Fourier duality)
Points: 15 × 2 = 30
Turn 4: HOP(acoustic → electronic)
→ Event: Synthesis (analog → digital)
→ Truth preserved: Harmonic ratios
Points: 50 × 0.8 = 40
Total: 155 points
Integration with Music Topos
Using with World Broadcast
# Create game from mathematician broadcast
system = WorldBroadcast::TripartiteSystem.new([:ramanujan, :grothendieck, :euler])
game = GlassBeadGame.from_broadcast(system)
# Each mathematician contributes beads
game.add_bead_from_agent(system.agents[0]) # Ramanujan's partitions
game.add_bead_from_agent(system.agents[1]) # Grothendieck's schemes
game.add_bead_from_agent(system.agents[2]) # Euler's series
Using with Synadia
# Publish moves to NATS
SynadiaBroadcast.publish("game.move.connect", move.to_json)
# Subscribe to opponent moves
SynadiaBroadcast.subscribe("game.move.*") do |msg|
game.apply_move(GlassBeadGame::Move.from_json(msg.data))
end
Using with Propagators
# Create propagator network for game state
network = PropagatorNetwork.new
Установить glass-bead-game в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл glass-bead-game?
Hesse-inspired interdisciplinary synthesis game with Badiou triangle inequality for possible world hopping across mathematical, musical, and philosophical domains.
Как установить скилл glass-bead-game?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл glass-bead-game запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub