返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
b

beeminder

Beeminder API for goal tracking and commitment devices. Use when checking Beeminder goals, adding datapoints, viewing due goals, managing commitments, or tracking habits. Triggers on "beeminder", "goals due", "add datapoint", "track habit", "goal status", "derail".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,061
下载量
2
收藏
概述
安装方式
版本历史

beeminder

# Beeminder API Direct REST API access to Beeminder. No CLI dependencies. ## Setup Set two env vars: - `BEEMINDER_USERNAME` - Beeminder username - `BEEMINDER_AUTH_TOKEN` - personal auth token from https://www.beeminder.com/api/v1/auth_token.json (requires login) All examples use: ```bash BASE="https://www.beeminder.com/api/v1/users/$BEEMINDER_USERNAME" ``` ## Goals ### List all goals ```bash curl -s "$BASE/goals.json?auth_token=$BEEMINDER_AUTH_TOKEN" | jq '[.[] | {slug, safebuf, baremin, limsum}]' ``` ### Get single goal ```bash curl -s "$BASE/goals/GOAL.json?auth_token=$BEEMINDER_AUTH_TOKEN" ``` Key fields: - `slug` - goal identifier - `safebuf` - days of safety buffer (0 = due today, negative = in the red) - `baremin` - minimum needed today to stay on track - `limsum` - human-readable summary (e.g. "+1 due in 2 days") - `losedate` - unix timestamp of derail date - `rate` - commitment rate - `runits` - rate units (d/w/m/y) - `headsum` - summary of current status - `goalval` - end goal value (null if no end goal) - `gunits` - goal units (e.g. "hours", "pages") ### Goals due today ```bash curl -s "$BASE/goals.json?auth_token=$BEEMINDER_AUTH_TOKEN" \ | jq '[.[] | select(.safebuf <= 0)] | sort_by(.losedate) | .[] | {slug, baremin, limsum}' ``` ### Goals due within N days ```bash curl -s "$BASE/goals.json?auth_token=$BEEMINDER_AUTH_TOKEN" \ | jq --arg cutoff "$(date -d '+2 days' +%s)" \ '[.[] | select(.losedate <= ($cutoff | tonumber))] | sort_by(.losedate) | .[] | {slug, baremin, limsum}' ``` ## Datapoints ### Add datapoint ```bash curl -s -X POST "$BASE/goals/GOAL/datapoints.json" \ -d "auth_token=$BEEMINDER_AUTH_TOKEN" \ -d "value=N" \ -d "comment=TEXT" ``` Optional: `-d "requestid=UNIQUE_ID"` for idempotent retries (safe to repeat without duplicating). ### Get recent datapoints ```bash curl -s "$BASE/goals/GOAL/datapoints.json?auth_token=$BEEMINDER_AUTH_TOKEN&count=5&sort=daystamp" ``` ### Update datapoint ```bash curl -s -X PUT "$BASE/goals/GOAL/datapoints/DATAPOINT_ID.json" \ -d "auth_token=$BEEMINDER_AUTH_TOKEN" \ -d "value=N" \ -d "comment=TEXT" ``` ### Delete datapoint ```bash curl -s -X DELETE "$BASE/goals/GOAL/datapoints/DATAPOINT_ID.json?auth_token=$BEEMINDER_AUTH_TOKEN" ``` ## Common Patterns ### Check and report what's due ```bash curl -s "$BASE/goals.json?auth_token=$BEEMINDER_AUTH_TOKEN" \ | jq '[.[] | select(.safebuf <= 1)] | sort_by(.safebuf) | .[] | {slug, baremin, limsum, safebuf}' ``` ### Add with idempotent retry ```bash curl -s -X POST "$BASE/goals/GOAL/datapoints.json" \ -d "auth_token=$BEEMINDER_AUTH_TOKEN" \ -d "value=1" \ -d "comment=done" \ -d "requestid=GOAL-$(date +%Y%m%d)" ``` ## Notes - Base URL must be exactly `https://www.beeminder.com/api/v1/` (https, www required) - All responses are JSON - Use `jq` to parse responses - Daystamps use `YYYYMMDD` format - Timestamps are unix epoch seconds

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 beeminder-1776328999 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 beeminder-1776328999 技能

通过命令行安装

skillhub install beeminder-1776328999

下载 Zip 包

⬇ 下载 beeminder v1.0.0

文件大小: 1.79 KB | 发布时间: 2026-4-17 14:36

v1.0.0 最新 2026-4-17 14:36
Initial release: direct Beeminder API skill with goal tracking, datapoint management, and due goal filtering. No CLI dependencies.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部