Xpersona
S

Sleep Tracker

CLAWHUB · Unverified

睡眠改善工具。睡眠分析、改善建议、作息规划、睡眠环境优化、小睡指南、睡眠日记。Sleep tracker with analysis, improvement tips, schedule planning, environment optimization, nap guide. Skill: Sleep Tracker Owner: bytesagain-lab Summary: 睡眠改善工具。睡眠分析、改善建议、作息规划、睡眠环境优化、小睡指南、睡眠日记。Sleep tracker with analysis, improvement tips, schedule planning, environment optimization, nap guide. Tags: latest:2.0.1, productivity:1.0.0 Version history: v2.0.1 | 2026-03-18T10:50:30.316Z | user update v2.0.0 | 2026-03-17T18:49:10.505Z | user v2.5 standard: Use-when desc, homepage, source, security fix v1.0.7 | 2026-03-16T

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174pq5f3gzez3838vt2642fmx848f1d:sleep-tracker
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-bytesagain-lab-sleep-tracker/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,892 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
version: "2.0.0"
name: sleep-tracker
description: "睡眠改善工具。睡眠分析、改善建议、作息规划、睡眠环境优化、小睡指南、睡眠日记。Sleep tracker with analysis, improvement tips, schedule planning, environment optimization, nap guide."
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
---

# sleep-tracker

Health and wellness tracker for logging daily activities, tracking streaks, viewing statistics, setting reminders and goals, and getting health tips. A versatile CLI tool for building and maintaining healthy habits.

## Commands

| Command | Description |
|---------|-------------|
| `sleep-tracker log <entry>` | Log a new entry with today's date |
| `sleep-tracker today` | Show all entries logged today |
| `sleep-tracker streak` | Check your current streak of consecutive days |
| `sleep-tracker stats` | Show total number of entries in the data log |
| `sleep-tracker reminder <task> [time]` | Set a reminder for a task (default time: 8:00) |
| `sleep-tracker tips` | Get health tips (hydration, movement, sleep) |
| `sleep-tracker goal <goal> [frequency]` | Set a goal with optional frequency (default: daily) |
| `sleep-tracker history` | View the last 14 entries from the data log |
| `sleep-tracker export` | Export all data to stdout |
| `sleep-tracker reset` | Reset tracker (requires `--confirm` flag to actually clear data) |
| `sleep-tracker help` | Show help message with all available commands |
| `sleep-tracker version` | Show version number |

## How It Works

`sleep-tracker` manages a simple text-based data log (`data.log`) where each entry is automatically stamped with the current date. It provides a lightweight way to track health activities, build streaks, and review your history.

### Daily Workflow

1. **Log activities**: Record what you did — exercise, meals, sleep times, etc.
2. **Check today**: Review everything logged today with `sleep-tracker today`
3. **Track progress**: Use `streak` to see consecutive days and `stats` for totals
4. **Set goals and reminders**: Keep yourself accountable with `goal` and `reminder`
5. **Review history**: Look at the last 2 weeks with `history`

## Data Storage

All data is stored in `$SLEEP_TRACKER_DIR` or defaults to `~/.local/share/sleep-tracker/`. The directory contains:

- `data.log` — main data file with date-stamped entries
- `history.log` — timestamped log of all commands executed for auditing

The tool automatically creates the data directory on first run. You can override the storage location by setting the `SLEEP_TRACKER_DIR` environment variable.

## Requirements

- **Shell**: Bash 4+
- **No external dependencies** — uses only standard Unix utilities (`date`, `grep`, `wc`, `tail`, `cat`)
- **Works on**: Linux, macOS, any POSIX-compatible system

## When to Use

1. **Daily health logging** — Run `sleep-tracker log "8h sleep, felt rested"` each morning to build a habit history
2. **Tracking exercise streaks** — Log workouts daily and check `sleep-tracker streak` to stay motivated

_meta.json

{
  "ownerId": "kn76vqrf94wk924mddj8fp4p5x8497tb",
  "slug": "sleep-tracker",
  "version": "2.0.1",
  "publishedAt": 1773831030316
}

skill-card.md

## Description:

Sleep Tracker helps agents run a local CLI for sleep and wellness logging, sleep analysis, schedule planning, environment checks, nap guidance, and improvement tips.

This skill is ready for commercial/non-commercial use.

## Publisher:

[bytesagain-lab](https://clawhub.ai/user/bytesagain-lab)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers can use this skill to log sleep or wellness entries, review recent history and streaks, calculate sleep schedules, analyze sleep duration, and get general sleep hygiene guidance from local shell commands.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Sleep journal entries can contain personal sleep or health notes, and one artifact script stores journal data in a shared temporary file.

Mitigation: Use the skill only after review, avoid shared machines for personal entries, and prefer storage in a private per-user directory with restrictive permissions.

Risk: The security summary says the documentation does not clearly match the artifact behavior.

Mitigation: Confirm which script and commands are intended before installation or execution, especially before logging or exporting personal data.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/bytesagain-lab/skills/sleep-tracker)
- [Publisher Profile](https://clawhub.ai/user/bytesagain-lab)
- [BytesAgain Homepage](https://bytesagain.com)

## Skill Output:

**Output Type(s):** [text, shell commands, guidance]

**Output Format:** [Plain text CLI output with optional shell redirection]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs may include locally recorded sleep or wellness notes when the user logs or exports data.]

## Skill Version(s):

2.0.1 (source: server release metadata; artifact frontmatter and scripts report 2.0.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

tips.md

# Sleep Tracker Tips 😴

## 睡眠周期基础
- 一个完整睡眠周期约90分钟
- 理想睡眠 = 5-6个周期 = 7.5-9小时
- 在周期结束时醒来最清醒(而非闹钟随机叫醒)

## 睡前好习惯
1. 睡前1小时放下手机
2. 卧室温度保持18-22°C
3. 遮光窗帘 + 安静环境
4. 固定作息时间(周末也是)
5. 睡前热水澡或泡脚

## 睡前避免
- ❌ 咖啡因(下午2点后不喝)
- ❌ 酒精(虽然帮助入睡但降低质量)
- ❌ 大量进食
- ❌ 剧烈运动(睡前2小时内)
- ❌ 蓝光屏幕

## 小睡指南
- 最佳时间:13:00-15:00
- 最佳时长:10-20分钟(Power Nap)
- 超过30分钟可能进入深度睡眠,醒后更困
- 下午3点后不建议小睡(影响夜间睡眠)

Sponsored

Ads related to Sleep Tracker and adjacent AI workflows.