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

Midcourse Guidance

ASecurity

Use when a task asks how to reach an intermediate condition before final intercept, how much speed remains to be gained, or when to hand off to terminal guidance. Shape the midcourse flight of an interceptor or guided vehicle between launch and terminal handover: steer through a planned waypoint with a turn-rate-limited heading law, compute the velocity-to-be-gained speed deficit along the desired course, evaluate the zero-effort-miss of the closing geometry, size the handover condition that ...

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

Works with

claude codeterminalcliapi

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill midcourse-guidance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Midcourse Guidance?

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

Security grade badge for Midcourse Guidance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-midcourse-guidance/badge)](https://www.skillsdirectory.com/skills/ashfordeou-midcourse-guidance)

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

Download with Pro
Files
SKILL.md
---
name: midcourse-guidance
description: "Use when a task asks how to reach an intermediate condition before final intercept, how much speed remains to be gained, or when to hand off to terminal guidance. Shape the midcourse flight of an interceptor or guided vehicle between launch and terminal handover: steer through a planned waypoint with a turn-rate-limited heading law, compute the velocity-to-be-gained speed deficit along the desired course, evaluate the zero-effort-miss of the closing geometry, size the handover condition that passes control to terminal guidance such as proportional navigation, and shape ascent trajectories with gravity-compensated commands. Trigger: midcourse guidance, waypoint steering, trajectory shaping, velocity-to-be-gained, zero-effort-miss, handover condition, turn-rate limit, gravity-compensated ascent."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: far-25
    reference-only: true
  - id: cs-25
    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: guidance
  tags: [midcourse-guidance, waypoint-steering, trajectory-shaping, velocity-to-be-gained, zero-effort-miss, handover-condition, turn-rate-limit, gravity-compensated-ascent, intercept-guidance]
  version: 0.1.0
  author: Aero Agent Skills
---

# Midcourse Guidance (gnc-autonomy/guidance/midcourse-guidance)

Use when the task is steering a guided vehicle or interceptor through
the midcourse phase between launch and terminal handover: reaching a
planned waypoint or constraint geometry, shaping the trajectory, sizing
the speed deficit and the miss distance of the closing geometry, and
deciding when terminal guidance takes over.

## Domain quick reference

Midcourse guidance steers to a planned intermediate condition (a
waypoint, a constraint corridor, a handover geometry) rather than to
the target directly; a terminal law (proportional navigation, pursuit,
command-to-line-of-sight) then owns the final intercept. Planar model:
vehicle at position p = (px, py) with speed V and heading psi, waypoint
w = (wx, wy), turn-rate limit omega_max, guidance step dt. Angles are
radians; units are m, s, m/s, rad, rad/s, m/s^2.

- Desired course: psi_d = atan2(wy - py, wx - px). Worked anchor:
  p = (0, 0), w = (1000, 500) gives psi_d = 26.565 deg.
- Course error: e = wrap(psi_d - psi) into (-pi, pi]. Same anchor with
  psi = 0 gives e = +26.565 deg; with psi = 45 deg gives e = -18.435
  deg (the wrap keeps the short way around).
- Turn-rate-limited steering:
  psi_c = psi + clamp(e, -omega_max * dt, +omega_max * dt). Anchor:
  omega_max = 5 deg/s, dt = 1 s clamps the commanded turn to 5 deg per
  step although e = 26.565 deg; omega_max = 30 deg/s lets the full
  error through and psi_c = psi_d in one step.
- Velocity-to-be-gained: vgo = max(0, V_target - V * cos(e)), the
  speed deficit along the desired course after the heading error is
  removed. Anchor: V = 250 m/s, e = 20 deg, V_target = 300 m/s gives
  vgo = 300 - 234.92 = 65.08 m/s; at e = 0 the same anchor gives
  vgo = 50 m/s.
- Zero-effort-miss for a constant-velocity closing geometry: relative
  position rho = r_t - r_i, relative velocity v_rel = v_t - v_i,
  time-to-go t_go = -(rho . v_rel) / |v_rel|^2 clamped to >= 0, and
  ZEM = |rho + v_rel * t_go|, the miss distance at closest approach if
  nothing changes. Anchor: interceptor at (0, 0) at 300 m/s along +x,
  stationary target at (6000, 150) gives t_go = 20 s and ZEM = 150 m;
  target at (9000, 0) at 100 m/s along +x gives t_go = 45 s and
  ZEM = 0 (perfect intercept geometry).
- Handover condition: hand off to terminal guidance when the closing
  range reaches the handoff range R_ho, or when t_go falls below the
  terminal acquisition time. Anchor: closing speed Vc = 1000 m/s and
  seeker acquisition at 8 km gives handover at t_go = 8 s; the
  midcourse law must have driven ZEM inside the seeker capture radius
  by then.
- Gravity-compensated ascent shaping: normal acceleration to track a
  flight path angle program,
  a_c = V * gamma_dot_c + g * cos(gamma), the second term holding the
  climb up against gravity. Anchor: V = 300 m/s,
  gamma_dot_c = 0.5 deg/s, gamma = 30 deg, g = 9.81 m/s^2 gives
  a_c = 2.62 + 8.50 = 11.11 m/s^2.
- FAR-25 and CS-25 (reference-only) frame flight control system
  certification context for transport airplanes; the shaping laws
  themselves are common guidance knowledge.

## Workflow

1. Confirm the phase: midcourse steers to a planned intermediate
   condition. If the task is direct target capture, use the terminal
   law leaves (proportional-navigation, pursuit-guidance,
   command-to-line-of-sight) instead.
2. Define the geometry: waypoint or constraint positions in meters,
   headings in radians.
3. Compute desired_heading(position, waypoint) and
   course_error(position, waypoint, heading); the error is wrapped to
   (-pi, pi].
4. Apply the turn-rate limit with commanded_heading(position, waypoint,
   heading, omega_max, dt); while the error exceeds omega_max * dt the
   vehicle banks at the limit and the error shrinks step by step.
5. Compute velocity_to_be_gained(speed, course_error_angle,
   speed_target) for the speed deficit along the course, and
   zero_effort_miss(interceptor_pos, interceptor_vel, target_pos,
   target_vel) to check the intercept line before handover.
6. Check handover_check(interceptor_pos, target_pos, handoff_range);
   hand off only when ZEM is already inside the terminal capture
   radius, otherwise the terminal law starts with a large miss.
7. For ascent phases add the gravity compensation term
   gravity_compensated_accel(speed, flight_path_rate,
   flight_path_angle, g) and state the model limits: flat earth, no
   drag, no wind; real trajectories need a 3-DOF or 6-DOF simulation.

## Pitfalls

- Confusing midcourse guidance with proportional-navigation: PN is the
  terminal law commanding acceleration from closing velocity and
  line-of-sight rate at the target; midcourse steers to a planned
  intermediate condition and hands off before PN takes over.
- Confusing with pursuit-guidance: pursuit aims the interceptor
  velocity at the target with a capture condition; midcourse never
  aims at the target during the shaping phase.
- Confusing with command-to-line-of-sight: CLOS holds the missile on
  the tracker-to-target line; midcourse steering has no tracker line.
- Confusing with impact-point-prediction: that leaf is open-loop
  ballistic geometry for where an unguided round lands; midcourse
  guidance is closed-loop steering of a guided vehicle.
- Confusing with lqr-design: LQR derives an optimal state-feedback
  gain from cost weights over a linear model; midcourse shaping laws
  are simple explicit steering and energy functions, not optimal
  controllers.
- Forgetting the wrap: the course error must be wrapped to (-pi, pi],
  or a small geometric error turns the vehicle the long way around.
- Mixing degrees and radians: atan2, the turn clamp, and the wrap all
  work in radians.
- Negative velocity-to-be-gained: clamp vgo at zero; a vehicle already
  faster than the speed target has nothing to gain.
- t_go sign in ZEM: for a receding geometry (rho . v_rel > 0) the
  closest approach is in the past; clamp t_go to >= 0 and report the
  ZEM at the current point.
- Handing off too early or too late: handover before ZEM is inside the
  capture radius gives the terminal law a large initial miss; handover
  after the acquisition time wastes seeker tracking.
- Dropping gravity compensation in ascent: without the g * cos(gamma)
  term the shaped climb droops under gravity.

## Behavior contract (gate 3)

The waypoint steering law, velocity-to-be-gained, zero-effort-miss,
turn-rate clamping, gravity-compensated ascent acceleration, handover
check, and the demonstration are exercised by the gate 3 contract test:
scripts/test_midcourse_guidance.py against
scripts/midcourse_guidance_logic.py (stdlib unittest, offline). Run:
python3 skills/gnc-autonomy/guidance/midcourse-guidance/scripts/test_midcourse_guidance.py

## Compliance

- FAR-25 (US government work, public domain) and CS-25 (EASA,
  free-download) are referenced by id only per standards-map.yaml,
  reference-only: true; no text is copied.
- 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 →