Skip to content

Comprehensive astropy guide covering coordinates, units, FITS, cosmology, time, tables, and WCS for astronomical data.

CCM score
67 of 100
skills.sh installs
312
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers units and quantities, celestial coordinate frames, cosmological distances, time scales, FITS files, tables, and WCS
  • Includes reference guides for each area, with SkyCoord transforms, Planck18 and WMAP9 cosmologies, and Time format conversions
  • Supports catalog cross-matching, observer-dependent AltAz transforms, and remote FITS access over S3 or HTTP
  • Designed for astronomy and astrophysics tasks involving coordinate transformations, unit conversions, and FITS or time-scale processing

Install

$ npx -y skills add davila7/claude-code-templates --skill astropy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python, Research & Academic
First seen
Jun 3, 2026

Questions

What does the astropy skill help an agent do?

The astropy skill lets an agent work with astronomical data in Python, including celestial coordinate transformations, physical units and quantities, FITS file handling, cosmological distance calculations, time scale conversions, tables, and world coordinate system transforms. It is aimed at astronomy and astrophysics data work.

How do I install the astropy skill?

Run npx -y skills add davila7/claude-code-templates --skill astropy -y in your project to install it. Once installed, the agent can use astropy for tasks such as converting between coordinate systems or reading FITS files.

What does astropy need to run?

The skill's SKILL.md suggests installing the astropy Python package with uv pip install astropy, and optionally astropy[all] for full functionality. Installing astropy itself is the only setup described in the listing.

Where does astropy stand in the Data Science & Analytics category?

Astropy sits in the Data Science & Analytics category on Claude Marketplaces, alongside skills such as azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its focus is narrower than those, centered on astronomy data rather than general analytics.

More from davila7/claude-code-templates

All 398