Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Gain Scheduling

ASecurity

Use when you must design and schedule controller gains against dynamic-pressure across nonlinear flight envelope, interpolate gain schedule breakpoint table across Mach-number operating points, and select the scheduling variable (dynamic-pressure, Mach number, angle of attack, or altitude). Choose nearest, linear, or spline interpolation, apply scheduling-variable rate limiting, and distinguish gain scheduling from gain updating. Verify stability between operating points and handle anti-windu...

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentspython

Works with

claude code

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill gain-scheduling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gain Scheduling?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Gain Scheduling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-gain-scheduling/badge)](https://www.skillsdirectory.com/skills/ashfordeou-gain-scheduling)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: gain-scheduling
description: "Use when you must design and schedule controller gains against dynamic-pressure across nonlinear flight envelope, interpolate gain schedule breakpoint table across Mach-number operating points, and select the scheduling variable (dynamic-pressure, Mach number, angle of attack, or altitude). Choose nearest, linear, or spline interpolation, apply scheduling-variable rate limiting, and distinguish gain scheduling from gain updating. Verify stability between operating points and handle anti-windup interaction when scheduling autopilot and flight control gains across the envelope. Produces the interpolated gain at the current operating point and the rate-limited scheduling variable value. Trigger: gain scheduling, gain-scheduling, scheduling variable, dynamic pressure, Mach number, angle of attack, altitude, breakpoint table, schedule table, interpolation, rate limiting, gain updating, anti-windup, flight envelope."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: arp4754a
    reference-only: true
gated: false
domain: gnc-autonomy
pack: gnc-autonomy
compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"
metadata:
  domain: gnc-autonomy
  subdomain: control
  tags: [gain-scheduling, gain-schedule, scheduling-variable, dynamic-pressure, mach-number, angle-of-attack, altitude, breakpoint-table, schedule-table, interpolation, nearest, linear, spline, rate-limiting, gain-updating, anti-windup, flight-envelope, autopilot-gains, flight-control-gains]
  version: 0.1.0
  author: Aero Agent Skills
---

# Gain Scheduling (gnc-autonomy/control/gain-scheduling)

Use when the task is scheduling controller gains across a nonlinear
flight envelope: picking the scheduling variable, building the
breakpoint/gain schedule table, interpolating the gain at the current
operating point, and rate limiting the scheduling variable so gain
changes stay smooth between operating points.

## Domain quick reference

- Scheduling variables: dynamic pressure (Pa), Mach number
  (dimensionless), angle of attack (deg), and altitude (m). Pick the
  variable that captures the nonlinearity that moves the plant
  dynamics, typically control effectiveness or hinge moment growth
  with dynamic pressure, or compressibility effects with Mach number.
- Breakpoint/schedule table: strictly increasing breakpoints, each
  paired with a gain tuned at that operating point. The table is the
  schedule; gains between breakpoints come from interpolation.
- Interpolation methods: nearest (stepwise, keeps the tuned gain
  until the midpoint), linear (default, straight segments between
  breakpoints), spline (overview: smoother across breakpoints but can
  overshoot between them; not implemented in the logic module).
- Out-of-range behavior: clamp to the end gains (default) or raise an
  error when the flight condition sits outside the tuned envelope and
  must be flagged rather than silently held.
- Rate limiting: limit how fast the scheduling variable can change, so
  the gain itself cannot step faster than the actuators can follow.
  Apply the rate limit to the scheduling variable, then interpolate.
- Gain scheduling vs gain updating: scheduling is a deterministic
  function of the measured operating state; gain updating is online
  adjustment from adaptation or system identification. They differ in
  mechanism and in verification burden.
- Stability between operating points: each operating point is locally
  stable by design; the transitions must be slow enough (rate limited)
  that the time-varying closed loop stays stable between points.
- Anti-windup interaction: scheduled gains change the integrator
  authority; when gains are scheduled up, the integrator clamp should
  follow, or the loop winds up at the scheduled authority limit.
- Application: autopilot and flight control gains across the envelope
  (pitch rate and roll rate gains scheduled against dynamic pressure,
  damper gains scheduled against Mach number, and so on).

## Workflow

1. Pick the scheduling variable for the nonlinearity at hand and the
   operating-point values it will take (dynamic pressure in Pa, Mach
   number, angle of attack in deg, or altitude in m).
2. Build the breakpoint/gain table from gains tuned at each operating
   point (for example with root-locus-design or pid-control-design),
   keeping the breakpoints strictly increasing.
3. Rate limit the commanded scheduling variable with
   rate_limited_scheduling_variable(prev_value, new_value, max_rate,
   dt) so gain changes stay within the actuator capability.
4. Interpolate the gain at the current operating point with
   schedule_gain(table, sched_var_value, method="linear",
   out_of_range="clamp").
5. Choose the out-of-range policy: clamp for benign conditions, error
   mode when the flight condition must be flagged as outside the tuned
   envelope.
6. Before enabling the scheduled gains in the autopilot, check
   stability between adjacent operating points and re-check the
   anti-windup clamps against the scheduled authority limits.

## Pitfalls

- Routing PID tuning questions here: Ziegler-Nichols gains, ultimate
  gain and period, and fixed-point tuning belong to
  pid-control-design.
- Routing root locus gain selection here: choosing the gain K for a
  single operating point belongs to root-locus-design; gain
  scheduling sits on top of that per-point design.
- Routing frequency response margin questions here: gain and phase
  margins at one flight condition belong to frequency-response-design.
- Using a non-monotonic breakpoint list: the schedule table must be
  strictly increasing, or the interpolation is ambiguous; the logic
  module raises ValueError.
- Interpolating without rate limiting: a fast gain step can destabilize
  the loop between operating points even when every point is locally
  stable.
- Rate limiting after interpolation: limit the scheduling variable
  first, then interpolate, so the applied gain moves smoothly.
- Clamping silently at the envelope edge: clamping hides the loss of
  tuned coverage; use error mode when the condition must be flagged.
- Confusing scheduling with updating: a scheduled gain is a
  deterministic function of the operating state; adaptive gain
  updating is a different mechanism with its own verification burden.
- Forgetting anti-windup: when gains are scheduled up, the integrator
  clamp must follow, or the loop winds up against the scheduled
  authority.
- Treating spline as implemented: spline interpolation is covered as
  an overview only; the logic module raises NotImplementedError for
  method="spline", use linear or nearest for a concrete gain.

## Behavior contract (gate 3)

The interpolation, clamping, monotonicity validation, and rate limiting
logic is exercised by the gate 3 contract test:
scripts/test_gain_scheduling_logic.py against
scripts/gain_scheduling_logic.py (stdlib unittest, offline). Run:
python3 scripts/test_gain_scheduling_logic.py

## Compliance

- ARP4754A is proprietary (SAE); name + paraphrase only per
  standards-map.yaml. Gain scheduling interpolation math is standard
  control practice, summary only.
- Revision note: ARP4754B (2023) supersedes ARP4754A; this skill keys to
  ARP4754A as the certification-baseline revision (FAA AC 20-174 cites A);
  see standards-map.yaml arp4754a.revision_decision.
- compliance: STANDARDS-REF, gated: false.

Attribution

ashfordeOUashfordeOU
View sourceMore from ashfordeOU →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →