Skip to content
cccskills
FreePublished on GitHub

astropy

Use Astropy core for astronomy units, coordinates, times, tables, FITS/WCS files, modeling, statistics, visualization, cosmology, configuration, and public CLIs.

The English summary is being prepared. Showing the original description.

See how to install

Files included (40)

  • SKILL.md4.9 KB
  • references/package-overview.md3.4 KB
  • references/repo-provenance.md2.1 KB
  • references/repo-routing-metadata.json329 B
  • references/troubleshooting.md3.4 KB
  • scripts/astropy_cli_smoke.py3.5 KB
  • scripts/astropy_smoke.py4.3 KB
  • sub-skills/cli-config-data/references/cli-reference.md1.5 KB
  • sub-skills/cli-config-data/references/operations.md1.5 KB
  • sub-skills/cli-config-data/references/troubleshooting.md1.6 KB
  • sub-skills/cli-config-data/SKILL.md3.3 KB
  • sub-skills/cosmology/references/api-reference.md1.5 KB
  • sub-skills/cosmology/references/troubleshooting.md1.2 KB
  • sub-skills/cosmology/references/workflows.md1.5 KB
  • sub-skills/cosmology/SKILL.md2.7 KB
  • sub-skills/modeling-stats-timeseries/references/api-reference.md1.8 KB
  • sub-skills/modeling-stats-timeseries/references/troubleshooting.md1.6 KB
  • sub-skills/modeling-stats-timeseries/references/workflows.md1.8 KB
  • sub-skills/modeling-stats-timeseries/SKILL.md3.0 KB
  • sub-skills/tables-io/references/api-reference.md2.1 KB
  • sub-skills/tables-io/references/formats-and-cli.md1.6 KB
  • sub-skills/tables-io/references/troubleshooting.md1.6 KB
  • sub-skills/tables-io/references/workflows.md2.0 KB
  • sub-skills/tables-io/SKILL.md3.3 KB
  • sub-skills/time-coordinates/references/api-reference.md2.0 KB
  • sub-skills/time-coordinates/references/troubleshooting.md1.7 KB
  • sub-skills/time-coordinates/references/workflows.md2.0 KB
  • sub-skills/time-coordinates/SKILL.md3.2 KB
  • sub-skills/units-constants/references/api-reference.md2.4 KB
  • sub-skills/units-constants/references/troubleshooting.md1.6 KB
  • sub-skills/units-constants/references/workflows.md1.8 KB
  • sub-skills/units-constants/SKILL.md3.5 KB
  • sub-skills/visualization-convolution/references/api-reference.md1.9 KB
  • sub-skills/visualization-convolution/references/troubleshooting.md1.5 KB
  • sub-skills/visualization-convolution/references/workflows.md1.8 KB
  • sub-skills/visualization-convolution/SKILL.md3.2 KB
  • sub-skills/wcs-nddata/references/api-reference.md1.8 KB
  • sub-skills/wcs-nddata/references/troubleshooting.md1.8 KB
  • sub-skills/wcs-nddata/references/workflows.md1.7 KB
  • sub-skills/wcs-nddata/SKILL.md8.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Astropy Repo Skill

Use this skill when a task needs the Astropy core Python package for astronomy or astrophysics analysis. Astropy is a CPU scientific-Python library; selected workflows do not require GPU or accelerator backends. Use an installed Astropy package and the bundled references/scripts here rather than reopening the source repository.

Fast Start

import astropy
from astropy import units as u
print(astropy.__version__)
print((42 * u.km / u.s).to(u.m / u.s))

If plotting, fitting, convolution FFT paths, or common dataframe bridges are needed, prefer installing the common optional set:

python -m pip install "astropy[recommended]"

Use astropy[all] only for broad optional integrations such as HDF5, Parquet, S3/fsspec, Jupyter, or additional astronomy packages.

Route by Task

Shared References and Scripts

Operating Rules

  1. Keep units attached until a non-Astropy API requires raw arrays; then use .to_value(unit) and record the unit.
  2. Be explicit about format=, scale=, frame=, unit=, origin=, and format names for I/O to avoid silent guessing.
  3. Use temporary files for smoke checks and never mutate user FITS/table files unless the user explicitly requested that exact operation.
  4. For offline or reproducible tasks, disable or control remote downloads before coordinate/time/IERS/name-resolution operations.
  5. Validate scientific transformations numerically: unit round-trips, pixel/world round-trips, table read/write round-trips, fit residuals, or cosmology unit checks.
  6. Route optional dependency errors to the nearest sub-skill first, then to the root troubleshooting reference for install-level decisions.

Do Not Use This Skill For

  • General NumPy/Pandas data processing without Astropy APIs, astronomy formats, units, times, or coordinates.
  • Maintaining the Astropy repository, release engineering, CI, or documentation build workflows.
  • Running broad Astropy test suites or benchmarks as a substitute for a focused user workflow.
  • SAMP services, remote data downloads, or file-mutating CLI operations without explicit user approval and bounded temporary-file safeguards.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill