KosmoKrator

data

Celestial CLI for AI Agents

Use the Celestial CLI from KosmoKrator to call Celestial tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Celestial CLI Setup

Celestial can be configured headlessly with `kosmokrator integrations:configure celestial`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure celestial --enable --read allow --write ask --json
kosmokrator integrations:doctor celestial --json
kosmokrator integrations:status --json

Credentials

Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call celestial.celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json
Provider shortcut
kosmo integrations:celestial celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs celestial --json
kosmo integrations:docs celestial.celestial_moon_phase --json
kosmo integrations:schema celestial.celestial_moon_phase --json
kosmo integrations:search "Celestial" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

celestial.celestial_moon_phase

Get current moon phase, illumination percentage, age, zodiac sign, and dates of next new/full moon.

Read read
Parameters
date, timezone
Generic call
kosmo integrations:call celestial.celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json
Shortcut
kosmo integrations:celestial celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_sun_info

Get sunrise/sunset times, solar altitude/azimuth, twilight phase, day length, and zodiac position for a location.

Read read
Parameters
latitude, longitude, date, timezone
Generic call
kosmo integrations:call celestial.celestial_sun_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json
Shortcut
kosmo integrations:celestial celestial_sun_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_moon_info

Get moon position, illumination, and visibility from a specific location.

Read read
Parameters
latitude, longitude, date, timezone
Generic call
kosmo integrations:call celestial.celestial_moon_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json
Shortcut
kosmo integrations:celestial celestial_moon_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_planet_position

Get planet altitude/azimuth, zodiac position, and rise/set times. Set planet to "all" for an overview of all planets.

Read read
Parameters
latitude, longitude, planet, date, timezone
Generic call
kosmo integrations:call celestial.celestial_planet_position '{"latitude":1,"longitude":1,"planet":"example_planet","date":"example_date","timezone":"example_timezone"}' --json
Shortcut
kosmo integrations:celestial celestial_planet_position '{"latitude":1,"longitude":1,"planet":"example_planet","date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_solar_eclipse

Get solar eclipse data for a specific date and location — eclipse type, obscuration, contacts, and magnitude.

Read read
Parameters
date, latitude, longitude
Generic call
kosmo integrations:call celestial.celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json
Shortcut
kosmo integrations:celestial celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json

celestial.celestial_lunar_eclipse

Get lunar eclipse data for a specific date — eclipse type, magnitude, gamma, contact times (P1-P4, U1-U4), and semi-durations.

Read read
Parameters
date
Generic call
kosmo integrations:call celestial.celestial_lunar_eclipse '{"date":"example_date"}' --json
Shortcut
kosmo integrations:celestial celestial_lunar_eclipse '{"date":"example_date"}' --json

celestial.celestial_night_sky

Get what's visible in the night sky right now: sun/moon/planet positions, darkness level, and stargazing quality for a location.

Read read
Parameters
latitude, longitude, timezone
Generic call
kosmo integrations:call celestial.celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json
Shortcut
kosmo integrations:celestial celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json

celestial.celestial_zodiac_report

Get all celestial bodies mapped to zodiac signs with alignments for a given date.

Read read
Parameters
date
Generic call
kosmo integrations:call celestial.celestial_zodiac_report '{"date":"example_date"}' --json
Shortcut
kosmo integrations:celestial celestial_zodiac_report '{"date":"example_date"}' --json

celestial.celestial_time_info

Get astronomical time data — Julian Day, sidereal time (GMST/GAST), and equation of time.

Read read
Parameters
date
Generic call
kosmo integrations:call celestial.celestial_time_info '{"date":"example_date"}' --json
Shortcut
kosmo integrations:celestial celestial_time_info '{"date":"example_date"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

celestial.celestial_moon_phase 2 parameters
Schema command
kosmo integrations:schema celestial.celestial_moon_phase --json
ParameterTypeRequiredDescription
date string no ISO date or datetime (e.g. '2024-06-15' or '2024-06-15 22:00:00'). Defaults to now.
timezone string no Timezone for display (e.g. 'Europe/Amsterdam'). Defaults to org timezone.
celestial.celestial_sun_info 4 parameters
Schema command
kosmo integrations:schema celestial.celestial_sun_info --json
ParameterTypeRequiredDescription
latitude number yes Observer latitude (-90 to 90).
longitude number yes Observer longitude (-180 to 180).
date string no ISO date or datetime (e.g. '2024-06-15'). Defaults to now.
timezone string no Timezone for display (e.g. 'Europe/Amsterdam'). Defaults to org timezone.
celestial.celestial_moon_info 4 parameters
Schema command
kosmo integrations:schema celestial.celestial_moon_info --json
ParameterTypeRequiredDescription
latitude number yes Observer latitude (-90 to 90).
longitude number yes Observer longitude (-180 to 180).
date string no ISO date or datetime (e.g. '2024-06-15'). Defaults to now.
timezone string no Timezone for display (e.g. 'Europe/Amsterdam'). Defaults to org timezone.
celestial.celestial_planet_position 5 parameters
Schema command
kosmo integrations:schema celestial.celestial_planet_position --json
ParameterTypeRequiredDescription
latitude number yes Observer latitude (-90 to 90).
longitude number yes Observer longitude (-180 to 180).
planet string no Planet name: 'mercury', 'venus', 'mars', 'jupiter', 'saturn', 'uranus', 'neptune', or 'all' (default).
date string no ISO date or datetime (e.g. '2024-06-15'). Defaults to now.
timezone string no Timezone for display (e.g. 'Europe/Amsterdam'). Defaults to org timezone.
celestial.celestial_solar_eclipse 3 parameters
Schema command
kosmo integrations:schema celestial.celestial_solar_eclipse --json
ParameterTypeRequiredDescription
date string yes ISO date (e.g. '2024-04-08'). Defaults to today.
latitude number yes Observer latitude (-90 to 90).
longitude number yes Observer longitude (-180 to 180).
celestial.celestial_lunar_eclipse 1 parameters
Schema command
kosmo integrations:schema celestial.celestial_lunar_eclipse --json
ParameterTypeRequiredDescription
date string yes ISO date (e.g. '2024-09-18'). Defaults to today.
celestial.celestial_night_sky 3 parameters
Schema command
kosmo integrations:schema celestial.celestial_night_sky --json
ParameterTypeRequiredDescription
latitude number yes Observer latitude (-90 to 90).
longitude number yes Observer longitude (-180 to 180).
timezone string no Timezone for display (e.g. 'Europe/Amsterdam'). Defaults to org timezone.
celestial.celestial_zodiac_report 1 parameters
Schema command
kosmo integrations:schema celestial.celestial_zodiac_report --json
ParameterTypeRequiredDescription
date string no ISO date or datetime (e.g. '2024-06-15'). Defaults to now.
celestial.celestial_time_info 1 parameters
Schema command
kosmo integrations:schema celestial.celestial_time_info --json
ParameterTypeRequiredDescription
date string no ISO date or datetime (e.g. '2024-06-15'). Defaults to now.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.