mood-tracker-lite
A lightweight mood tracking skill that stores and visualizes your daily emotional state. Log moods, view history, and see trend analysis with an interactive dashboard.
- License 许可
- GPL-3.0
- 最近更新
- 2026-10-10
- Stars
- ★ 3
- Forks
- 3
01 前言 Front Matter
- name
- mood-tracker-lite
- metadata
- { "homepage": "https://github.com/google-ai-edge/gallery/tree/main/skills/built-in/mood-tracker" }
- triggers
- [ "/mood", "心情记录", "情绪追踪" ]
- description
- A lightweight mood tracking skill that stores and visualizes your daily emotional state. Log moods, view history, and see trend analysis with an interactive dashboard.
02 资源文件 2
- 资产文件assets/dashboard.html7.1 KB
- 脚本scripts/index.html9.5 KB
03 SKILL.md 正文
Mood Tracker Lite
A simple yet powerful mood tracking tool that helps you monitor your daily emotional well-being.
Instructions
Call the run_js tool with index.html as the script name and a JSON payload for data with the following fields:
Actions
1. Log Mood
When a user wants to log their mood, call run_js with:
- action: "log_mood"
- score: Number (1-10). The user's current mood score.
- comment: String (Optional). A brief note about how they're feeling.
- date: String. Use "today", "yesterday", or "YYYY-MM-DD" format.
2. Get Mood for a Specific Date
- action: "get_mood"
- date: String. The date to query.
3. Get History / Show Dashboard
- action: "get_history"
- days: Number (Optional, default 7). Number of days to retrieve.
- show_dashboard: Boolean (Optional). Set to true to return an interactive webview dashboard.
4. Analyze Mood Trends
- action: "analyze_trends"
- days: Number (Optional, default 30). Analysis period in days.
Sample Commands Users Might Say
- "I'm feeling like a 7 today, pretty good after the meeting"
- "Log my mood as 9 — just finished a great workout!"
- "How has my mood been this past week?"
- "Show me my mood dashboard"
- "Am I generally feeling better or worse lately?"
- "What was my mood on March 5th?"
Rules
- All data is stored locally on the device (localStorage).
- Scores must be between 1 and 10.
- If no date is specified, default to "today".
- When showing the dashboard, also return a webview URL for interactive visualization.
04 同仓库更多 Skills
virtual-piano
Show a virtual piano to play music
text-spinner
Spin the given text on my head.
send-email
Send an email.
self-mirror
个人言行修炼批判镜。基于模型在持续观察中自动建立的人格画像(现实自我/理想自我),逐字分析其本人语音转写,反讨好但不对抗地指出言行与理想方向的差距、给出可直接使用的替代说法,并在用户自我否定或处于危机时优先给予支持。
restaurant-roulette
Show a roulette wheel to allow user to randomly select a restaurant based on location and cuisine.
query-wikipedia
Query summary from Wikipedia for a given topic.