Command Palette

Search for a command to run...

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

qri-valence

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

"qri-valence skill" Qualia Research Institute's Symmetry Theory of Valence (STV) for consciousness research. Maps phenomenal states to bankable assets via XY…

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

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

QRI Valence Skill

The Symmetry Theory of Valence (STV) proposes that the valence (pleasantness/unpleasantness) of a conscious state is determined by the symmetry of its mathematical representation. This skill integrates QRI research with computational implementations.

Core Concepts

Symmetry Theory of Valence (STV)

"The valence of a moment of consciousness is precisely determined by the symmetry of the mathematical object that describes it." — Michael Edward Johnson, Principia Qualia (2016)

Key Claims:

  1. Consciousness has mathematical structure (qualia formalism)
  2. Symmetry in that structure correlates with positive valence
  3. Broken symmetries manifest as suffering/dissonance
  4. Valence is measurable and optimizable

XY Model Topology (smoothbrains.net)

The phenomenal field behaves like a 2D XY spin model:

State Temperature (τ) Vortices Valence Phenomenology
Frustrated τ >> τ* Many, proliferating -3 Scattered, anxious, "buzzing"
Disordered τ > τ* Some, mobile -1 to -2 Unfocused, dissonant
Critical (BKT) τ ≈ τ* Paired, bound 0 Liminal, transitional
Ordered τ < τ* Few, annihilating +1 to +2 Coherent, smooth
Resolved τ << τ* None +3 Deeply peaceful, consonant

BKT Transition (Berezinskii-Kosterlitz-Thouless):

  • Below τ*: vortex-antivortex pairs bound → low entropy, high symmetry
  • Above τ*: vortices proliferate → high entropy, broken symmetry
  • At τ*: phase transition where defects can annihilate

Valence Gradient Descent

From smoothbrains.net's phenomenology:

Suffering = Σ (topological defects in phenomenal field)
Healing = defect annihilation via gradient descent
τ* bisection = finding optimal phenomenal temperature

Observable indicators (from Cube Flipper's reports):

  • Visual: polygonal shards → smooth fields
  • Somatic: high-freq buzzing → calm
  • Attentional: contracted/focal → expanded/diffuse
  • Auditory: dissonance → consonance

Qualia Bank Integration

GF(3) Operations on Valence States

Valence Range Trit Bank Operation Channel
-3 to -1 -1 WITHDRAW Venmo/ACH off-ramp
0 0 HOLD PyUSD on-chain
+1 to +3 +1 DEPOSIT PyUSD/Venmo on-ramp

Phenomenal Bisection Algorithm

def phenomenal_bisect(tau_low, tau_high, observed_state):
    """
    Binary search for optimal phenomenal temperature τ*.
    Based on smoothbrains.net/xy-model#bkt-transition
    """
    tau_mid = (tau_low + tau_high) / 2
    
    if observed_state == "frustrated":
        # Too hot: cool down
        return (tau_mid, tau_high, "cooling")
    elif observed_state == "smooth":
        # Too cold: heat up
        return (tau_low, tau_mid, "heating")
    elif observed_state == "critical":
        # Found τ*!
        return (tau_mid, tau_mid, "found")
    else:
        return (tau_low, tau_high, "unknown")

Valence-Aware Color Mapping

From Gay.jl + QRI integration:

# Map valence to deterministic color
function valence_to_color(valence::Int)
    # Valence range: -3 to +3
    # Hue mapping: red (suffering) → cyan (resolution)
    hue = (valence + 3) * 30  # 0° to 180°
    return LCHuv(55.0, 70.0, hue)
end

# Trit from valence
trit(valence) = sign(valence)

Computational Implementation

Defect Detection

def count_vortices(phase_field):
    """
    Count topological defects in a 2D phase field.
    Vortex = closed loop where phase winds by ±2π.
    """
    vortices = 0
    antivortices = 0
    
    for i in range(1, len(phase_field) - 1):
        for j in range(1, len(phase_field[0]) - 1):
            winding = compute_winding_number(phase_field, i, j)
            if winding > 0:
                vortices += 1
            elif winding < 0:
                antivortices += 1
    
    # Net topological charge
    return vortices, antivortices, vortices - antivortices

Symmetry Measurement

def measure_symmetry(qualia_tensor):
    """
    Measure symmetry of a qualia representation.
    Higher symmetry → higher valence (STV hypothesis).
    """
    # Compute eigenvalues
    eigenvalues = np.linalg.eigvalsh(qualia_tensor)
    
    # Symmetry score: how equal are eigenvalues?
    # Perfect symmetry: all eigenvalues equal
    mean_eig = np.mean(eigenvalues)
    variance = np.var(eigenvalues)
    
    # Inverse variance as symmetry score
    symmetry = 1.0 / (1.0 + variance / (mean_eig ** 2))
    
    return symmetry  # 0 to 1, higher = more symmetric

References

Primary Sources

  1. Principia Qualia (2016) - Michael Edward Johnson

  2. QRI Wiki - Symmetry Theory of Valence

  3. smoothbrains.net - Cube Flipper

    • XY model phenomenology
    • BKT tra
Полный SKILL.md на GitHub

Установить qri-valence в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл qri-valence?

"qri-valence skill" Qualia Research Institute's Symmetry Theory of Valence (STV) for consciousness research. Maps phenomenal states to bankable assets via XY model topology, BKT transitions, and defect annihilation. Source: smoothbrains.net + QRI wiki. Use for qualia computing, valence gradient optimization, and consciousness-aware system design.

Как установить скилл qri-valence?

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

Скилл qri-valence запускает скрипты?

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

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

Сравнить qri-valence с