satellitetoolbox-celestialbodies
SatelliteToolboxCelestialBodies.jl for computing Sun and Moon positions and velocities in the MOD frame. Use when computing third-body positions, Sun/Moon ephemeris, or eclipse geometry.
npx skills add majiayu000/claude-skill-registry --skill satellitetoolbox-celestialbodies-hammerhead-space-agenticcodingr --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SatelliteToolboxCelestialBodies.jl Analytical Sun and Moon position/velocity in the Mean-Of-Date (MOD) reference frame. Repo: [JuliaSpace/SatelliteToolboxCelestialBodies.jl](https://github.com/JuliaSpace/SatelliteToolboxCelestialBodies.jl) ## Sun ```julia r_sun = sun_position_mod(jd_tdb) # -> SVector{3, Float64} [km] r_sun = sun_position_mod(date_tdb) # DateTime input v_sun = sun_velocity_mod(jd_tdb) # -> SVector{3, Float64} [km/s] ``` ## Moon ```julia r_moon = moon_position_mod(jd_tdb) # Default: Meeus algorithm (~10" accuracy) r_moon = moon_position_mod(jd_tdb, Val(:Vallado)) # Faster, lower accuracy (~0.3°) r_moon = moon_position_mod(jd_tdb, Val(:Meeus)) # Explicit high-accuracy ``` ## Key Conventions - Time must be in **TDB** (Barycentric Dynamical Time) as Julian Day or `DateTime` - Output frame: **MOD** (Mean-Of-Date) -- apply precession/nutation for J2000/GCRF - Positions in **km**, velocities in **km/s** (note: unlike other SatelliteToolbox packages) - Returns `SVector{3, Float64}` - Model selection via `Val(:symbol)` dispatch
- Sun
- Moon
- Key Conventions
What does the satellitetoolbox-celestialbodies skill do?
SatelliteToolboxCelestialBodies.jl for computing Sun and Moon positions and velocities in the MOD frame. Use when computing third-body positions, Sun/Moon ephemeris, or eclipse geometry.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill satellitetoolbox-celestialbodies-hammerhead-space-agenticcodingr --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
