Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JuneYaooo/mediwise-health-suite --skill sleep-trackergit clone --depth 1 https://github.com/JuneYaooo/mediwise-health-suiteWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/sleep-tracker)<a href="https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/sleep-tracker"><img src="https://agentmods.dev/badge/skills/juneyaooo/mediwise-health-suite/sleep-tracker/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/sleep-tracker"><img src="https://agentmods.dev/badge/skills/juneyaooo/mediwise-health-suite/sleep-tracker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00131 | $0.01008 |
| Opus 5 | $0.00066 | $0.00504 |
| Sonnet 5 | $0.00026 | $0.00202 |
| Haiku 4.5 | $0.00013 | $0.00101 |
Grade A, and why
sleep-tracker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
MediWise · 睡眠追踪 Skill
记录和汇总睡眠数据,展示睡眠规律和与内置参考值的差异。评分只用于记录展示,不是医学判断,也不提供改善或治疗建议。
睡眠质量评分标准
| 评分 | 标签 | 说明 |
|---|---|---|
| 85-100 | 高匹配 | 与内置参考值匹配较多 |
| 70-84 | 较高匹配 | 与内置参考值存在少量差异 |
| 55-69 | 部分匹配 | 与内置参考值存在多项差异 |
| 0-54 | 低匹配 | 与内置参考值差异较多 |
内置展示参考值(不用于医学判断):
- 总时长:7-9 小时
- 深睡比例:13-23%
- REM 比例:20-25%
- 清醒时间:<10%
核心工作流
当前公开版本只用于个人本地档案。身份隔离由安装时的个人模式和 action 适配层处理,不向普通用户暴露或索取
owner_id。
1. 手动录入睡眠
用户说「昨晚睡了7小时」「记录睡眠」时使用:
# 录入总时长(最简方式,其他阶段留空)
python3 {baseDir}/scripts/sleep.py log --member-id <id> --duration 420
# 带阶段详情录入
python3 {baseDir}/scripts/sleep.py log --member-id <id> --duration 480 \
--deep 90 --light 240 --rem 100 --awake 30
# 指定日期(默认昨天)
python3 {baseDir}/scripts/sleep.py log --member-id <id> --duration 450 --date 2026-03-26
时长换算提示:
- 用户说「7小时」→ duration=420
- 用户说「7.5小时」→ duration=450
- 用户说「7小时30分」→ duration=450
2. 查看每日睡眠
用户说「昨晚睡得怎么样」「查看睡眠」时使用:
# 查看昨晚(默认)
python3 {baseDir}/scripts/sleep.py daily --member-id <id>
# 查看指定日期
python3 {baseDir}/scripts/sleep.py daily --member-id <id> --date 2026-03-26
3. 每周睡眠趋势
用户说「这周睡眠怎么样」「睡眠趋势」时使用:
# 近7天(默认)
python3 {baseDir}/scripts/sleep.py weekly --member-id <id>
# 近14天
python3 {baseDir}/scripts/sleep.py weekly --member-id <id> --days 14
4. 历史记录
# 最近14条(默认)
python3 {baseDir}/scripts/sleep.py list --member-id <id>
# 最近30条
python3 {baseDir}/scripts/sleep.py list --member-id <id> --limit 30
数据来源
睡眠数据来自两个渠道:
- 手动录入:通过
sleep-logaction 直接输入 - 可穿戴同步:通过 wearable-sync 从 Apple Health / Gadgetbridge 自动导入
两种来源均存储在 health_metrics 表(metric_type='sleep'),查询时统一处理。
反模式
- 不要重复录入同一天 — 系统会显示多条,建议先 daily 确认再录入
- 阶段时长之和不能超过总时长 — 否则录入报错
- 手动录入不需要精确到分钟 — 大致时长即可,质量评分有容忍范围
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 102 lines · 131 tokens per session scan A 9d3c8ed753e9
sleep-tracker is a skill published in the GitHub repository JuneYaooo/mediwise-health-suite (28 stars, last pushed 1mo ago), licensed MIT. It adds 131 tokens to every session and 1,008 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
officecli-word-form
Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…
summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
add-matrix
Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.
add-resend
Add Resend (email) channel integration via Chat SDK.
add-macos-statusbar
Add a macOS menu bar status indicator for NanoClaw. Shows a bolt icon with a green/red dot indicating whether NanoClaw is running, with Start, Stop, and Restart controls. macOS only.