world-hopping
БесплатноБез исполняемых скриптовНе проверенBadiou-inspired possible world navigation using triangle inequality constraints, event ontology, and truth procedures for traversing mathematical possibility…
от plurigrid★ 73 звезды на GitHubОб этом скилле
World Hopping: Possible World Navigation
World hopping is the art of navigating between possible worlds in mathematical/musical/philosophical space. Based on Badiou's ontology and Kripke semantics, with triangle inequality as the fundamental constraint.
Possible Worlds
A possible world W is a configuration of:
class PossibleWorld
attr_reader :seed, :epoch, :state, :invariants, :accessibility
def initialize(seed:, epoch: 0)
@seed = seed # Ontological identity
@epoch = epoch # Temporal position
@state = compute_state # Current configuration
@invariants = [] # What persists across transitions
@accessibility = {} # Which worlds are reachable
end
def compute_state
rng = SplitMixTernary.new(@seed + @epoch)
{
color: SeedMiner.color_at(@seed, @epoch),
mathematician: select_mathematician(rng),
operation: select_operation(rng),
polarity: [:positive, :negative, :neutral][rng.next_ternary + 1]
}
end
end
Accessibility Relations
Modal Logic Foundation
- Reflexive: Every world can reach itself (∀W: W → W)
- Symmetric: If W₁ → W₂ then W₂ → W₁ (reversible hops)
- Transitive: If W₁ → W₂ → W₃ then W₁ → W₃ (composable paths)
Accessibility Matrix
class AccessibilityRelation
def initialize(worlds)
@matrix = {}
worlds.each do |w1|
@matrix[w1.seed] = {}
worlds.each do |w2|
@matrix[w1.seed][w2.seed] = accessible?(w1, w2)
end
end
end
def accessible?(w1, w2)
distance = world_distance(w1, w2)
max_hop = w1.state[:polarity] == :positive ? 3.0 : 2.0
distance <= max_hop
end
end
Badiou's Event Ontology
Being (L'être)
The void (∅) underlies all structure. Each world has a void-trace:
def void_trace(world)
# The minimal element that anchors the world
world.invariants.min_by(&:complexity) || Void.new
end
Event (L'événement)
An event is a rupture that creates new possibilities:
class Event
attr_reader :site, :name, :consequences
def initialize(site:, name:)
@site = site # Where the event occurs
@name = name # Self-referential naming
@consequences = [] # What follows from the event
end
def occurs?(world)
# Event occurs if site is "on the edge of void"
site_elements = world.state.values_at(*@site)
site_elements.any? { |e| e.near_void? }
end
def execute!(world)
return unless occurs?(world)
# Create new world post-event
new_seed = world.seed ^ @name.hash
new_world = PossibleWorld.new(seed: new_seed, epoch: world.epoch + 1)
# Transfer invariants
new_world.invariants = world.invariants.select { |inv| inv.survives?(@name) }
new_world
end
end
Truth (La vérité)
A truth is a generic subset that extends from the event:
class TruthProcedure
def initialize(event, world)
@event = event
@world = world
@generic_subset = []
end
def extend!(element)
# Add element if it's forced by the event
if forced?(element)
@generic_subset << element
propagate_consequences!(element)
end
end
def forced?(element)
# Element is forced if it's in every possible extension
@world.accessibility.values.all? do |reachable|
reachable.state.values.include?(element) ||
@generic_subset.any? { |g| g.implies?(element) }
end
end
end
Triangle Inequality Hopping
Distance Metric
def world_distance(w1, w2)
# Being component: Hamming distance of seeds
being = hamming_distance(w1.seed, w2.seed)
# Event component: temporal separation
event = (w1.epoch - w2.epoch).abs
# Truth component: invariant divergence
shared = (w1.invariants & w2.invariants).size
total = (w1.invariants | w2.invariants).size
truth = total > 0 ? 1.0 - (shared.to_f / total) : 0.0
# Weighted Euclidean
Math.sqrt(being**2 + event**2 + (truth * 10)**2)
end
def hamming_distance(a, b)
(a ^ b).to_s(2).count('1')
end
Triangle Inequality Constraint
def valid_hop?(w1, w2, w3)
d12 = world_distance(w1, w2)
d23 = world_distance(w2, w3)
d13 = world_distance(w1, w3)
d13 <= d12 + d23 # Triangle inequality
end
def find_shortest_path(start, target, worlds)
# Dijkstra with triangle inequality pruning
distances = { start.seed => 0 }
previous = {}
queue = [start]
while queue.any?
current = queue.min_by { |w| distances[w.seed] }
queue.delete(current)
break if current.seed == target.seed
worlds.each do |neighbor|
next unless accessible?(current, neighbor)
d = distances[current.seed] + world_distance(current, neighbor)
# Prune if triangle inequality would be violated
if distances[neighbor.seed].nil? || d < distances[neighbor.seed]
if valid_hop?(start, curren
Установить world-hopping в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл world-hopping?
Badiou-inspired possible world navigation using triangle inequality constraints, event ontology, and truth procedures for traversing mathematical possibility space.
Как установить скилл world-hopping?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл world-hopping запускает скрипты?
Нет, скилл состоит только из инструкций (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