Tooluck logoTooluck
SKILL.md

astropy

Agent skill fromK-Dense-AI/scientific-agent-skills

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 to install astropy

install astropy
# install the scientific-agent-skills pack with the skills CLI
npx skills add K-Dense-AI/scientific-agent-skills

# or add only this skill to Claude Code: copy the folder

skills/astropy/

# into

~/.claude/skills/astropy/ (all projects)

.claude/skills/astropy/ (one project)

skills/astropy/SKILL.md

MITFull file
1# Astropy
2
3## Overview
4
5Astropy 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.
6
7## When to Use This Skill
8
9Use astropy when tasks involve:
10- Converting between celestial coordinate systems (ICRS, Galactic, FK5, AltAz, etc.)
11- Working with physical units and quantities (converting Jy to mJy, parsecs to km, etc.)
12- Reading, writing, or manipulating FITS files (images or tables)
13- Cosmological calculations (luminosity distance, lookback time, Hubble parameter)
14- Precise time handling with different time scales (UTC, TAI, TT, TDB) and formats (JD, MJD, ISO)
15- Table operations (reading catalogs, cross-matching, filtering, joining)
16- WCS transformations between pixel and world coordinates
17- Astronomical constants and calculations
18
19## Quick Start
20
21Targets Astropy 8.0.1. Numerical and small synthetic file examples were executed;
22blocks using observation/catalog filenames, online services or a GUI are illustrative
23and require those inputs. See [review evidence and sources](references/review.md).
24
25```python
26import astropy.units as u
27from astropy.coordinates import SkyCoord
28from astropy.time import Time
29from astropy.io import fits
30from astropy.table import Table
31from astropy.cosmology import Planck18
32…

Excerpt shown under the repository's MIT license.

More skills in scientific-agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates