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-code

Installs 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

More from k-dense-ai/scientific-agent-skills

All 137
1typefully avatartypefullytypefully/agent-skillstypefully2Kskills.sh installs
2k-dense-ai avatarcellxgene-censusk-dense-ai/scientific-agent-skillsQuery the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data. Use when you need population-scale cell metada2Kskills.sh installs
3k-dense-ai avatarpydicomk-dense-ai/scientific-agent-skillsUse pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compress2Kskills.sh installs
4k-dense-ai avatardatamolk-dense-ai/scientific-agent-skillsPythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, 2Kskills.sh installs
5k-dense-ai avatardeeptoolsk-dense-ai/scientific-agent-skillsNGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualizati2Kskills.sh installs
6k-dense-ai avatardeepchemk-dense-ai/scientific-agent-skillsMolecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive 2Kskills.sh installs