Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

astropy

Skill by sickn33

Astropy is a Python skill for astronomy work. It guides an AI assistant through coordinate transforms, units, FITS files, cosmology, time handling, tables and WCS. It is aimed at astronomers and researchers doing data analysis.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install astropy

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/astropy ~/.claude/skills/astropy

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install astropy in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Astropy is a Python package for astronomy. This skill covers coordinate transformations, units and quantities, FITS file operations, cosmological calculations, precise time handling, table operations, and WCS conversions between pixel and world coordinates. It includes short code examples for converting coordinates, reading FITS headers, computing cosmological distances, and cross-matching catalogs.

The skill is aimed at astronomers and researchers doing data analysis in Python. Its bundled reference files are short pointers, so the official Astropy documentation is the main source for detailed procedures. The source notes that AltAz and precise-time transforms can auto-download IERS Earth-orientation data, and that named-object and remote FITS operations are network accesses.

Written from the project's SKILL.md and checked against it.

What it can do

  • Units and quantitiesConverts physical quantities between units and handles logarithmic units and equivalencies.
  • Coordinate systemsCreates SkyCoord objects, transforms between frames, and matches coordinates to catalogs.
  • Cosmological calculationsComputes luminosity distance, lookback time, age and Hubble parameter at a given redshift.
  • FITS file handlingReads and writes FITS headers, image data and tables, including memory mapping.
  • Table operationsReads and writes tables in several formats and supports joins, grouping and masking.
  • Time handlingConverts between time scales and formats such as UTC, TT, TDB, JD and MJD.
  • WCS transformationsConverts pixel coordinates to world coordinates and back using FITS headers.

What you need

  • Python
  • uv for installing the astropy package

Try asking

  • Convert RA 10.5 and Dec 41.2 degrees from ICRS to Galactic coordinates
  • Compute the luminosity distance and lookback time at z=1.5 using Planck18
  • Read the EXPTIME and FILTER keywords from my FITS observation file

Good to know

  • Reference files are short pointers, not full local documentation.
  • AltAz and precise-time transforms may auto-download IERS data unless auto_download is disabled.
  • Cross-matching returns nearest neighbors, not confirmed physical matches.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/astropy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/coordinates.md488 B
  • references/cosmology.md393 B
  • references/fits.md403 B
  • references/tables.md383 B
Show all 8 files
  • references/time.md307 B
  • references/units.md439 B
  • references/wcs_and_other_modules.md472 B

Alternatives to astropy

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

astropy: common questions

Does the astropy skill need internet access?

Some tasks do. The source says AltAz and precise-time transforms can auto-download IERS data, and named-object and remote FITS operations are network accesses that need task-appropriate authorization.

Is catalog cross-matching guaranteed to find the same object?

No. The source says cross-matching returns nearest neighbors, which may be many-to-one, and not confirmed physical identity, so epochs, proper motion and uncertainty should be checked.

Does the skill include full Astropy documentation?

No. The source says the bundled reference files are short pointers and placeholders, and the official Astropy documentation should be followed for detailed procedures.

How do I install astropy?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is astropy free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is astropy safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to astropy?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

astropy Install

Add to stack

Loading.