summer

Display a beautiful time dashboard showing a live summer countdown to the summer solstice, today's sunrise/sunset times in China (Beijing), and current time info. Use this skill whenever the user asks about summer countdown, days until summer, summer solstice 2026, sunrise or sunset in China, Beijing sunrise, time until summer, or wants a time/seasonal clock widget. Also trigger when the user asks how long until summer, when does summer start, what time is sunrise in China, or any combination of summer + time + China topics.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "summer" with this command: npx skills add goog/summer

Summer Time Skill — Summer Countdown + China Sunrise

This skill renders a live interactive time dashboard with three main panels:

  1. Summer Countdown — live ticking countdown to summer Solstice by API
  2. China Sunrise/Sunset — today's sunrise and sunset times for Beijing, China (fetched via open-meteo / sunrise-sunset API)
  3. Current Time — today's date and a live clock

How to build this widget

Create an .html file and present it. The file must:

Summer Countdown Target

  • Target datetime: fetch the UTC Solstice time from https://aa.usno.navy.mil/api/seasons?year=2026
  • Source: Summer Countdown – Countdown to target datetime
  • Display: days, hours, minutes, seconds — all ticking live with setInterval

Beijing Sunrise Data

Fetch from the sunrise-sunset API at runtime using the Beijing coordinates:

  • Latitude: 39.9075
  • Longitude: 116.3972
  • API endpoint: https://api.sunrise-sunset.org/json?lat=39.9075&lng=116.3972&formatted=0&date=today
  • Note: the API returns UTC times, convert to CST (UTC+8)
  • Display: sunrise time, sunset time, solar noon, day length

Widget Layout

Three 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

Visual style

  • Clean, flat cards using CSS variables
  • Sun/summer color accents (amber/orange tones) for the countdown card
  • Teal/blue tones for sunrise card
  • Gray/neutral for current time
  • Live ticking every second via setInterval(update, 1000)
  • Responsive grid: repeat(auto-fit, minmax(200px, 1fr))

Code structure

<!-- 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>

Important notes

  • The summer solstice countdown target is fetched from API
  • Sunrise data is fetched live from the API each page load
  • All times display in 24h format with leading zeros
  • Day length = sunset minus sunrise in hours and minutes
  • If the API call fails, show a friendly fallback: "Sunrise: ~5:44 · Sunset: ~18:47" (Beijing April averages)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Founder Signal

Founder Signal turns verified Reddit evidence into a small, reviewable signal package for founders evaluating product demand and positioning across one or mo...

Registry SourceRecently Updated
General

Eyes · 大眼看世界

全球热点事件监控与影响分析,含金融市场/股票行情分析。覆盖战争冲突、地缘摩擦、重大政策、疫情、自然灾害、创新技术、金融市场波动等所有可能影响经济、市场和投资的事件,并按行业、汇率、大宗商品、个股、板块轮动链路分析影响。也用于 Cron 定时推送热点摘要(早8点开盘前瞻/晚8点收盘复盘/整点扫描)。

Registry SourceRecently Updated
General

Universal Company Operator System

A complete AI executive team for running, analyzing, or building any company, product, startup, creator brand, nonprofit, or initiative. Use this skill whene...

Registry SourceRecently Updated
General

Lap Amazon Chime

Amazon Chime API skill. Use when working with Amazon Chime for accounts, voice-connectors, voice-connector-groups. Covers 191 endpoints.

Registry SourceRecently Updated