Логотип Distance Ladder

Distance Ladder

Сообщество
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

Обзор

ИздательTibsfox
Репозиторийgsd-skill-creator
Название навыкаdistance-ladder
Звёзды
70
Форки
9
Файлы в комплекте
Только инструкции
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — Tibsfox. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Distance Ladder в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Distance Ladder в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Distance Ladder, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Distance Ladder не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Distance Ladder в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Distance Ladder — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Distance Ladder в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Tibsfox/gsd-skill-creator/tree/main/examples/skills/astronomy/distance-ladder. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Distance Ladder?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Distance Ladder?

С любым количеством. В TypingMind вы можете использовать Distance Ladder с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Distance Ladder?

Навык опубликован на GitHub. Издатель — Tibsfox. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип CherryHQ

Cherry Skill Marketplace

CherryHQ
ОрганизацияПопулярный

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

5.1K
52.5K
Инструкции
Открыть
Логотип CherryHQ

Faq Collector

CherryHQ
ОрганизацияПопулярный

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

5.1K
52.5K
Инструкции
Открыть
Логотип CherryHQ

Issue Reporter

CherryHQ
ОрганизацияПопулярный

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

5.1K
52.5K
Инструкции
Открыть
Логотип CherryHQ

Skills Manager

CherryHQ
ОрганизацияПопулярный

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

5.1K
52.5K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇