data
Celestial CLI for CI
Use the Celestial CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
9 functions 9 read 0 write No credentials auth
Celestial CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. 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 CI
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
| Function | Type | Parameters | Description |
|---|---|---|---|
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
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.