Cosmology

From VectorSpaceLab/AREX-Skill · View interactive version

Cosmology is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Astropy cosmology realizations, FLRW classes, distances, ages, redshift inversion, cosmology units, equivalencies, and serialization.

How to use this skill

Skill file

Cosmology Router

Use this sub-skill when a task centers on astropy.cosmology models,

realizations, cosmological calculations, redshift inversion, or cosmology I/O.

Load This When

LambdaCDM, w0waCDM, cosmology parameters, or cloning a cosmology.

distance, distance modulus, Hubble parameter, density parameters, critical

density, or absorption distance.

equivalencies, or cosmology serialization.

or another registered format.

Route Away When

../units-constants/SKILL.md.

../modeling-stats-timeseries/SKILL.md.

First Actions

  1. Identify whether the user wants a built-in realization, current default, or

custom class.

  1. Keep redshift inputs scalar/vectorized and unitless unless an API expects a

Quantity.

  1. Preserve output quantities with units; do not strip .value until necessary.
  2. For custom cosmologies, state all required parameters and units.
  3. For inverse calculations, bound z_at_value and validate the solution.
  4. For serialization, choose the target format and verify round-trip metadata.

References

functions, realizations, and I/O APIs.

custom cosmologies, redshift inversion, and serialization.

issues, solver bounds, default cosmology surprises, optional dependencies, and

metadata round-trips.

Safety and Validation

check availability in the installed package.

Native-Backed Validation Ideas

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.