Agent skill · Data & Analytics

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codeMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill astropy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 14 KB
Bundled scripts: none
Version: 1.2
Requires: Requires Python 3.11+ with astropy installed (uv for package installation). Some features (object name resolution, site…
Path: skills/astropy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ```python import astropy.units as u from astropy.coordinates import SkyCoord from astropy.time import Time from astropy.io import fits from astropy.table import Table from

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Start
  4. Core Capabilities
  5. 1. Units and Quantities (astropy.units)
  6. 2. Coordinate Systems (astropy.coordinates)
  7. 3. Cosmological Calculations (astropy.cosmology)
  8. 4. FITS File Handling (astropy.io.fits)
  9. 5. Table Operations (astropy.table)
  10. 6. Time Handling (astropy.time)
  11. 7. World Coordinate System (astropy.wcs)
  12. Additional Capabilities
  13. NDData and CCDData
  14. Modeling
Ships with 7 files
  • references/coordinates.md
  • references/cosmology.md
  • references/fits.md
  • references/tables.md
  • references/time.md
  • references/units.md
  • references/wcs_and_other_modules.md
Commands it runs
Reproducible install against the current stable release
uv pip install "astropy==7.2.0"
Recommended optional dependencies for plotting and common workflows
uv pip install "astropy[recommended]==7.2.0"
Full optional dependency set for broad astronomy workflows
uv pip install "astropy[all]==7.2.0"
More from scientific-agent-skills
All skills →
About this skill
What does the astropy skill do?

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill astropy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going