Internal Control Framework
revfactory/harness-100
Internal control framework guide. An agent skill from revfactory/harness-100.
Calculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems.
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rules --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .claude/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .claude/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rulesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rules --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .agents/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .agents/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .agents/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rules --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .cursor/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .cursor/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/benchflow-ai/skillsbench.git --path tasks/hvac-control/environment/skills/imc-tuning-rules--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rules --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .gemini/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .gemini/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rulesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .github/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .github/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .github/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install benchflow-ai/skillsbench imc-tuning-rules --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/tasks/hvac-control/environment/skills/imc-tuning-rules .opencode/skills/imc-tuning-rules && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "imc-tuning-rules" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/hvac-control/environment/skills/imc-tuning-rules into .opencode/skills/imc-tuning-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imc-tuning-rules", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
imc-tuning-rulesCalculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems.
Imc Tuning Rules is an agent skill from benchflow-ai/skillsbench. Calculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems.
Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Imc Tuning Rules loads about 903 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 271 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 271 words, ~903 tokens.
.claude/skills/imc-tuning-rules/SKILL.md (or your agent's skills folder).Internal Model Control (IMC) is a systematic method for tuning PI/PID controllers based on a process model. Once you've identified system parameters (K and tau), IMC provides controller gains.
For a first-order process with gain K and time constant tau:
Process: G(s) = K / (tau*s + 1)The IMC-tuned PI controller gains are:
Kp = tau / (K * lambda)
Ki = Kp / tau = 1 / (K * lambda)
Kd = 0 (derivative not needed for first-order systems)Where:
Kp = Proportional gainKi = Integral gain (units: 1/time)Kd = Derivative gain (zero for first-order)lambda = Desired closed-loop time constant (tuning parameter)Lambda controls the trade-off between speed and robustness:
| Lambda | Behavior |
|---|---|
lambda = 0.1 * tau | Very aggressive, fast but sensitive to model error |
lambda = 0.5 * tau | Aggressive, good for accurate models |
lambda = 1.0 * tau | Moderate, balanced speed and robustness |
lambda = 2.0 * tau | Conservative, robust to model uncertainty |
Default recommendation: Start with lambda = tau
For noisy systems or uncertain models, use larger lambda. For precise models and fast response needs, use smaller lambda.
def calculate_imc_gains(K, tau, lambda_factor=1.0):
"""
Calculate IMC-tuned PI gains for a first-order system.
Args:
K: Process gain
tau: Time constant
lambda_factor: Multiplier for lambda (default 1.0 = lambda equals tau)
Returns:
dict with Kp, Ki, Kd, lambda
"""
lambda_cl = lambda_factor * tau
Kp = tau / (K * lambda_cl)
Ki = Kp / tau
Kd = 0.0
return {
"Kp": Kp,
"Ki": Ki,
"Kd": Kd,
"lambda": lambda_cl
}class PIController:
def __init__(self, Kp, Ki, setpoint):
self.Kp = Kp
self.Ki = Ki
self.setpoint = setpoint
self.integral = 0.0
def compute(self, measurement, dt):
"""Compute control output."""
error = self.setpoint - measurement
# Integral term
self.integral += error * dt
# PI control law
output = self.Kp * error + self.Ki * self.integral
# Clamp to valid range
output = max(output_min, min(output_max, output))
return outputWith IMC tuning, the closed-loop response is approximately:
y(t) = y_setpoint * (1 - exp(-t / lambda))Key properties:
lambda = tau initially© benchflow-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in tasks/hvac-control/environment/skills/imc-tuning-rules of benchflow-ai/skillsbench.
Open the folder on GitHubat commit 9a1f4dd
Imc Tuning Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Imc Tuning Rules this skillbenchflow-ai/skillsbench | 1.8k | — | ~903 | Automated safety check: Pass | Apache-2.0 | |
| Internal Control Frameworkrevfactory/harness-100 | 1.3k | — | ~889 | Automated safety check: Pass | Apache-2.0 | |
| Internal Commsalirezarezvani/claude-skills | 28k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Control UIopenclaw/openclaw | 392k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Internal Communicationsickn33/agentic-awesome-skills | 47k | 1 repos | ~3.4k | Automated safety check: Pass | MIT | |
| Internal Controls And Auditcbrock84/headcount | 2k | — | ~1.3k | Automated safety check: Pass | MIT |
revfactory/harness-100
Internal control framework guide. An agent skill from revfactory/harness-100.
alirezarezvani/claude-skills
A skill your agent uses when a Head of People Ops, BizOps lead, or Internal Communications owner needs to draft and sequence an internal-only change-management communication — a re-org announcement…
openclaw/openclaw
Operate and troubleshoot the OpenClaw Control UI: navigate connected clients, organize sessions, build session dashboards, and handle direct or Tailscale-hosted Gateways.
sickn33/agentic-awesome-skills
Internal communication log: title, type, date, department, host and attendees, agenda, action items, follow-up date, meeting link and delivery status.
cbrock84/headcount
Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit.
sickn33/agentic-awesome-skills
Set up infrastructure for fine-tuning LLMs with QLoRA, LoRA, and full fine-tuning using Hugging Face TRL, Axolotl, and distributed training with DeepSpeed or FSDP.
benchflow-ai/skillsbench
This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…
benchflow-ai/skillsbench
World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.
benchflow-ai/skillsbench
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.
benchflow-ai/skillsbench
Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.
benchflow-ai/skillsbench
Build deterministic, verifiable data visualizations with D3.js (v6).
benchflow-ai/skillsbench
DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.
Calculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems. Imc Tuning Rules is an agent skill from benchflow-ai/skillsbench. Calculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems.
Run `npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a claude-code`. Or copy the skill folder (tasks/hvac-control/environment/skills/imc-tuning-rules in benchflow-ai/skillsbench) into .claude/skills/imc-tuning-rules in your project. Claude Code loads it when a task matches its description.
Run `npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a codex`. Or copy the skill folder (tasks/hvac-control/environment/skills/imc-tuning-rules in benchflow-ai/skillsbench) into .agents/skills/imc-tuning-rules in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill imc-tuning-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/imc-tuning-rules, .gemini/skills/imc-tuning-rules, .github/skills/imc-tuning-rules and .opencode/skills/imc-tuning-rules in your project.
SKILL.md names no scripts, command-line tools or credentials: Imc Tuning Rules is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Imc Tuning Rules is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 903 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Imc Tuning Rules: Internal Control Framework (revfactory/harness-100, 1.3k stars), Internal Comms (alirezarezvani/claude-skills, 28k stars), Control UI (openclaw/openclaw, 392k stars) and Internal Communication (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,834 GitHub stars. The repository holds 189 skills in this directory. The repository was last updated on July 23, 2026.
Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.