用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/daya0576/beaverhabits --skill beaverhabits命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | beaverhabits |
| description | Track and manage your habits using the Beaver Habit Tracker API. |
| version | 1.0.0 |
| metadata | {"openclaw":{"requires":{"env":["BEAVERHABITS_API_KEY"],"bins":["curl"]},"primaryEnv":"BEAVERHABITS_API_KEY","emoji":"🦫","homepage":"https://github.com/daya0576/beaverhabits"}} |
Track and manage your daily habits using the Beaver Habit Tracker API.
API documentation: https://beaverhabits.com/docs
| Variable | Required | Default | Description |
|---|---|---|---|
BEAVERHABITS_API_KEY | Yes | — | Your permanent API token from the Beaver Habits settings page |
SERVER_URL | No | https://beaverhabits.com | Your Beaver Habits server URL (for self-hosted instances) |
BEAVERHABITS_API_KEYList all habits and show a weekly ASCII overview. This is the default response for any habit-related query.
Step 1 — Get all habits:
curl -s -H "Authorization: Bearer $BEAVERHABITS_API_KEY" \
"${SERVER_URL:-https://beaverhabits.com}/api/v1/habits"
Step 2 — For each habit, get completions over the last 5 days:
curl -s -H "Authorization: Bearer $BEAVERHABITS_API_KEY" \
"${SERVER_URL:-https://beaverhabits.com}/api/v1/habits/{habit_id}/completions?date_fmt=%25d-%25m-%25Y&date_start={start}&date_end={end}&limit=100&sort=asc"
Response format: ["16-02-2026", "18-02-2026"] (array of completed date strings)
Step 3 — Render as ASCII table:
Example output:
Mon Tue Wed Thu Fri
Exercise ✗ ✗ ✗ ✗ ✗
English ✓ ✗ ✗ ✗ ✗
paipai ✗ ✗ ✗ ✗ ✓
Reading ✗ ✗ ✗ ✗ ✗
Table Tennis ✗ ✗ ✗ ✗ ✗
Use ✓ for done, ✗ for not done. Default to 5 days ending today. Emoji are stripped from habit names for proper alignment.
Mark a habit as done (or undone) for a specific date.
Parameters:
habit_id (resolved): Automatically resolved by calling list_habits and matching the user's habit name. Never ask the user for this value.date (required): Date in DD-MM-YYYY formatdone (optional): true to complete, false to uncomplete (default: true)curl -s -X POST \
-H "Authorization: Bearer $BEAVERHABITS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date": "20-02-2026", "done": true, "date_fmt": "%d-%m-%Y"}' \
"${SERVER_URL:-https://beaverhabits.com}/api/v1/habits/{habit_id}/completions"
Response: {"day": "20-02-2026", "done": true}
date_fmt=%d-%m-%Y.