Install
openclaw skills install summerDisplay a beautiful time dashboard showing a live summer countdown to the summer solstice, today's sunrise/sunset times in China (Beijing), and current time...
openclaw skills install summerThis skill renders a live interactive time dashboard with three main panels:
Create an .html file and present it. The file must:
setIntervalFetch from the sunrise-sunset API at runtime using the Beijing coordinates:
https://api.sunrise-sunset.org/json?lat=39.9075&lng=116.3972&formatted=0&date=todayThree cards side by side (or stacked on narrow screens):
[ Summer Countdown ] [ Beijing Sunrise ] [ Current Time ]
XX days Sunrise: HH:MM Today's date
XX hours Sunset: HH:MM Live clock HH:MM:SS
XX minutes Day length: H:MM
XX seconds
setInterval(update, 1000)repeat(auto-fit, minmax(200px, 1fr))<!-- Fetch sunrise on load, then tick every second -->
<script>
const SUMMER = new Date('2026-06-21T01:24:30'); // local time interpretation
async function fetchSunrise() {
const r = await fetch('https://api.sunrise-sunset.org/json?lat=39.9042&lng=116.4074&formatted=0');
const d = await r.json();
// results.sunrise and results.sunset are ISO strings in UTC
// Add 8 hours for CST
}
function tick() {
// Update countdown, clock every second
}
setInterval(tick, 1000);
</script>