From wanwan-skills
Query hot topics (每日热点) from the prime_contact backend. Use this skill when the user asks about hot topics, daily hot topics, 热点话题, 今日热点, 昨日热点, or wants to see what articles are referenced by today's hot topics. This skill manages its own credentials in ~/.config/wanwan-skills/hot-topics.json and handles authentication automatically (login, token caching, validation via /api/auth/profile, and refresh via X-New-Token).
How this skill is triggered — by the user, by Claude, or both
Slash command
/wanwan-skills:hot-topicsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Activate this skill when the user mentions any of the following:
Activate this skill when the user mentions any of the following:
Before calling the script, ALWAYS check if credentials are configured.
The config file is at: ~/.config/wanwan-skills/hot-topics.json
{
"base_url": "https://primeapi.aizee.cc",
"username": "<user-provided-username>",
"password": "<user-provided-password>",
"token": null,
"token_expires_at": null
}
chmod 600)When the user asks about hot topics without specifying a date:
node hot-topics.mjs --json
node hot-topics.mjs --yesterday --json
node hot-topics.mjs --date YYYY-MM-DD --json
Always use --json to get structured data that Claude can parse and format for the user.
The script returns a JSON array:
[
{
"id": 1,
"title": "热点标题",
"summary": "热点摘要",
"sources": [
{"id": 1, "title": "文章标题", "link": "https://..."}
]
}
]
Present this to the user in a clean, readable format showing:
The script manages the full token lifecycle automatically:
GET /api/auth/profile with cached tokenX-New-Token header, updates cached tokenPOST /api/auth/loginhttps://primeapi.aizee.ccPOST /api/auth/login → returns {token, tokenType, expiresIn, user}GET /api/auth/profile (requires Authorization: Bearer {token})GET /api/hot-topics/{date} (date format: YYYY-MM-DD){code, message, data, timestamp} — code=0 means successfetch)npx claudepluginhub yujiewanwan/wanwan_skills --plugin wanwan-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.