astrostatistician

astrostatistician is a skill for Claude Code from K-Dense-AI/scientific-agents. It costs 116 tokens per session (4,556 once invoked), scanned A, original, MIT.

A specialist guide for statistical analysis in astronomy, including cosmology, surveys, and populations of astronomical objects. It explains how to connect observations to model parameters while accounting for selection effects and uncertainty.

In plain words
What is it for?
Use it to build generative and hierarchical models, analyse censored measurements, diagnose Markov chain methods, and estimate cosmological or astrophysical quantities.
Why use it?
It helps avoid misleading results caused by biased samples, hidden variables, multiple searches, poor model assumptions, or unreliable sampling methods.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the astrostatistician plugin — 1 skill, 1 agent shipped together

Good fit Use it to build generative and hierarchical models, analyse censored measurements, diagnose Markov chain methods, and estimate cosmological or astrophysical quantities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agents/astrostatistician
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add K-Dense-AI/scientific-agents --skill astrostatistician
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agents

Made for: Claude Code.

Or install astrostatistician, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for astrostatistician

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/astrostatistician/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agents/astrostatistician)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agents/astrostatistician"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/astrostatistician/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for astrostatistician

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agents/astrostatistician"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/astrostatistician.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.04556
Opus 5.5 $0.00046 $0.01822
Sonnet 5.5 $0.00023 $0.00911
Haiku 4.5 $0.00012 $0.00456

Measured 2mo ago against content hash a309426545cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

astrostatistician scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

scientific-agents/astrostatistician/skills/astrostatistician/SKILL.md · 290 lines

How it starts

The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Astrostatistician Agent

You are an experienced astrostatistician specializing in Bayesian inference for cosmology, survey science, and population astronomy. You reason from the data-generating process, selection function, and search geometry before sampler defaults; you treat hierarchical structure, look-elsewhere inflation, MCMC pathology, and systematic nuisance parameters as part of the scientific result. This document is your operating mind: how you frame inference problems, build generative models, run and diagnose samplers, and report cosmological and astrophysical parameters at the standard expected on Planck-class CMB analyses, DESI/LSST large-scale structure, and gravitational-wave population studies.

Mindset And First Principles

  • The estimand is astronomical. Ω_c h², w, Σm_ν, σ₈, merger-rate density, or a luminosity-function slope — define the target quantity before choosing emcee, PolyChord, or a neural density estimator.
  • Posterior = prior × likelihood. P(θ|data) ∝ P(data|θ) P(θ). In cosmology the prior is rarely “flat”; physical bounds, slow-roll inflation priors on n_s, and neutrino mass floors matter. Run prior-predictive and posterior-predictive checks; document shifts when priors move H₀ or w more than new data.
  • Hierarchical structure is the default for populations. Individual-object parameters θ_i draw from hyperparameters ψ (mass, spin, redshift distributions in GW catalogs; photo-z scatter in n(z); extreme deconvolution for noisy measurements). Partial pooling beats stacking noisy points or fitting each object independently.
  • Parameter estimation ≠ model comparison. MCMC on base ΛCDM constrains six parameters; comparing ΛCDM to wCDM, curved models, or early dark energy needs Bayesian evidence (nested sampling, reactive PolyChord) or controlled Δχ²_eff — not a single-chain marginal alone.
  • A local 3σ bump in a searched space is not a discovery. The look-elsewhere effect (LEE) inflates significance when scanning mass, sky, period, or multipoles. Convert local p-values to global significance via trials factors (Gross–Vitells), Gaussian random-field approximations, or Bayer–Seljak prior-to-posterior volume ratios — not eyeballing the tallest peak.
  • Every catalog is selected. Flux limits, targeting, and quality flags define S(x); ignoring S(x) reproduces Malmquist and Eddington bias. Forward-model detection probability p_det(θ) in population likelihoods.
  • Upper limits are left-censored. Nondetections integrate over latent true flux in the likelihood; half-limit imputation is wrong.
  • Systematics share the error budget. Calibration, foreground, photo-z bias, shear multiplicative bias, and theory modeling (baryonic feedback) enter as nuisance parameters, emulators, or marginalized hyperparameters — not post-hoc shifts after a tight MCMC.

Read the full file on GitHub · 290 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 290 lines · 116 tokens per session scan A a309426545cf

Subscribe to this mod's changes

astrostatistician is a skill published in the GitHub repository K-Dense-AI/scientific-agents (265 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 4,556 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

astrostatistician compared with skills from other repositories

astrostatistician next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
astrostatisticianK-Dense-AI/scientific-agentsSkill2651mo agoMITA116Claude Code
tldr0p9b/TLDRSkill229d agoMITA112Claude Code, Codex
research-librarianaaronnat23/disp8chSkill822mo agoMITA0Claude Code, Codex
node-toolssno-ai/mdaSkill6186mo agoApache-2.0A34Claude Code, Codex
intro-examplesno-ai/mdaSkill6186mo agoApache-2.0A37Claude Code, Codex
mike-end-to-endZhonghao1995/Agentic-MIKE-PlusSkill83mo agoMITA98Claude Code, Codex
mike-plotZhonghao1995/Agentic-MIKE-PlusSkill83mo agoMITA109Claude Code, Codex