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

Eclipse Time

ASecurity

Use when you must compute the time a spacecraft spends inside the earth shadow during each orbit: derive the beta angle of the orbit plane relative to the sun vector from the inclination, the right ascension of the ascending node, and the sun position, then evaluate the shadow fraction from the beta angle and the orbit radius and multiply by the orbital period to produce the eclipse time and the daylight fraction. Produces the beta angle in degrees, the shadow fraction, and the eclipse time i...

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

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 eclipse-time --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Eclipse Time?

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

Security grade badge for Eclipse Time
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-eclipse-time/badge)](https://www.skillsdirectory.com/skills/ashfordeou-eclipse-time)

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

Download with Pro
Files
SKILL.md
---
name: eclipse-time
description: "Use when you must compute the time a spacecraft spends inside the earth shadow during each orbit: derive the beta angle of the orbit plane relative to the sun vector from the inclination, the right ascension of the ascending node, and the sun position, then evaluate the shadow fraction from the beta angle and the orbit radius and multiply by the orbital period to produce the eclipse time and the daylight fraction. Produces the beta angle in degrees, the shadow fraction, and the eclipse time in seconds that gate eclipse duration inputs for spacecraft power and thermal sizing. Trigger: eclipse time, earth shadow, beta angle, shadow fraction, orbit plane, sun vector, eclipse duration."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: ecss
    reference-only: true
gated: false
domain: space-systems
pack: space-systems
compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"
metadata:
  domain: space-systems
  subdomain: orbit-mechanics
  tags: [eclipse-time, earth-shadow, beta-angle, shadow-fraction, eclipse-duration, orbit-plane, sun-vector, orbit-period]
  version: 0.1.0
  author: Aero Agent Skills
---

# Eclipse Time (space-systems/orbit-mechanics/eclipse-time)

Use when the task is eclipse geometry for a circular Earth orbit:
the beta angle of the orbit plane relative to the sun vector, the
shadow fraction, and the eclipse time that feeds power and thermal
sizing.

## Domain quick reference

- Units: altitude in km in, meters internally; angles in radians,
  degrees for display; period and eclipse time in seconds; fractions
  dimensionless in [0, 1].
- Gravitational parameter mu = 3.986004418e14 m^3/s^2, mean Earth
  radius Re = 6371000 m.
- Orbital period: T = 2 pi sqrt(a^3 / mu) with a = Re + altitude.
  At 500 km altitude T = 5668 s (94.5 min); at GEO (35786 km) T =
  86142 s (23.93 h).
- Beta angle from orbit and sun geometry: sin(beta) = sin(i) cos(delta)
  sin(RAAN - alpha) + cos(i) sin(delta), with i the inclination, delta
  the sun declination, alpha the sun right ascension. Range [-90, 90]
  deg.
- Shadow fraction (spherical Earth, umbra only): f = arccos(
  sqrt(r^2 - Re^2) / (r cos(beta))) / pi while |beta| < beta_max =
  arcsin(Re / r); f = 0 otherwise. beta_max is about 68 deg at 500 km
  and about 8.7 deg at GEO.
- Eclipse time = shadow fraction times orbital period. At 500 km with
  beta = 0 the eclipse is about 2142 s (35.7 min); the GEO maximum is
  about 4160 s (69 min).
- Daylight fraction = 1 - shadow fraction.

## Workflow

1. Take the circular orbit altitude in km and the orbit and sun
   angles: inclination, RAAN, sun declination, sun right ascension.
2. Compute the orbital period with orbital_period.
3. Compute the beta angle with beta_angle (radians) or
   beta_angle_deg (degrees).
4. Evaluate the shadow fraction with shadow_fraction and the eclipse
   time with eclipse_time.
5. Pack the full solution with eclipse_properties for the power and
   thermal sizing handoff.
6. Gate on the eclipse duration band: a beta angle above beta_max
   means a fully sunlit orbit with zero eclipse time.

## Pitfalls

- Feeding degrees into radian-based functions; beta_angle_deg exists
  for degree input.
- Using a negative altitude or an orbit radius at or below Re, which
  raise ValueError.
- Forgetting the beta_max cutoff: beyond about 68 deg at 500 km the
  orbit is fully sunlit and the shadow fraction is exactly zero.
- Confusing the beta angle with the sun elevation above the local
  horizon; the beta angle is an orbit-plane-to-sun-vector angle.
- Treating the geometric umbra estimate as exact; real eclipse
  durations shift slightly with penumbra, Earth oblateness, and the
  finite sun radius.

## Behavior contract (gate 3)

The period, beta angle, shadow fraction, and eclipse time logic is
exercised by the gate 3 contract test: scripts/test_eclipse_time.py
against scripts/eclipse_time_logic.py (stdlib unittest, offline). Run:
python3 scripts/test_eclipse_time.py

## Compliance

- Standards referenced, not reproduced: ECSS series text is copyright
  ESA; the beta angle and shadow fraction geometry are common
  astrodynamics, summary-only per standards-map.yaml (ecss is a free
  ESA download).
- 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 →