← Back to Skills Marketplace
daya0576

Beaver Habit Tracker

by Henry Zhu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
815
Downloads
2
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install beaverhabits
Description
Track and manage your habits using the Beaver Habit Tracker API.
README (SKILL.md)

Beaver Habit Tracker

Track and manage your daily habits using the Beaver Habit Tracker API.

API documentation: https://beaverhabits.com/docs

Setup

Environment Variables

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)

Getting Your API Key

  1. Log in to your Beaver Habits instance
  2. Open the menu → Tools → API Tokens
  3. Click "Generate API Token"
  4. Copy the token and set it as BEAVERHABITS_API_KEY

Tools

list_habits (overview)

List 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.

complete_habit

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 format
  • done (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}

Usage Instructions

  • When the user asks to list, show, or check habits, always respond with the ASCII overview table (not a plain list).
  • After completing or uncompleting a habit, always re-render the overview table to show the updated state.
  • Resolve habit names → IDs via list_habits. Never ask the user for a habit_id.
  • Default to today's date for completions unless specified. Use date_fmt=%d-%m-%Y.
Usage Guidance
This skill appears coherent and low-risk, but before installing: only provide a Beaver Habits API token you trust (prefer a token with minimal scope if the service supports it); verify the SERVER_URL if you point the skill at a self-hosted instance (don't set it to an unknown host you don't control); review the referenced GitHub project (metadata shows https://github.com/daya0576/beaverhabits) to confirm the implementation if you want extra assurance; and be prepared to revoke the API token if you see unexpected activity. Note minor inconsistencies in the metadata: SKILL.md lists version 1.0.0 while the registry has 1.0.1 and the registry homepage was empty even though SKILL.md includes a GitHub link — these are administrative issues, not security blockers, but you may want to confirm the source repository before trusting the skill.
Capability Analysis
Type: OpenClaw Skill Name: beaverhabits Version: 1.0.1 The skill is designed to interact with the Beaver Habit Tracker API using `curl` and sends the `BEAVERHABITS_API_KEY` in an Authorization header. The `SERVER_URL` is configurable via an environment variable (SKILL.md), allowing the API key to be sent to an arbitrary, user-defined endpoint instead of the default `https://beaverhabits.com`. While this feature is presented for legitimate self-hosting, it represents a risky capability that could be exploited for API key exfiltration if the `SERVER_URL` is maliciously controlled or injected, even though the skill itself does not demonstrate explicit malicious intent.
Capability Assessment
Purpose & Capability
Name/description (Beaver Habit Tracker) match the declared env vars (BEAVERHABITS_API_KEY, optional SERVER_URL) and required binary (curl). All requested resources are reasonable for an API client that lists and completes habits.
Instruction Scope
SKILL.md instructs only to call the Beaver Habits API endpoints with an Authorization header and to render ASCII tables. It does not ask to read unrelated files, access other environment variables, or transmit data to third-party endpoints outside the described server. The guidance to resolve habit IDs by listing habits is implementation-level but appropriate.
Install Mechanism
This is an instruction-only skill with no install spec and no code files. No downloads or archive extractions are specified, which minimizes on-disk risk.
Credentials
Only one required secret (BEAVERHABITS_API_KEY) plus an optional SERVER_URL are requested; both are proportionate to the stated purpose. No unrelated credentials or excessive env variables are requested.
Persistence & Privilege
always is false and the skill does not request system-wide changes or persistent presence. Autonomous invocation is allowed but is the platform default and not excessive here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install beaverhabits
  3. After installation, invoke the skill by name or use /beaverhabits
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Add server_url to required env
v1.0.0
Initial release of beaverhabits skill. - Track and manage daily habits using the Beaver Habit Tracker API. - Supports self-hosted Beaver Habits with configurable server URLs.
Metadata
Slug beaverhabits
Version 1.0.1
License
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is Beaver Habit Tracker?

Track and manage your habits using the Beaver Habit Tracker API. It is an AI Agent Skill for Claude Code / OpenClaw, with 815 downloads so far.

How do I install Beaver Habit Tracker?

Run "/install beaverhabits" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Beaver Habit Tracker free?

Yes, Beaver Habit Tracker is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Beaver Habit Tracker support?

Beaver Habit Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Beaver Habit Tracker?

It is built and maintained by Henry Zhu (@daya0576); the current version is v1.0.1.

💬 Comments