Logo von Distance Ladder

Distance Ladder

Community
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

Übersicht

HerausgeberTibsfox
Repositorygsd-skill-creator
Skill-Namedistance-ladder
Sterne
70
Forks
9
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von Tibsfox auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Distance Ladder in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Distance Ladder in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Distance Ladder automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Distance Ladder nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Distance Ladder in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Distance Ladder besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Distance Ladder in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Distance Ladder nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Distance Ladder verwenden?

So viele Sie möchten. In TypingMind können Sie Distance Ladder mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Distance Ladder kostenlos?

Der Skill wird von Tibsfox auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen
Logo von CherryHQ

Cherry Skill Marketplace

CherryHQ
OrganisationBeliebt

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

5.1K
52.5K
Anweisungen
Anzeigen
Logo von CherryHQ

Faq Collector

CherryHQ
OrganisationBeliebt

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

5.1K
52.5K
Anweisungen
Anzeigen
Logo von CherryHQ

Issue Reporter

CherryHQ
OrganisationBeliebt

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

5.1K
52.5K
Anweisungen
Anzeigen
Logo von CherryHQ

Skills Manager

CherryHQ
OrganisationBeliebt

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

5.1K
52.5K
Anweisungen
Anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇