This is the canonical Python library for astronomical data analysis, and if you're doing anything with celestial coordinates, FITS files, or cosmological calculations, you'll need it. The skill gives Claude fluency with the whole stack: transforming between coordinate systems like ICRS and Galactic, handling physical units and quantities with proper conversions, reading and writing FITS headers and data, computing cosmological distances at different redshifts, and managing precise time scales for observations. The references cover the tricky bits like WCS transformations and coordinate matching that trip people up. It's comprehensive without being academic about it, treating Astropy as the practical toolkit it is rather than trying to explain astrophysics.
- skills.sh installs
- 2K
- GitHub stars
- 56.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill astropy --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- AI & Agent Building, Debugging, Python
- First seen
- Jun 3, 2026
