Buffy agent

From LeoYeAI/openclaw-master-skills · View interactive version

Buffy agent is an AI agent skill from the GitHub repository LeoYeAI/openclaw-master-skills. Free habit tracking, todo, and routines — create and track up to 25 habits, 100 tasks, and 15 routines; schedule reminders and daily briefings across ChatGPT, Telegram, Slack, and OpenClaw. Completely free, no paid tiers. Use when the user wants to manage habits, todo/tasks, or routines, get progres

How to use this skill

Skill file

Free habit & todo in chat. Track up to 25 habits, 100 tasks, and 15 routines with reminders and daily briefings — completely free, no paid tiers. Ask in plain language; Buffy creates and tracks for you.

What you can do (habit, todo, routines)

| Search for… | You can say… |

|-------------|--------------|

| Habit | "Create a habit to drink water every 2 hours." / "What habits did I complete today?" |

| Todo | "Add to my todo: buy groceries." / "What's on my todo?" / "Mark 'call mom' done." |

| Routines | "Start my morning routine." / "Remind me at 8am to plan my day." |

Buffy understands natural language — no forms or menus. One message creates or updates habits, todo items, and routines.

Overview

Buffy is a free personal behavior agent for habits, todo/tasks, and routines. It tracks activities, schedules reminders, and sends daily briefings across multiple channels (ChatGPT, Telegram, Slack, OpenClaw), all powered by a single unified behavior engine. Buffy is completely free with generous limits: 25 habits, 100 tasks, 15 routines, 200 reminders/day, and 365 days of memory.

This skill is only the HTTP client for the Buffy API and requires only BUFFY_API_KEY. Buffy runs as an external HTTP API; all behavior logic lives in the Buffy backend.

Buffy also exposes a hook-based observability system:

reminder:sent so logs, metrics, and long-term memory can be updated without changing core

behavior logic. See backend/internal/hooks/ for details.

log Buffy conversations to markdown logs, record Buffy-related errors for observability, and

track Buffy behavior over time. These hooks are optional and separately installed by the

integrator; they are not part of this skill’s declared requirements. If the integrator installs

them, they may write user content to disk or call other APIs and have their own credential and

privacy implications.

For low-level HTTP details and the full API surface, treat the repository README.md and openapi-buffy.yaml

as canonical. This SKILL.md file is the canonical guide for how agents and tools should invoke Buffy.

Base URL and authentication

BUFFY_API_KEY is injected from the environment for the agent run. Do not include the key

in prompts, logs, or user-visible text.

For registries and gateways:

Core endpoint: POST /v1/message

For most use cases, always prefer POST /v1/message. Buffy’s behavior core understands

natural language instructions and orchestrates activities, reminders, and daily briefings.

{
  "user_id": "user-123",
  "platform": "openclaw",
  "message": "Remind me to drink water every 2 hours"
}
{
  "reply": "Created a routine activity for you: \"Remind me to drink water every 2 hours\"."
}

For users who have a clan (any user gets one on first use), the backend may append clan context to the reply (e.g. clan name, shared energy, and active boss progress). The skill does not need to change how it calls the API; just surface the full reply to the user.

Usage notes for the agent

When calling POST /v1/message:

Examples of when to call Buffy (habit, todo, routines):

Use via Buffy CLI

You can call the same Buffy API from the terminal or scripts using the official Buffy CLI. The same BUFFY_API_KEY used by this skill works for the CLI.

Repo: github.com/phantue2002/buffy-cli. Use the CLI when the user prefers the command line or wants to automate Buffy from scripts; use this skill (HTTP) when invoking Buffy from an agent or chat surface.

Supporting endpoints

You usually do not need these, but they are available for more advanced flows.

Clan / team

Any user can use clans (shared energy, boss fights). A personal clan is created on first use; no team plan required. The reply from POST /v1/message already includes clan name, energy, and active boss progress when the user has a clan; you do not need to call these unless building a custom flow.

All require the same Authorization: Bearer <BUFFY_API_KEY> and (for system keys) X-Buffy-User-ID when acting on behalf of a user. Prefer POST /v1/message for normal chat; use these only for dedicated clan/team UI or automation.

User settings

These endpoints control personalization (name, timezone, language, reminder preferences, etc.).

Only use these endpoints when the user is explicitly changing preferences (for example:

“Change my preferred reminder time to 8am.”). For general “help me with my habits” queries,

prefer POST /v1/message.

API key provisioning (advanced)

Buffy can create API keys for other tools and integrations:

Body:

{
  "label": "clawbot",
  "type": "system"
}

This returns a one-time api_key string that can be used in the Authorization header.

Important: this is an advanced operation. Do not automatically create keys unless the

user explicitly wants to manage Buffy API keys or set up additional integrations.

Invocation pattern and best practices

When deciding whether and how to call Buffy:

details that the user has already given in the conversation.

Avoid:

Extending capabilities (find-skills)

When the user asks for help that is outside Buffy’s scope (e.g. "how do I test my API?", "find a skill for React", "is there a skill that can review PRs?"):

  1. Do not call Buffy for those requests.
  2. If the find-skills skill is available, use it: run npx skills find [query] with a relevant query, then present install commands and links (e.g. npx skills add <owner/repo@skill> -g -y).
  3. If find-skills is not available, suggest the user run npx skills find <topic> or browse https://skills.sh/ to discover and install a skill for that capability.

This keeps Buffy focused on habit/todo/routines and lets the agent hand off capability discovery to find-skills for best performance.

Security, privacy, and sandboxing

and daily schedule.

repo-local markdown logs under a path you control (such as logs/).

access to the configured Buffy endpoint (default https://api.buffyai.org).

HTTPS egress to the Buffy endpoint while still respecting whatever network and filesystem

restrictions are configured.

(for example, the buffy-reminder-dispatch hook), not by this core Buffy skill.

for the core Buffy API client.

API keys, etc.); they should be configured only for the dispatch implementation you control.

Buffy HTTP client unless absolutely necessary.

Configuration via openclaw.json

This skill is configured through ~/.openclaw/openclaw.json using the skills.entries map.

Because the metadata sets primaryEnv to BUFFY_API_KEY, you can either provide an API key

directly or reference an existing environment variable.

Minimal config (using process env)

If BUFFY_API_KEY is already set in the process environment:

{
  "skills": {
    "entries": {
      "buffy-agent": {
        "enabled": true,
        "apiKey": {
          "source": "env",
          "provider": "default",
          "id": "BUFFY_API_KEY"
        }
      }
    }
  }
}

Config with explicit env injection and endpoint override

If you want OpenClaw to inject BUFFY_API_KEY only for this skill and/or override the API endpoint

for staging or local development:

{
  "skills": {
    "entries": {
      "buffy-agent": {
        "enabled": true,
        "apiKey": "BUFFY_KEY_HERE",
        "env": {
          "BUFFY_API_KEY": "BUFFY_KEY_HERE"
        },
        "config": {
          "endpoint": "https://api.buffyai.org",
          "platform": "openclaw"
        }
      }
    }
  }
}

Notes:

when calling POST /v1/message.

Testing the Buffy AgentSkill

To validate that the skill works end-to-end:

  1. Start Buffy:

following the repository README.

  1. Obtain an API key:
  1. Configure OpenClaw:

config.endpoint at your running Buffy instance and wiring BUFFY_API_KEY.

  1. Verify skill discovery:
  1. Run a sample interaction:

a request such as “Remind me to stretch every hour during workdays.”

  1. Regression checks:

in the process environment.

This completes the Buffy AgentSkill wiring: a thin, secure HTTP wrapper around the existing

Buffy behavior core, suitable for both autonomous model use and direct user invocation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.