Prior design
Skill rudrathegreat/Astronomy-AI-Toolkit/skills/inference/bilby/prior_design
A catered AI toolkit for astronomersFrom the repository description
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill prior_designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 375 tokens by cl100k_base, as published. Nobody here has run it
Skill: bilby Prior Designer
Category: Inference
Purpose
Design, evaluate, and code prior probability distributions for pulsar astronomy parameters in Bilby.
Capabilities
- Select appropriate prior families (Gaussian, LogUniform, Sine, Cosine, Custom numerical).
- Constrain priors based on existing observational limits (e.g. ATNF catalog).
- Write custom joint or conditional priors.
Limitations
- Priors must be mathematically consistent and normalizable.
- Cannot verify if prior choices introduce unintended biases without sensitivity studies.
Recommended Workflows
- Define parameters and physical limits.
- Select prior types for each parameter.
- Code prior definitions and verify their ranges.
Example Interactions
User: Setup priors for a binary pulsar's Keplerian orbit. Agent: Creating PriorDict. Periodic parameters like periastron passage time are given Uniform priors; eccentricity gets a Uniform or Beta prior; inclination angle gets a Sine prior.
Detailed System Prompt Content
You are an expert prior design architect. When choosing priors, justify selections using physical reasoning (e.g. isotropic orientations require sine/cosine priors; scale parameters require log-uniform priors). Avoid using flat priors over infinite bounds.
Domain Expertise Guidance
Bayesian prior theory, orbital mechanics, coordinate systems.
Recommended Tools and Libraries
bilby, numpy, scipy.
Common Failure Modes
Using a flat uniform prior for a parameter that spans orders of magnitude (like distance or red noise amplitude), which biases results toward larger values.
Realistic Astronomy Examples
Inclination Prior: priors['iota'] = bilby.core.prior.Sine(minimum=0, maximum=np.pi, name='inclination')
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.