Skip to content

Core Python package for astronomy workflows covering units, coordinates, FITS, tables, time, WCS, and cosmology.

CCM score
69 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers units and quantities, coordinate frames and transforms, cosmological distances, and precise time scales
  • Includes FITS file handling, table operations with unit-aware columns, WCS pixel-world conversion, and NDData, modeling, and statistics
  • Enforces zero-based (x, y) pixel conventions versus NumPy [row, column] indexing, with world_to_array_index for array access
  • Designed for implementing or debugging astronomical data analysis code, with some features requiring network access

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --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/k-dense-ai/scientific-agent-skills
Categories
Research & Academic, Python, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What is the astropy skill for?

The astropy skill gives your agent guidance for the Astropy Python library, the core package for astronomy and astrophysics. It covers units and quantities, coordinates, FITS file I/O, tables, time systems, WCS and cosmology. It is meant for implementing or debugging astronomical data analysis code.

How do I install the astropy skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill astropy -y in a project. After that, your agent can use Astropy guidance when writing or debugging astronomy code.

What does the astropy skill need to run?

The skill targets Python 3.11 or newer, Astropy 8.0.1 and NumPy 2 or newer, with SciPy for cosmology, matching and fitting. Some features such as object name resolution, site lookups, remote FITS reads and IERS updates need network access.

Where does the astropy skill stand in Research & Academic?

The astropy skill sits in the Research & Academic category on Claude Marketplaces, alongside skills such as research, paper-context-resolver and repo-intake-and-plan. It is focused on one library, covering the Astropy APIs for astronomical data work.

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

All 132

Similar to Astropy

More Research & Academic