sun-and-moon
Get sunrise, sunset, golden hour, day length, and moon phase for any location with zero API keys — sunrise-sunset.org and Open-Meteo via curl, times converted to local. Use when asked when is sunset today, golden hour for a photo shoot, how long is the day, what's the moon phase tonight, or sun times for a date and place. Produces the sun/moon times in the user's local zone (the UTC trap handled), the photography windows, and the rerunnable command.
npx skills add mohitagw15856/pm-claude-skills --skill sun-and-moon --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Sun and Moon Skill Sunset time drives photo shoots, hikes, drone flights, fasting schedules, and the eternal "do we have time before dark" — and two keyless services answer it for any coordinates and date. This skill fetches, then does the two things the raw response doesn't: **converts UTC to the place's local time** (the classic wrong-answer generator in this domain), and derives the windows people actually want — golden hour, blue hour, usable daylight. ## What This Skill Produces - **The times** — sunrise, sunset, solar noon, twilight bounds — in the *location's* local time, labeled - **The derived windows** — golden hour (~the hour after sunrise / before sunset), blue hour, day length and its current trend - **Moon phase** — tonight's phase with the plain-language name - **The command** — exact curl, rerunnable ## Required Inputs Ask for these if not provided: - **Location** — lat/lon or a place name (geocode via `https://geocoding-api.open-meteo.com/v1/search?name=Lisbon&count=1`) - **The date** — today default; any date works (both services take past and future dates) - **The real question** — a shoot wants golden hour, a hike wants last-light, "is it a full moon" wants th
- What This Skill Produces
- Required Inputs
- Framework: The Calls and the UTC Trap
- Output Format
- Quality Checks
- Anti-Patterns
What does the sun-and-moon skill do?
Get sunrise, sunset, golden hour, day length, and moon phase for any location with zero API keys — sunrise-sunset.org and Open-Meteo via curl, times converted to local. Use when asked when is sunset today, golden hour for a photo shoot, how long is the day, what's the moon phase tonight, or sun times for a date and place. Produces the sun/moon times in the user's local zone (the UTC trap handled), the photography windows, and the rerunnable command.
How do I install it?
Run `npx skills add mohitagw15856/pm-claude-skills --skill sun-and-moon --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From mohitagw15856/pm-claude-skills, a repository with 1,255 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
