Agent skill
satellitetoolbox-tle
SatelliteToolboxTle.jl for parsing, creating, fetching, and converting TLE (Two-Line Element) data. Use when reading TLE files, fetching TLEs from CelesTrak, or constructing TLE objects.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/satellitetoolbox-tle
SKILL.md
SatelliteToolboxTle.jl
TLE parsing, creation, fetching, and conversion. Repo: JuliaSpace/SatelliteToolboxTle.jl
Parsing TLEs
# From string macros
tle = tle"
1 25544U 98067A 24005.50000000 .00000000 00000+0 00000+0 0 09
2 25544 51.6400 100.0000 0001000 90.0000 270.0000 15.50000000 04
"
# From strings
tle = read_tle(tle_string)
tle = read_tle(line1, line2; name="ISS")
tles = read_tles(multi_tle_string)
tles = read_tles_from_file("tles.txt")
# Without checksum verification
tle = tle_nc"..."
Fetching from CelesTrak
fetcher = create_tle_fetcher(CelestrakTleFetcher)
tles = fetch_tles(fetcher; satellite_name="ISS")
tles = fetch_tles(fetcher; satellite_number=25544)
tles = fetch_tles(fetcher; international_designator="98067A")
TLE Fields
| Field | Unit | Description |
|---|---|---|
inclination |
degrees | Orbital inclination |
raan |
degrees | Right ascension of ascending node |
eccentricity |
-- | Orbital eccentricity |
argument_of_perigee |
degrees | Argument of perigee |
mean_anomaly |
degrees | Mean anomaly |
mean_motion |
rev/day | Mean motion |
bstar |
1/Earth radii | BSTAR drag term |
epoch_year, epoch_day |
-- | Epoch |
Utilities
jd = tle_epoch(tle) # Julian Day of epoch
dt = tle_epoch(DateTime, tle) # DateTime of epoch
str = convert(String, tle) # Back to TLE string format
chk = tle_line_checksum(line) # Compute line checksum
Key Conventions
- TLE angles in degrees (TLE standard), mean motion in rev/day
- Search precedence: satellite_number > international_designator > satellite_name
@kwdefconstructor: required fields areepoch_year,epoch_day,inclination,raan,eccentricity,argument_of_perigee,mean_anomaly,mean_motion
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?