KosmoKrator

data

Celestial CLI for Shell Scripts

Use the Celestial CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

9 functions 9 read 0 write No credentials auth

Celestial CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The Celestial CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Celestial CLI for Shell Scripts
kosmokrator integrations:configure celestial --enable --read allow --write ask --json
kosmo integrations:call celestial.celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json

Discovery Before Execution

Agents and scripts can inspect Celestial docs and schemas 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

Useful Celestial CLI Functions

FunctionTypeParametersDescription
celestial.celestial_moon_phase Read date, timezone Get current moon phase, illumination percentage, age, zodiac sign, and dates of next new/full moon.
celestial.celestial_sun_info Read latitude, longitude, date, timezone Get sunrise/sunset times, solar altitude/azimuth, twilight phase, day length, and zodiac position for a location.
celestial.celestial_moon_info Read latitude, longitude, date, timezone Get moon position, illumination, and visibility from a specific location.
celestial.celestial_planet_position Read latitude, longitude, planet, date, timezone Get planet altitude/azimuth, zodiac position, and rise/set times. Set planet to "all" for an overview of all planets.
celestial.celestial_solar_eclipse Read date, latitude, longitude Get solar eclipse data for a specific date and location — eclipse type, obscuration, contacts, and magnitude.
celestial.celestial_lunar_eclipse Read date Get lunar eclipse data for a specific date — eclipse type, magnitude, gamma, contact times (P1-P4, U1-U4), and semi-durations.
celestial.celestial_night_sky Read latitude, longitude, timezone Get what's visible in the night sky right now: sun/moon/planet positions, darkness level, and stargazing quality for a location.
celestial.celestial_zodiac_report Read date Get all celestial bodies mapped to zodiac signs with alignments for a given date.
celestial.celestial_time_info Read date Get astronomical time data — Julian Day, sidereal time (GMST/GAST), and equation of time.

Automation Notes

Related Celestial CLI Pages