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.

9 functions 9 read 0 write No credentials auth

Celestial CLI Setup

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

# 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 use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

No credentials are required.

Call Celestial Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

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

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:celestial celestial_moon_phase '{
  "date": "example_date",
  "timezone": "example_timezone"
}' --json

Agent Discovery Commands

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

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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Celestial.

celestial.celestial_moon_phase

Read read

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

Parameters
date, timezone

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

celestial.celestial_sun_info

Read read

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

Parameters
latitude, longitude, date, timezone

Generic CLI call

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

Provider shortcut

kosmo integrations:celestial celestial_sun_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_moon_info

Read read

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

Parameters
latitude, longitude, date, timezone

Generic CLI call

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

Provider shortcut

kosmo integrations:celestial celestial_moon_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json

celestial.celestial_planet_position

Read read

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

Parameters
latitude, longitude, planet, date, timezone

Generic CLI call

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

Provider 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

Read read

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

Parameters
date, latitude, longitude

Generic CLI call

kosmo integrations:call celestial.celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json

Provider shortcut

kosmo integrations:celestial celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json

celestial.celestial_lunar_eclipse

Read read

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

Parameters
date

Generic CLI call

kosmo integrations:call celestial.celestial_lunar_eclipse '{"date":"example_date"}' --json

Provider shortcut

kosmo integrations:celestial celestial_lunar_eclipse '{"date":"example_date"}' --json

celestial.celestial_night_sky

Read read

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

Parameters
latitude, longitude, timezone

Generic CLI call

kosmo integrations:call celestial.celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json

Provider shortcut

kosmo integrations:celestial celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json

celestial.celestial_zodiac_report

Read read

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

Parameters
date

Generic CLI call

kosmo integrations:call celestial.celestial_zodiac_report '{"date":"example_date"}' --json

Provider shortcut

kosmo integrations:celestial celestial_zodiac_report '{"date":"example_date"}' --json

celestial.celestial_time_info

Read read

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

Parameters
date

Generic CLI call

kosmo integrations:call celestial.celestial_time_info '{"date":"example_date"}' --json

Provider 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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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.