hythermal
БесплатноБез исполняемых скриптовНе проверенHyThermal Skill
от plurigrid★ 73 звезды на GitHubОб этом скилле
HyThermal Skill
Hy + Thermal: Relational ACSet dynamics with Langevin temperature control
Version: 1.0.0
Trit: 0 (ERGODIC - bridges relational structure and thermal flow)
Bundle: dynamics
Fusion of: hyjax-relational + langevin-dynamics
Overview
HyThermal fuses relational thinking (ACSets/C-Sets) with Langevin dynamics for temperature-controlled exploration of concept spaces. Instead of treating thread analysis as static graphs, HyThermal models concepts as particles in a thermal bath:
- Concepts = Particles with positions in embedding space
- Relations = Potential energy between particles
- Temperature = Exploration vs exploitation control
- Fokker-Planck = Equilibrium distribution of concept activations
Core Equation
dC(t) = -∇E(C(t)) dt + √(2T) dW(t)
Where:
C = concept embedding positions
E = relational energy (sum of edge potentials)
T = temperature (exploration parameter)
dW = Brownian motion (seeded via Gay.jl)
At equilibrium: p∞(C) ∝ exp(-E(C)/T) — Concepts cluster near low-energy (high-coherence) configurations.
Hy Syntax for Thermal ACSet
;; Define thermal schema
(defschema ThermalThread
(Ob Thread Message Concept)
(Hom thread_msg (-> Message Thread)
discusses (-> Message Concept)
related (-> Concept Concept))
(Attr position (-> Concept R^n)
temperature (-> Thread Float)
energy (-> Concept Float)))
;; Langevin step in Hy
(defn thermal-step [acset dt T seed]
(let [concepts (parts acset :Concept)
gradient (compute-relational-gradient acset)
noise (gay-randn seed (len concepts))]
(for [c concepts]
(setv (. acset [:position c])
(+ (. acset [:position c])
(* (- dt) (get gradient c))
(* (sqrt (* 2 T dt)) (get noise c)))))))
;; Run to equilibrium
(defn thermal-equilibrate [acset T n-steps seed]
(for [step (range n-steps)]
(thermal-step acset 0.01 T (gay-split seed step)))
acset)
Colored Thermal S-expressions
(thermal-acset-gold
(threads-red
(thread T-001 :temp 0.01 :energy -4.52)
(thread T-002 :temp 0.1 :energy -2.18))
(concepts-green
(concept skill :pos [0.3 0.7] :trit +1)
(concept MCP :pos [0.5 0.2] :trit 0)
(concept thermal :pos [0.8 0.9] :trit -1))
(relations-purple
(edge skill MCP :weight 2 :potential -0.8)
(edge MCP thermal :weight 1 :potential -0.3)))
Relational Energy Function
def relational_energy(acset, positions):
"""
E(C) = Σ_edges w_ij * d(c_i, c_j)^2 - Σ_hubs hub_score(c)
Low energy = Concepts tightly connected + high hub scores
"""
E = 0.0
for edge in acset.parts('related'):
i, j = acset.src(edge), acset.tgt(edge)
w = acset.attr(edge, 'weight')
E += w * np.linalg.norm(positions[i] - positions[j])**2
for c in acset.parts('Concept'):
E -= acset.attr(c, 'hub_score')
return E
Capabilities
1. thermal-thread-analysis
Run thermal dynamics on thread concept graph:
just hythermal-analyze threads.jsonl --temp 0.01 --steps 1000
Output:
HYTHERMAL ANALYSIS - 30 THREADS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Temperature: 0.01
Steps: 1000
Final energy: -12.45
EQUILIBRIUM CONCEPT POSITIONS:
skill [0.42, 0.73] trit=+1 (hub)
MCP [0.38, 0.71] trit=0 (near skill)
thermal [0.15, 0.22] trit=-1 (isolated)
THERMAL CLUSTERS:
Cluster 1 (T=0.01): [skill, MCP, subagent] E=-8.2
Cluster 2 (T=0.01): [thermal, langevin] E=-4.1
2. temperature-sweep
Explore different temperatures:
from hythermal import temperature_sweep
results = temperature_sweep(
acset=thread_acset,
temperatures=[0.001, 0.01, 0.1, 1.0],
n_steps=500,
seed=0x1069
)
for T, metrics in results.items():
print(f"T = {T}:")
print(f" Final energy: {metrics['energy']:.3f}")
print(f" Cluster count: {metrics['n_clusters']}")
print(f" Mixing time: {metrics['tau_mix']:.0f}")
3. fokker-planck-concepts
Verify concept distribution reaches Gibbs equilibrium:
from hythermal import verify_concept_gibbs
verification = verify_concept_gibbs(
acset=equilibrated_acset,
temperature=0.01
)
print(f"KL divergence from Gibbs: {verification['kl']:.4f}")
print(f"Converged: {verification['converged']}")
4. thermal-colored-sexp
Generate colored S-expression with thermal annotations:
(defn thermal-sexp [acset]
`(thermal-acset-gold
(threads-red
~@(lfor t (parts acset :Thread)
`(thread ~t :temp ~(. acset [:temperature t])
:energy ~(thread-energy acset t))))
(concepts-green
~@(lfor c (parts acset :Concept)
`(concept ~(name c)
:pos ~(. acset [:position c])
:trit ~(gay-trit (hash (name c))))))
(relations-purple
~@(lfor e (parts acset :related)
`(edge ~(src e) ~(tgt e)
Установить hythermal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hythermal?
HyThermal Skill
Как установить скилл hythermal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hythermal запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic