Logotipo de Distance Ladder

Distance Ladder

Comunidad
Tibsfox
distance-ladder

The cosmic distance ladder from radar ranging to Hubble flow. Covers parallax, spectroscopic parallax, cluster main-sequence fitting, Cepheid and RR Lyrae period-luminosity relations, Type Ia supernovae, Tully-Fisher, surface brightness fluctuation, and redshift-distance relations. Use when estimating, cross-checking, or critiquing any astronomical distance from a parsec to a gigaparsec.

Add to TypingMind

Descripción general

EditorTibsfox
Repositoriogsd-skill-creator
Nombre de la habilidaddistance-ladder
Estrellas
70
Forks
9
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Tibsfox en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Distance Ladder en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Tibsfox/gsd-skill-creator.git /tmp/gsd-skill-creator
mkdir -p .claude/skills
cp -r /tmp/gsd-skill-creator/examples/skills/astronomy/distance-ladder .claude/skills/distance-ladder
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Distance Ladder en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Distance Ladder automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Distance Ladder no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

The Cosmic Distance Ladder

There is no single method that measures every astronomical distance. Instead, astronomers chain methods into a ladder: each rung calibrates the next, and errors propagate with the chain. Radar pins down the Astronomical Unit. Parallax measures the nearest few thousand parsecs. Main-sequence fitting and spectroscopic parallax reach galactic-scale distances. Cepheids calibrate galaxies in the Local Group and beyond. Type Ia supernovae push to hundreds of megaparsecs. Redshift carries the rest. This skill covers each rung, what calibrates it, where the error bars live, and how to think critically about a claimed distance.

Agent affinity: hubble (extragalactic distances), rubin (rotation curves), payne-gaposchkin (spectroscopic parallax)

Concept IDs: astro-distance-ladder, astro-cepheid-variables, astro-hubbles-law

The Ladder, Top to Bottom

RungMethodTypical rangePrecisionCalibrated by
0Radar ranging (planets)AU scale10^-11Direct measurement
1Trigonometric parallax0 - 10 kpc (Gaia)10-100 microarcsecGeometric
2Spectroscopic parallax0 - 5 kpc~0.5 magMain sequence from parallax
3Main-sequence fitting0 - 100 kpc0.1-0.3 magParallax
4RR Lyrae0 - 100 kpc5-10%Parallax, MS fitting
5Cepheid period-luminosity0 - 30 Mpc5-10%Parallax, LMC distance
6Tip of the red giant branch (TRGB)0 - 20 Mpc5-10%Parallax, MS fitting
7Surface brightness fluctuation (SBF)0 - 200 Mpc5-15%Cepheids
8Tully-Fisher (spirals)0 - 200 Mpc15-20%Cepheids
9Fundamental Plane (ellipticals)0 - 200 Mpc15-20%SBF
10Type Ia supernovae1 Mpc - 3 Gpc5-7%Cepheids
11Hubble flow (z-d relation)> 100 Mpccosmology-dependentSN Ia + CMB

Each rung has standard candles or geometric measurements; each rung is calibrated against the one above it.

Rung 0 — Radar Ranging

The Astronomical Unit — Earth's mean distance to the Sun — is defined via radar ranging to Venus (first achieved by JPL in 1961) and other planets, combined with Kepler's third law. This gives AU to about 11 decimal places. All other distance scales in astronomy ultimately trace back to this number.

Rung 1 — Trigonometric Parallax

The cleanest distance method: measure the tiny annual ellipse a nearby star traces as Earth orbits the Sun. The parallax angle pi is defined as half the maximum angular displacement:

d (parsecs) = 1 / pi (arcseconds)

A parsec is the distance at which a baseline of 1 AU subtends 1 arcsec. The closest star, Proxima Centauri, has pi = 0.7687 arcsec, so d = 1.301 pc.

Historical. Friedrich Bessel measured the first stellar parallax (61 Cygni, 0.3136 arcsec) in 1838. The technique was limited by atmospheric seeing until space missions.

Hipparcos (1989-1993). ESA mission, milliarcsecond precision for about 100,000 stars, reaching out to about 100 pc with good accuracy.

Gaia (2013-present). ESA successor, microarcsecond precision for over 1.8 billion stars. Gaia DR3 (2022) reaches useful precision to about 10 kpc and pushes all subsequent ladder rungs to new precision.

Limits. At very small parallaxes (distant stars), systematic errors (Lutz-Kelker bias, selection effects) dominate.

Rung 2 — Spectroscopic Parallax

"Spectroscopic parallax" is a misleading name — it is not a parallax, it is a distance inferred from:

  1. The star's spectral type and luminosity class (from its spectrum).

  2. The absolute magnitude M that a star of that type typically has (calibrated from parallax-measured stars).

  3. The observed apparent magnitude m.

  4. The distance modulus formula:

    m - M = 5 * log10(d / 10 pc)

So d = 10^((m - M + 5) / 5) parsecs.

Error sources. The absolute magnitude of a spectral type has intrinsic scatter (roughly 0.5 mag for main-sequence dwarfs). Interstellar extinction reddens and dims the star — you must correct for A_V using the (B-V) color excess.

Range. Useful out to several kpc for bright stars. Pre-Gaia, this was the primary method for mapping the Milky Way beyond the local volume.

Rung 3 — Main-Sequence Fitting

For a star cluster, plot the color-magnitude diagram. Compare the cluster main sequence against a nearby cluster (the Hyades or the Pleiades) whose distance is known from parallax. The vertical shift needed to align the main sequences gives the distance modulus of the unknown cluster.

Strengths. Uses many stars, averaging down photometric errors. Independent of single-star peculiarities.

Weaknesses. Sensitive to metallicity (metal-rich stars are subtly redder and brighter), age (main-sequence turnoff shifts), and reddening.

Applications. Open clusters throughout the galactic disk. Globular clusters throughout the halo. Cross-checks on Cepheid distances via Cepheid-containing clusters.

Rung 4 — RR Lyrae Variables

RR Lyrae stars are horizontal-branch variables with periods of 0.2 to 1 day. They pulse regularly and have nearly constant absolute magnitudes (M_V approximately 0.6 with slight metallicity dependence). One RR Lyrae light curve gives the absolute magnitude; apparent magnitude + extinction correction gives the distance.

Strengths. Found in globular clusters and the galactic halo, reaching across the Milky Way and into the Magellanic Clouds.

Weaknesses. Intrinsically faint, so useful only out to about 100 kpc.

Rung 5 — Cepheid Period-Luminosity Relation

Henrietta Swan Leavitt discovered the Cepheid period-luminosity relation at Harvard in 1908-1912, working on photographic plates of the Small Magellanic Cloud. She found that the longer a Cepheid's period, the brighter it was. Because all the SMC Cepheids were at roughly the same distance, the pattern she saw was an intrinsic relation — not a distance artifact.

The relation:

M_V = a * log10(P / days) + b

with a slope around -2.8 and a zero point that depends on calibration. Modern calibrations (Freedman et al. 2001, Riess et al. 2019) refine a and b to a few percent.

Why Cepheids are gold. They are bright (up to 100,000 solar luminosities for long-period ones), reaching out to about 30 Mpc in the best cases. They are variable and easy to identify. Their periods are intrinsic clocks. They are the rung that connects parallax-measured nearby stars to galaxies.

Metallicity dependence. Metal-poor Cepheids (like those in the SMC) have slightly different zero points than metal-rich Cepheids (Milky Way disk). This is a few-percent systematic that matters at the precision frontier.

Edwin Hubble's use. In 1923-1924 Hubble identified Cepheids in the Andromeda Nebula (M31), measured their periods, applied Leavitt's relation, and concluded that M31 was a million light-years away — far outside the Milky Way. This settled the Great Debate of 1920 (Shapley vs. Curtis) about whether "spiral nebulae" were inside or outside the Milky Way.

Rung 6 — Tip of the Red Giant Branch (TRGB)

Red giant stars climb the red giant branch in the HR diagram until they experience the helium flash at a sharply defined luminosity — the "tip." The absolute magnitude at the tip is nearly constant (M_I around -4.0) with weak metallicity dependence.

Use. Deep photometry of a galaxy's stellar population reveals the RGB tip as a sudden cutoff in the luminosity function. Its apparent magnitude gives the distance.

Strengths. Independent of variability. Works in old stellar populations where Cepheids are absent. Applicable to early-type galaxies.

Recent prominence. TRGB has been used as a cross-check on Cepheid distances in the Hubble tension debate — giving values of H_0 that sit between the Cepheid-based and CMB-based extremes.

Rung 7 — Surface Brightness Fluctuation (SBF)

Developed by Tonry and Schneider (1988). A galaxy's integrated light comes from individual stars that are unresolved. Pixel-to-pixel fluctuations in surface brightness are higher where fewer stars contribute per pixel — i.e., in more distant galaxies. Specifically, the amplitude of pixel fluctuations scales as sqrt(1/N) where N is the number of stars per pixel, and the inferred "fluctuation star magnitude" gives the distance.

Use. Elliptical galaxies out to 100-200 Mpc. Calibrated against Cepheid distances in galaxies that have both methods applicable.

Rung 8 — Tully-Fisher

Tully and Fisher (1977) showed that spiral galaxies obey a power-law relation between their luminosity and their rotation velocity:

L proportional to v_max^alpha

with alpha around 4 for the B band and around 3.5 for I. Measure v_max from 21 cm HI line width, combine with a measurement of apparent magnitude, and you have the distance.

Use. Spiral galaxies out to about 200 Mpc. Good enough for large-scale structure surveys.

Rung 9 — Fundamental Plane

The elliptical-galaxy analog of Tully-Fisher. Elliptical galaxies occupy a two-dimensional plane in the three-dimensional space of (effective radius, central velocity dispersion, surface brightness). Measuring two of these three coordinates gives the distance.

Rung 10 — Type Ia Supernovae

A Type Ia supernova is the thermonuclear detonation of a white dwarf that approaches the Chandrasekhar mass. Because the trigger mass is physically determined, Type Ia SNe are standardizable candles — not perfectly standard, but with a known relation between peak brightness and light-curve shape (the Phillips relation).

Procedure.

  1. Observe the supernova light curve in multiple bands.
  2. Fit the shape; apply the Phillips correction.
  3. Extract the peak absolute magnitude.
  4. Combine with apparent peak magnitude to get distance modulus.

Range. From about 1 Mpc to several Gpc. Type Ia SNe are the primary extragalactic distance indicator for cosmological work.

History. The use of Type Ia SNe by the High-Z Supernova Team (Riess et al. 1998) and the Supernova Cosmology Project (Perlmutter et al. 1999) led to the discovery of accelerating cosmic expansion — the evidence for dark energy — and the 2011 Nobel Prize in Physics.

Rung 11 — Hubble Flow

For distances much larger than the Local Group, recession velocity (measured from redshift) is approximately proportional to distance:

v = H_0 * d

where H_0 is the Hubble constant — currently measured to about 70 +/- 2 km/s/Mpc depending on method. At sufficient distances, redshift itself becomes a distance estimator, subject to the assumed cosmological model.

The Hubble tension. Different distance-ladder methods give slightly different values of H_0:

  • Cepheid + SN Ia (local): around 73 km/s/Mpc
  • CMB + Lambda-CDM (early-universe): around 67 km/s/Mpc
  • TRGB + SN Ia: around 70 km/s/Mpc

The 4-5 sigma discrepancy between local and early-universe measurements is the Hubble tension, an active research puzzle at the frontier of precision cosmology.

Error Propagation

The distance ladder is a chain. Errors at each rung propagate multiplicatively:

sigma_total^2 = sum of (sigma_i / d_i)^2 in quadrature

A 5% error on parallax, 5% on Cepheid calibration, 5% on Cepheid-to-SN Ia calibration, and 5% on SN Ia standardization compound. The entire ladder from parallax to the cosmological horizon carries roughly 5-10% systematic uncertainty end-to-end.

This is why Gaia matters. Tightening rung 1 (parallax) by an order of magnitude tightens every subsequent rung, because every other rung is calibrated against rung 1.

Strategy Selection Heuristics

SituationMethod
Distance to a star within 10 kpcGaia parallax
Distance to a clusterMain-sequence fitting or TRGB
Distance to a galaxy in the Local GroupCepheids, RR Lyrae, or TRGB
Distance to an elliptical out to 200 MpcSBF or Fundamental Plane
Distance to a spiral out to 200 MpcTully-Fisher
Distance beyond 200 MpcType Ia SN, redshift
Distance to a QSO at z = 2Redshift with cosmological model

When to Doubt a Distance

  • Extinction uncorrected. Reddening from interstellar dust systematically underestimates distance (stars look dimmer, which reads as "farther," except the color also reddens — catch the inconsistency).
  • Metallicity mismatch. Calibration sample has different composition from target (affects Cepheids, RR Lyrae, TRGB).
  • Systematic in the calibration rung. If rung N has a 10% systematic, every rung below it inherits it.
  • Unverified standard. Is the object really a standard candle? Type Ia SNe do have subclasses; Cepheids come in overtones as well as fundamentals.
  • Selection bias. Lutz-Kelker effect — stars selected by "small parallax" tend to have their parallaxes overestimated on average.

Common Mistakes

MistakeWhy it failsFix
Using Hubble flow for nearby galaxiesPeculiar velocities dominateUse Cepheids or TF/FP for d < 50 Mpc
Treating d = 1/pi naively with noisy piErrors in 1/pi are not symmetricFit in parallax space, not distance space
Ignoring metallicity in PL relationsMetal-poor Cepheids have different zero pointApply metallicity correction
Over-trusting one SNType Ia scatter is realUse large samples
Combining inconsistent H_0 valuesDifferent systematicsState which ladder was used

Cross-References

  • hubble agent: The observational cosmology chair whose original work launched the modern extragalactic distance scale.
  • payne-gaposchkin agent: Spectroscopic parallax and stellar luminosity calibration.
  • rubin agent: Rotation-curve work depends on accurate Tully-Fisher calibration.
  • stellar-spectroscopy skill: Spectral classification feeds spectroscopic parallax.
  • cosmological-observation skill: The cosmological rungs and Hubble tension in context.

References

  • Leavitt, H. S., & Pickering, E. C. (1912). "Periods of 25 variable stars in the Small Magellanic Cloud." Harvard College Observatory Circular, 173.
  • Hubble, E. (1929). "A relation between distance and radial velocity among extra-galactic nebulae." PNAS, 15, 168.
  • Freedman, W. L., et al. (2001). "Final results from the Hubble Space Telescope Key Project to measure the Hubble constant." ApJ, 553, 47.
  • Riess, A. G., et al. (2022). "A comprehensive measurement of the local value of the Hubble constant." ApJL, 934, L7.
  • Perlmutter, S., et al. (1999). "Measurements of Omega and Lambda from 42 high-redshift supernovae." ApJ, 517, 565.
  • Gaia Collaboration (2023). "Gaia DR3: Summary of the content and survey properties." A&A, 674, A1.
  • Tully, R. B., & Fisher, J. R. (1977). "A new method of determining distances to galaxies." A&A, 54, 661.

Preguntas frecuentes

¿Qué hace la habilidad de IA Distance Ladder?

The cosmic distance ladder from radar ranging to Hubble flow. Covers parallax, spectroscopic parallax, cluster main-sequence fitting, Cepheid and RR Lyrae period-luminosity relations, Type Ia supernovae, Tully-Fisher, surface brightness fluctuation, and redshift-distance relations. Use when estimating, cross-checking, or critiquing any astronomical distance from a parsec to a gigaparsec.

¿Por qué usar Distance Ladder en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Distance Ladder está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Distance Ladder en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Distance Ladder?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Distance Ladder?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Distance Ladder con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Distance Ladder?

Tibsfox la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio
Logotipo de CherryHQ

Cherry Skill Marketplace

CherryHQ
OrganizaciónPopular

当用户明确要求搜索、安装、查看、卸载或创建 Skill,或内置 Skill / 工具出现能力缺口、无法完成当前任务时触发。通过 `mcp__skills__search_skills` 搜索并用 `mcp__skills__install_skill` 安装;已安装 Skill 的查看和删除通过产品清单导航到 Skills UI;没有合适结果时调用内置 `skill-creator`…

5.1K
52.5K
Instrucciones
Ver
Logotipo de CherryHQ

Faq Collector

CherryHQ
OrganizaciónPopular

将成功解决的用户问题收录到 FAQ 知识库。问题解决后自动判断是否收录。也可以在用户说"收录到 FAQ"、"记录这个问题"、"add to FAQ"时手动触发。

5.1K
52.5K
Instrucciones
Ver
Logotipo de CherryHQ

Issue Reporter

CherryHQ
OrganizaciónPopular

只在用户明确要求提交 GitHub Issue、GitHub Bug Report 或 GitHub Feature Request 时使用。用户只说“提交问题”“提交反馈”“上报 bug”“这是个 bug”或描述功能建议但未点名 GitHub 时不得触发,必须改用 cherry-studio-feedback 并默认提交飞书。

5.1K
52.5K
Instrucciones
Ver
Logotipo de CherryHQ

Skills Manager

CherryHQ
OrganizaciónPopular

搜索、安装和协调创建 Claude Code Agent Skills。当用户想要搜索技能、安装工具、创建自定义 Skill,或者说"find a skill"、"搜索技能"、"帮我做个 skill"、"create a skill"时触发。也适用于用户说"有没有做 X 的工具"、"我想扩展 Agent 能力",或当前能力不足需要先查找可复用方案的场景。

5.1K
52.5K
Instrucciones
Ver

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇