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.
date, timezone kosmo integrations:call celestial.celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json copy kosmo integrations:celestial celestial_moon_phase '{"date":"example_date","timezone":"example_timezone"}' --json copy
celestial.celestial_sun_info Read read Get sunrise/sunset times, solar altitude/azimuth, twilight phase, day length, and zodiac position for a location.
latitude, longitude, date, timezone kosmo integrations:call celestial.celestial_sun_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json copy kosmo integrations:celestial celestial_sun_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json copy
celestial.celestial_moon_info Read read Get moon position, illumination, and visibility from a specific location.
latitude, longitude, date, timezone kosmo integrations:call celestial.celestial_moon_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json copy kosmo integrations:celestial celestial_moon_info '{"latitude":1,"longitude":1,"date":"example_date","timezone":"example_timezone"}' --json copy
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.
latitude, longitude, planet, date, timezone kosmo integrations:call celestial.celestial_planet_position '{"latitude":1,"longitude":1,"planet":"example_planet","date":"example_date","timezone":"example_timezone"}' --json copy kosmo integrations:celestial celestial_planet_position '{"latitude":1,"longitude":1,"planet":"example_planet","date":"example_date","timezone":"example_timezone"}' --json copy
celestial.celestial_solar_eclipse Read read Get solar eclipse data for a specific date and location — eclipse type, obscuration, contacts, and magnitude.
date, latitude, longitude kosmo integrations:call celestial.celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json copy kosmo integrations:celestial celestial_solar_eclipse '{"date":"example_date","latitude":1,"longitude":1}' --json copy
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.
date kosmo integrations:call celestial.celestial_lunar_eclipse '{"date":"example_date"}' --json copy kosmo integrations:celestial celestial_lunar_eclipse '{"date":"example_date"}' --json copy
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.
latitude, longitude, timezone kosmo integrations:call celestial.celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json copy kosmo integrations:celestial celestial_night_sky '{"latitude":1,"longitude":1,"timezone":"example_timezone"}' --json copy
celestial.celestial_zodiac_report Read read Get all celestial bodies mapped to zodiac signs with alignments for a given date.
date kosmo integrations:call celestial.celestial_zodiac_report '{"date":"example_date"}' --json copy kosmo integrations:celestial celestial_zodiac_report '{"date":"example_date"}' --json copy
celestial.celestial_time_info Read read Get astronomical time data — Julian Day, sidereal time (GMST/GAST), and equation of time.
date kosmo integrations:call celestial.celestial_time_info '{"date":"example_date"}' --json copy kosmo integrations:celestial celestial_time_info '{"date":"example_date"}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_moon_phase --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_sun_info --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_moon_info --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_planet_position --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_solar_eclipse --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_lunar_eclipse --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_night_sky --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_zodiac_report --json
Operation Read read
Schema command kosmo integrations:schema celestial.celestial_time_info --json 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.