Skip to main content
skill CX Codex

astropy — Claude Code skill: astronomy with Python

Helps an agent write and debug Astropy code for astronomy data. Use it for coordinate transforms, FITS files, tables, and time calculations.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill astropy -a claude-code
Open on GitHub

What astropy does

The skill guides an agent through Astropy tasks: converting celestial coordinates and physical units, reading and writing FITS files, working with tables, handling time scales, and mapping image pixels to world coordinates. It also covers cosmological calculations. This is agent guidance, not the Astropy package itself.

The stated requirements are Python 3.11+, Astropy 8.0.1, and NumPy 2+. SciPy is needed for cosmology, matching, and fitting. Some operations, such as resolving object names and reading FITS data remotely, depend on network access. Those operations will not run offline.

Install it with npx skills add K-Dense-AI/scientific-agent-skills --skill astropy -a claude-code. The skill file is placed at ~/.claude/skills/astropy/SKILL.md.

What it helps with

  • transform coordinates between ICRS and Galactic
  • convert a distance from parsecs to kilometers
  • read an image or table from a FITS file
  • match and filter entries in an astronomy catalog
  • convert observation times between UTC, TAI, and TDB

Example prompts for the agent

  • Use Astropy to transform these coordinates from ICRS to Galactic.
  • Read catalog.fits as a table and filter its rows by this condition.
  • Convert the observation time from UTC to TDB and explain the calculation.

How to install astropy

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill astropy -a claude-code

2Manually: put the files in place

~/.claude/skills/astropy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/astropy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about astropy

How do I install astropy in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill astropy -a claude-code. The skill file will be at ~/.claude/skills/astropy/SKILL.md.

What does the astropy skill do?

It guides an agent writing or debugging astronomy code that uses Astropy, including work with coordinates, units, FITS files, tables, and time.

What does the astropy skill require?

It requires Python 3.11+, Astropy 8.0.1, and NumPy 2+. SciPy is needed for cosmology, matching, and fitting; some operations also require network access.

Similar skills

Everything for Science and research →

From the same set159

deepchem Builds molecular property prediction and MoleculeNet pipelines in DeepChem 2.8.0. Useful for SMILES featurization and scaffold-based ML. CX Codex +1 1,900installs pufferlib Skill for PufferLib: choose between native 5.0, PyPI 3.0.0, or pinned 4.0, validate Gymnasium contracts, adapt environments, and review checkpoints safely. Requires Python 3.10+ and native C/CUDA for training. CX Codex +1 1,900installs deeptools A skill that turns sequencing data into coverage tracks, QC metrics and heatmaps around TSS and peaks. CX Codex +1 1,900installs pydicom Inspects and processes local DICOM files, transfer syntaxes, and pixel data. Enforces strict metadata allowlists to prevent sensitive patient data from leaking into logs. CX Codex +1 1,900installs scanpy A skill with ready-made CLI scripts for the full single-cell RNA-seq workflow: QC, normalization, clustering, marker genes, visualization. Use it when you want Scanpy results without writing the pipeline by hand. CX Codex +1 1,900installs rdkit Guides coding agents through cheminformatics tasks in Python, including SMILES parsing, descriptor calculations, and 3D coordinate generation. CX Codex +1 1,900installs modal Guides Python workloads on Modal, from web endpoints to GPU model training. Use it when deploying cloud jobs through the Modal SDK. CX Codex +1 1,900installs clinical-decision-support Builds and checks research-only clinical decision-support artifacts: evidence profiles, cohorts, survival plans, de-identification. Not for patient care. CX Codex +1 1,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor