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

Attitude Dynamics

ASecurity

Use when the task is spacecraft attitude dynamics, rotational kinematics, or momentum management for ADCS dynamics analysis and simulation. Model spacecraft attitude dynamics with the Euler rotational equations of motion: propagate quaternion kinematics from angular velocity, integrate the inertia tensor and applied torques into angular rates, and compute angular momentum, torque-free nutation, gravity-gradient torque, and momentum wheel effects. The stdlib logic is deterministic and offline:...

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

Works with

claude codecli

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill attitude-dynamics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Attitude Dynamics?

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

Security grade badge for Attitude Dynamics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-attitude-dynamics/badge)](https://www.skillsdirectory.com/skills/ashfordeou-attitude-dynamics)

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

Download with Pro
Files
SKILL.md
---
name: attitude-dynamics
description: "Use when the task is spacecraft attitude dynamics, rotational kinematics, or momentum management for ADCS dynamics analysis and simulation. Model spacecraft attitude dynamics with the Euler rotational equations of motion: propagate quaternion kinematics from angular velocity, integrate the inertia tensor and applied torques into angular rates, and compute angular momentum, torque-free nutation, gravity-gradient torque, and momentum wheel effects. The stdlib logic is deterministic and offline: quaternion rate and Euler integration steps, body-cone nutation rates, gravity-gradient torque at a given orbital radius, and wheel angular momentum from spin rate. Trigger: quaternion, angular velocity, inertia tensor, nutation, gravity gradient, momentum wheel, euler equations."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: ecss
    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: space
  tags: [attitude-dynamics, quaternion-kinematics, euler-equations, rotational-dynamics, angular-momentum, inertia-tensor, gravity-gradient, momentum-wheel, nutation]
  version: 0.1.0
  author: Aero Agent Skills
---

# Attitude Dynamics (gnc-autonomy/space/attitude-dynamics)

Use when the task is spacecraft attitude dynamics: rotational
equations of motion, quaternion kinematics, or momentum management.

## Domain quick reference

- Euler rotational equations of motion for a rigid spacecraft with
  inertia tensor I and body angular velocity omega:
  H = I omega, H_dot = torque - omega x H, omega_dot = inv(I) H_dot.
  Torque-free spin about a principal axis is steady; off-axis spin
  produces the gyroscopic coupling that drives nutation and tumbling.
- Quaternion kinematics: with a scalar-first unit quaternion
  q = [w, x, y, z], q_dot = 0.5 q (x) [0, omega]. An explicit Euler
  step followed by renormalization propagates attitude for small dt.
- Angular momentum H = I omega is conserved (in inertial space) in
  torque-free motion. The inertia tensor is symmetric positive
  definite and diagonal in principal axes; a uniform box of mass m
  and sides a, b, c has Ixx = m (b^2 + c^2) / 12, and cyclic.
- Torque-free motion of an axisymmetric body: the angular momentum
  vector is fixed in space, the symmetry axis precesses around it at
  constant nutation angle, and omega precesses about the symmetry
  axis in the body frame at (ia/it - 1) omega3 (positive oblate,
  negative prolate, zero for a sphere).
- Gravity-gradient torque: tau = (3 mu / r^3) (r_hat x I r_hat),
  where r is the spacecraft position relative to the Earth's center
  in body coordinates and mu = 3.986004418e14 m^3/s^2 for Earth.
  A principal axis aligned with nadir gives zero torque, the
  equilibrium used by gravity-gradient-stabilized spacecraft.
- Momentum wheels: a wheel of inertia J_w spinning at omega_w about
  a body axis carries h = J_w omega_w and exchanges momentum with
  the body, so the conserved total is H = I omega + h; this is how
  reaction wheels despin and reorient a spacecraft without
  propellant.

## Workflow

1. Build the inertia tensor: principal moments from mass properties,
   e.g. inertia_tensor_of_box for a uniform box.
2. Compute the angular momentum H = I omega with angular_momentum.
3. Propagate attitude with quaternion kinematics: quat_rate for the
   derivative and quat_integrate_step for a renormalized Euler step.
4. Integrate the Euler equations with euler_rates (angular
   acceleration from inertia, torque, and the gyroscopic term
   omega x H) and angular_velocity_step.
5. For torque-free motion, report the nutation angle between H and
   the symmetry axis and the body-cone rate.
6. Add the gravity-gradient torque at the orbit radius and the wheel
   momentum, then re-evaluate the total momentum budget.

## Pitfalls

- Mixing scalar-first and scalar-last quaternion conventions; this
  logic uses q = [w, x, y, z] and Hamilton products throughout.
- Forgetting renormalization after an Euler quaternion step: the
  quaternion drifts off the unit sphere and the rotation is invalid.
- Dropping the gyroscopic term omega x H in Euler's equations; it is
  what produces nutation and tumbling.
- Treating the inertia tensor as a scalar; H = I omega must use the
  full 3x3 matrix when off-diagonal terms are present.
- Sign errors in the gravity-gradient torque convention; verify
  against the zero-torque case of r_hat along a principal axis.
- Confusing wheel momentum with body momentum: the wheel exchanges
  momentum with the body, so the total H = I omega + h is conserved,
  not I omega alone.
- Feeding rpm where rad/s is expected; convert with rpm_to_rad_s.

## Behavior contract (gate 3)

The Euler equations, quaternion kinematics, inertia, nutation,
gravity-gradient, and wheel logic is exercised by the gate 3 contract
test: scripts/test_attitude_dynamics.py against
scripts/attitude_dynamics_logic.py (stdlib unittest, offline). Run:
python3 scripts/test_attitude_dynamics.py

## Compliance

- ECSS (European Cooperation for Space Standardization) standards are
  freely downloadable, copyright ESA; cite the source and paraphrase.
  This leaf cites ECSS as reference only per standards-map.yaml; the
  logic here is generic rigid-body dynamics, not ECSS text.
- 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 →