Logo: Astro Observation Planner

Astro Observation Planner

Organisatioun
WolframResearch
astro-observation-planner

Use this skill when both of these are present: (1) a night or time reference — "tonight", "tomorrow", "this weekend", "Saturday night", or any specific date; (2) observing intent — stargazing, skywatching, telescope or binocular use, wanting to know what's visible or "up", asking whether a specific object (planet, galaxy, nebula, cluster) can be seen, or planning any kind of sky-watching session. None of these needs to be stated formally — "what's up from Austin tonight" and "going skywatching in Champaign tomorrow" both qualify. Outputs twilight windows, Moon phase, planetary visibility, and a filtered deep-sky catalog. Do not trigger for general astronomy education, equipment setup, or conceptual questions lacking location + night + observing intent.

Iwwersiicht

EditeurWolframResearch
Repositoryskills
Skill-Nummastro-observation-planner
Stären
20
Forks
1
Matgeliwwert Dateien
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    WolframResearch huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Astro Observation Planner an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/WolframResearch/skills/tree/main/skills/astro-observation-planner
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WolframResearch/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/astro-observation-planner .claude/skills/astro-observation-planner
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Astro Observation Planner an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Astro Observation Planner automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Astro Observation Planner net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Astronomical Observation Planner

Produces a four-part observation plan: twilight window, Moon summary, planetary visibility, and a deep-sky object table. Display each part to the user as soon as it is computed — do not wait for all four parts before showing anything. The DSO query in Part 4 can take a minute or more.

Step 0 — Confirm location and date

Location

  • If the user gives a location explicitly, use it and proceed.
  • If not, you may have an approximate location from context. Always tell the user what location you are using and note that inferred locations may not be precise — ask if they'd like to specify a city or coordinates. Never silently use an inferred location; precision matters for rise/set times.

Date

  • Default to today if the user says "tonight" or gives no date.
  • Use the date the user specifies for future or past nights.

Display timezone

Sunrise/Sunset embed the kernel's UTC offset in returned times. Ask the user: "What timezone are you in?" (or infer it from the observation location if they are observing from where they are). Then set:

wl
$AstroDisplayTZ = "America/New_York"  (* IANA name — handles DST automatically *)
(* or a numeric UTC offset: $AstroDisplayTZ = -4 *)

If the user's timezone matches the kernel's, leave it as None. All time formatting functions read this variable automatically. Note: WL's built-in $TimeZone takes a numeric offset and is unrelated — setting it does not reformat times already returned by Sunrise/Sunset.

Parameters

Part 4 (deep-sky objects) is optional. The DSO query takes 1–2 minutes and can return hundreds of results, which may consume significant tokens on lower-tier plans. Ask the user whether they want it — Parts 1–3 (twilight, Moon, planets) run quickly and may be sufficient.

If the user wants Part 4, confirm:

  • Equipment / sky conditions (sets the magnitude limit):
    • Naked eye, dark skies: ~6 | Naked eye, suburban: ~4
    • Binoculars: ~9 | Small telescope (4–6"): ~11 | Large telescope (8"+): ~13
  • Minimum altitude: default 10° — adjust if the user has a specific horizon constraint.

Object types are fixed: galaxies, star clusters, nebulae.

Output format

All function results return Associations with string keys and plain string/number values. Choose format before computing:

  • Wolfram Notebook / Desktop — Dataset[rows] renders natively
  • Chat interface — ExportString[Dataset[rows], "Markdown"] produces a clean Markdown table (all values are already plain strings — no conversion needed)
  • HTML report — build a styled HTML string and CloudDeploy it

Step 1 — Load the implementation

First, determine kernel persistence. Run this probe as a single evaluator call:

wl
$testPersistence = "alive"; $testPersistence

Then immediately run a second call:

wl
$testPersistence
  • If the second call returns "alive" → kernel is persistent. Load once at the start; definitions persist for all subsequent calls.
  • If the second call returns $testPersistence unevaluated or raises an undefined-symbol warning → kernel is stateless. Prepend the relevant Get call(s) to the top of every evaluator call that uses them.

Load the core file (shared helpers + Parts 1–3) with:

wl
Get["https://raw.githubusercontent.com/WolframResearch/skills/main/skills/astro-observation-planner/references/astro-observation-core.wl"]

If the user confirmed they want Part 4 (deep-sky objects) in Step 0, also load:

wl
Get["https://raw.githubusercontent.com/WolframResearch/skills/main/skills/astro-observation-planner/references/astro-observation-dso.wl"]

No internet access: if the kernel cannot reach the URLs, read references/astro-observation-core.wl (and references/astro-observation-dso.wl if Part 4 is needed) from this skill's directory and evaluate their contents instead.

astro-observation-core.wl defines: $AstroDisplayTZ, AstroTimeStr, AstroDateTimeStr, AstroAltStr, AstroMagStr, AstroDurStr, AstroInWindow, AstroTwilightSummary, AstroMoonSummary, AstroPlanetTable.
astro-observation-dso.wl defines: AstroDSOTable and its internal helpers iAstroDSONormalize, iAstroDSOVisibleQ, iAstroDSOClassify.

In a stateless kernel, prepend the relevant Get[...] call(s) to each evaluator call below.

Step 2 — Run each part in sequence

Call these functions in order. After each part, paste the Markdown string returned by ExportString directly into your response — do not leave it as WL kernel output. Pass part["Rows"] directly to Dataset; do not unpack or reconstruct rows manually.

Part 1: Twilight summary

wl
part1 = AstroTwilightSummary[loc, observeDate];
ExportString[Dataset[part1["Rows"]], "Markdown"]

Paste the result into your response. If part1["NoAstroDark"] is True, tell the user there is no astronomical darkness tonight (common at high latitudes in summer) and offer to continue with nautical twilight as the dark window. Do not proceed with Parts 2–4 using Missing["NoAstronomicalDark"] as the dusk/dawn values — ask the user if they want to continue.

Part 2: Moon summary

wl
part2 = AstroMoonSummary[loc, observeDate, part1["AstroDusk"], part1["AstroDawn"]];
ExportString[Dataset[part2["Rows"]], "Markdown"]

Paste the result into your response. Note whether the Moon sets during the session (part2["MoonSet"] is a DateObject) or is up all night (Missing). If the Moon is >50% illuminated and up during prime hours, mention the impact on deep-sky visibility.

Part 3: Planetary visibility

wl
part3 = AstroPlanetTable[loc, observeDate, part1["AstroDusk"], part1["AstroDawn"]];
ExportString[Dataset[part3], "Markdown"]

Paste the result into your response. Call out any bright planets (mag < 0) or planets visible for most of the session.

Part 4: Deep-sky objects

Only run Part 4 if the user confirmed they want deep-sky objects in Step 0. If they did not, skip this section entirely.

wl
part4 = AstroDSOTable[loc, observeDate, part1["AstroDusk"], part1["AstroDawn"]];

This query takes 1–2 minutes. Tell the user it's running. When complete, paste each table into your response:

wl
(* Top 25 by set time — catch them before they set *)
ExportString[Dataset[Take[part4["Rows"], 25]], "Markdown"]
(* Up-all-night highlights — brightest objects with Set = "Up until dawn" *)
upAllNight = Select[part4["Rows"], #["Set"] === "Up until dawn" &];
ExportString[Dataset[Take[SortBy[upAllNight, #["Mag"] &], 15]], "Markdown"]

Also report: total visible objects, breakdown by type, how many set during the session vs up all night.

Notes

Resolving locations. Always use \[FreeformPrompt]["city name"] to obtain the correct entity — never write Entity[...] by hand. If the result is ambiguous or fails with Sunrise/Sunset, fall back to GeoPosition[{lat, lon}] — all functions accept either form.

Times display in kernel timezone unless $AstroDisplayTZ is set in Step 0. Sunrise/Sunset return times in the kernel's timezone; setting $AstroDisplayTZ to the user's timezone string (e.g. "Europe/London") causes all AstroTimeStr/AstroDateTimeStr calls to convert automatically.

Rise/set label meanings in the DSO table (times are LST-derived, session-relative):

  • "Already up" — object was above the horizon when astronomical dark began
  • "Up until dawn" — object does not set before astronomical dawn
  • A clock time — the object rises or sets during the session window

Planet table shows actual M/D HH:MM (24h) rise and set times regardless of whether they fall inside the dark window. Planets are sorted by session set time so in-window planets appear first; planets that set before dark or rise after dawn appear at the bottom with their real times.

Optional: Shareable output

After generating the plan, offer the user one of the following depending on their preference:

Recomputable cloud notebook — build a Notebook[{cells...}] expression with a Get cell to load the functions and one cell per part, then deploy:

wl
CloudDeploy[
  Notebook[{
    Cell["Observation Plan — <location> — <date>", "Title"],
    Cell[BoxData["Get[\"https://raw.githubusercontent.com/WolframResearch/skills/main/skills/astro-observation-planner/references/astro-observation-core.wl\"]"], "Input"],
    (* Include the DSO Get cell only if Part 4 was requested *)
    Cell[BoxData["Get[\"https://raw.githubusercontent.com/WolframResearch/skills/main/skills/astro-observation-planner/references/astro-observation-dso.wl\"]"], "Input"],
    Cell[BoxData["part1 = AstroTwilightSummary[loc, observeDate]"], "Input"],
    (* ... one Input cell per part ... *)
  }],
  Permissions -> "Public"
]

Returns a URL anyone can open and re-evaluate.

Shareable HTML report — build a styled HTML string and deploy:

wl
CloudDeploy[ExportForm[htmlString, "HTML"], Permissions -> "Public"]

Returns a URL to a static page — no WL kernel required to view.

Local file — if cloud deployment is unavailable, offer to produce a Markdown summary or notebook file the user can save or deploy themselves.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Astro Observation Planner?

Use this skill when both of these are present: (1) a night or time reference — "tonight", "tomorrow", "this weekend", "Saturday night", or any specific date; (2) observing intent — stargazing, skywatching, telescope or binocular use, wanting to know what's visible or "up", asking whether a specific object (planet, galaxy, nebula, cluster) can be seen, or planning any kind of sky-watching session. None of these needs to be stated formally — "what's up from Austin tonight" and "going skywatching in Champaign tomorrow" both qualify. Outputs twilight windows, Moon phase, planetary visibility, a...

Firwat Astro Observation Planner op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Astro Observation Planner besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Astro Observation Planner an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/WolframResearch/skills/tree/main/skills/astro-observation-planner an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Astro Observation Planner benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Astro Observation Planner benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Astro Observation Planner domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Astro Observation Planner gratis?

Jo. WolframResearch huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇