evo-thermal-pid-control

evo-thermal-pid-control is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 40 tokens per session (519 once invoked), scanned A, original, Apache-2.0.

A proportional–integral–derivative (PID) controller toolkit for simulated HVAC temperature systems. A PID controller adjusts heating or cooling from the difference between the measured temperature and a desired setpoint, with safeguards against excessive integral buildup.

In plain words
What is it for?
Use it to calculate SIMC tuning gains, run a discrete closed-loop HVAC simulation, assess control behaviour, and save gains, logs, and metrics as JSON.
Why use it?
It removes the need to derive controller settings and performance summaries manually. It also records standard measures such as rise time, overshoot, settling time, steady-state error, and maximum temperature.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to calculate SIMC tuning gains, run a discrete closed-loop HVAC simulation, assess control behaviour, and save gains, logs, and metrics as JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-thermal-pid-control
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/OpenSkill --skill evo-thermal-pid-control
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-thermal-pid-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-thermal-pid-control/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-thermal-pid-control)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-thermal-pid-control"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-thermal-pid-control/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-thermal-pid-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-thermal-pid-control"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-thermal-pid-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00519
Opus 5 $0.00020 $0.00260
Sonnet 5 $0.00008 $0.00104
Haiku 4.5 $0.00004 $0.00052

Measured yesterday against content hash f4396c8c16ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

evo-thermal-pid-control scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/pid_utils.py, scripts/utils.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tasks-evolved/hvac-control/environment/skills/evo-thermal-pid-control/SKILL.md · 44 lines

What it actually says

evo-thermal-pid-control

PID controller for HVAC thermal systems.

Functions

  • calculate_simc_gains(K, tau, tau_c=None) - SIMC PI gains; returns dict with Kp, Ki, Kd, lambda
  • DiscretePID(Kp, Ki, Kd, dt, output_min=0, output_max=100) - PID class with anti-windup
  • run_closed_loop_control(sim, Kp, Ki, Kd, setpoint=22.0, duration=180.0) - Run control loop
  • calculate_control_metrics(control_log) - Compute rise_time, overshoot, settling_time, sse, max_temp
  • save_control_results(tuned_gains, control_log, metrics) - Save JSON files to /root/

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-thermal-pid-control/scripts')
from pid_utils import calculate_simc_gains, run_closed_loop_control, calculate_control_metrics, save_control_results

gains = calculate_simc_gains(K=0.12, tau=40.0, tau_c=25.0)
sim = HVACSimulator()
sim.reset()
control_log = run_closed_loop_control(sim, gains['Kp'], gains['Ki'], gains['Kd'], setpoint=22.0, duration=180.0)
metrics = calculate_control_metrics(control_log)
save_control_results(gains, control_log, metrics)

Key Domain Knowledge

  • SIMC tuning: Kp = tau/(Ktau_c), Ti = min(tau, 4tau_c), Ki = Kp/Ti, Kd = 0
  • tau_c = 25s gives settling time ~100s (4*tau_c)
  • Anti-windup: stop integrating when output saturated and error same sign
  • Trapezoidal integration for integral term
  • Derivative on measurement (not error) to avoid derivative kick
  • Overshoot = (peak - setpoint) / (setpoint - T_initial)
  • Settling time: trace backward to find last time outside +/-0.5C band
  • Control duration must be >= 150s
  • Heater power clamped to [0, 100]%
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 44 lines · 40 tokens per session scan A f4396c8c16ec

Subscribe to this mod's changes

evo-thermal-pid-control is a skill published in the GitHub repository OpenLAIR/OpenSkill (88 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 519 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories

choose-launch-configuration

Guide the agent through selecting the correct and efficient thread block dimensions and grid dimensions for a CUDA kernel, covering occupancy analysis, register and shared memory constraints, tail effects, persistent kernels, and when to use cudaOccupancyMaxActiveBlocksPerMultiprocessor as a decision tool.

tensormux/kernel-skills · 0 tokens

write-backend-agnostic-kernel-plan

Guide the agent through planning a compute kernel that must run correctly and performantly on multiple hardware backends (NVIDIA, AMD, CPU fallback, or future backends) before any backend-specific implementation is written — covering abstraction strategy, feature compatibility mapping, and the tradeoffs between…

tensormux/kernel-skills · 0 tokens

ros2-microros

Skill "ros2-microros" from Leehyunbin0131/claude-ros2-skills, covering micro-ros instructions (ubuntu 24.04 lts & ros 2 jazzy), 1. architecture, 2. documentation entry points, 3. key concepts & patterns and a. embedded client node setup (rclc in c).

Leehyunbin0131/claude-ros2-skills · 29 tokens

optimize-global-memory-access

Guide the agent through diagnosing and restructuring CUDA global memory access patterns to maximize effective memory bandwidth, covering coalescing requirements, vectorized loads, AoS vs SoA layouts, shared memory staging for non-coalesced patterns, and L2 cache behavior.

tensormux/kernel-skills · 0 tokens

write-fp8-kernel

Guide the agent through designing and implementing FP8 compute kernels for inference and training on NVIDIA Hopper (sm90) and Ada Lovelace (sm89) hardware, covering FP8 format selection, scaling strategy, tensor core usage via WGMMA or cuBLAS, and dequantization epilogue design.

tensormux/kernel-skills · 0 tokens

Embedded C/C++ rules for MCU, STM32, HAL, interrupts, DMA, memory constraints, a

Embedded C/C++ rules for MCU, STM32, HAL, interrupts, DMA, memory constraints, and hardware-focused testing.

AmariahAK/atlarix-skills · 21 tokens