소스 정보
- 저장소
- daya0576/beaverhabits
- 최근 소스 활동
- 2026년 2월 20일 12:12
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1,822
- 포크
- 74
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/daya0576/beaverhabits --skill beaverhabits명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
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.SOC 직업 분류 기준