Agent skill · research science · aiskillstore
astropy
Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.
Why this skill is useful
Provides domain-specific knowledge for astronomical data processing, including coordinate transformations and FITS file manipulation that the AI wouldn't reliably generate on its own.
What it needs
Requires astropy installed locally. About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Astropy Overview Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis. Use astropy for coordinate transformations, unit and quantity calculations, FITS file operations, cosmological calculations, precise time handling, tabular data manipulation, and astronomical image processing. When to Use This Skill Use astropy when tasks involve: Converting between celestial coordinate systems (ICRS, Galactic, FK5, AltAz, etc.) Working with physical units and quantities (converting Jy to mJy, parsecs to km, etc.) Reading, writing, or manipulating FITS files (images or tables) Cosmological calculations (luminosity distance, lookback time, Hubble parameter) Precise time handling with different time scales (UTC, TAI, TT, TDB) and formats (JD, MJD, ISO) Table operations (reading catalogs, cross-matching, filtering, joining) WCS transformations between pixel and world coordinates Astronomical constants and calculations Quick Start Core Capabilities 1. Units and Quantities (astropy.units) Handle physical quantities with units, perform unit conversions, and ensure dimensional consistency in calculations. Key operations: Create quantities by multiplying values with units Convert between units using .to() method Perform arithmetic with automatic unit handling Use equivalencies for domain-specific conversions (spectral, doppler, parallax) Work with logarithmic units (magnitudes, decibels) See: references/units.md for comprehensive documentation, unit systems, equivalencies, performance optimization, and unit arithmetic. 2. Coordinate Systems (astropy.coordinates) Represent celestial positions and transform between different coordinate frames. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/astropy--c61a35