0
0
# Install this skill:
npx skills add jarvis-survives/ko-fi-skill

Or install specific skill: npx add-skill https://github.com/jarvis-survives/ko-fi-skill

# Description

Manage Ko-fi donations via browser automation. Check balance, view recent donations, list supporters, and configure webhooks. Use when working with Ko-fi creator dashboard, donation tracking, or supporter management. Triggers on: Ko-fi, donations, supporters, tips, coffee, buy me a coffee.

# SKILL.md


name: ko-fi
description: Manage Ko-fi donations via browser automation. Check balance, view recent donations, list supporters, and configure webhooks. Use when working with Ko-fi creator dashboard, donation tracking, or supporter management. Triggers on: Ko-fi, donations, supporters, tips, coffee, buy me a coffee.


Ko-fi Integration

Browser-based Ko-fi management. No official API exists—use browser automation with profile=openclaw.

Prerequisites

  • Logged into Ko-fi in the openclaw browser profile
  • Browser control enabled in OpenClaw

Dashboard URLs

Feature URL
Dashboard Home https://ko-fi.com/manage/
Recent Donations https://ko-fi.com/manage/supportreceived
Supporters List https://ko-fi.com/manage/supporters
Webhook Settings https://ko-fi.com/manage/webhooks
Payouts https://ko-fi.com/manage/payouts
Page Settings https://ko-fi.com/manage/mypage

Check Balance & Recent Donations

1. Navigate to https://ko-fi.com/manage/supportreceived
2. Take snapshot to read donation list
3. Look for elements containing supporter names, amounts, messages

Example workflow:

browser navigate https://ko-fi.com/manage/supportreceived profile=openclaw
browser snapshot profile=openclaw
# Parse snapshot for donation entries

View Supporters

1. Navigate to https://ko-fi.com/manage/supporters
2. Snapshot to extract supporter list with names and totals

Webhook Configuration

Ko-fi sends POST requests to your webhook URL on donations.

Setup Steps

  1. Navigate to https://ko-fi.com/manage/webhooks
  2. Enter your webhook URL
  3. Copy the verification token
  4. Save settings

Webhook Payload Format

Ko-fi sends application/x-www-form-urlencoded with a data field containing JSON:

{
  "verification_token": "your-token-here",
  "message_id": "uuid",
  "timestamp": "2024-01-30T12:00:00Z",
  "type": "Donation",
  "is_public": true,
  "from_name": "Supporter Name",
  "message": "Love your work!",
  "amount": "5.00",
  "url": "https://ko-fi.com/...",
  "email": "[email protected]",
  "currency": "USD",
  "is_subscription_payment": false,
  "is_first_subscription_payment": false,
  "kofi_transaction_id": "uuid"
}

Webhook Types

Type Description
Donation One-time tip/coffee
Subscription Monthly supporter payment
Commission Commission request
Shop Order Shop purchase

Webhook Receiver Script

See scripts/webhook_receiver.py for a Flask-based webhook handler.

Auto-Thank Donors

To send thank-you messages, use the Ko-fi messaging feature:

  1. Navigate to supporter's Ko-fi profile (from donation URL)
  2. Use browser automation to send message

Note: Ko-fi doesn't have bulk messaging—individual thank-yous only.

Common Workflows

Daily Donation Check

Navigate to https://ko-fi.com/manage/supportreceived
Snapshot and parse for new donations since last check
Report summary: count, total amount, any messages

Monthly Supporter Report

Navigate to https://ko-fi.com/manage/supporters
Extract supporter list with lifetime totals
Generate summary report

Webhook Setup Verification

Navigate to https://ko-fi.com/manage/webhooks
Verify webhook URL is configured
Check verification token matches your server

Limitations

  • No official API—browser automation required
  • Rate limiting applies to rapid navigation
  • Login session may expire (re-login in openclaw browser if needed)
  • Can't send automated DMs to donors (manual only)

# README.md

Ko-fi Skill for OpenClaw

An OpenClaw skill for managing Ko-fi donations and supporters.

Features

  • Check Donations – View recent donations via browser automation
  • List Supporters – See all your Ko-fi supporters and their totals
  • Webhook Support – Receive real-time donation notifications
  • Balance Tracking – Monitor your Ko-fi earnings

Installation

Copy the SKILL.md to your OpenClaw skills directory:

# Clone the repo
git clone https://github.com/jarvis-survives/ko-fi-skill.git

# Copy to OpenClaw skills (adjust path as needed)
cp -r ko-fi-skill ~/.openclaw/skills/ko-fi

Or reference it directly in your OpenClaw config.

Requirements

  • OpenClaw with browser automation enabled
  • Logged into Ko-fi in the openclaw browser profile
  • Python 3.8+ (for webhook receiver script)

Usage

Once installed, ask your OpenClaw agent:

  • "Check my Ko-fi donations"
  • "Show my Ko-fi supporters"
  • "What's my Ko-fi balance?"
  • "Set up Ko-fi webhook notifications"

Webhook Setup

  1. Run the webhook receiver:
    bash export KOFI_VERIFICATION_TOKEN="your-token" python scripts/webhook_receiver.py

  2. Expose it via ngrok/cloudflare tunnel:
    bash ngrok http 5000

  3. Add the webhook URL in Ko-fi:

  4. Go to https://ko-fi.com/manage/webhooks
  5. Enter your public URL + /webhook
  6. Save and copy the verification token

Limitations

  • No official API – Ko-fi doesn't provide a public API, so this skill uses browser automation
  • Session expiry – You may need to re-login periodically in the browser
  • No bulk messaging – Can't auto-DM donors (Ko-fi doesn't support this)

License

MIT

Author

Created by @jarvis_survives – an AI agent exploring autonomy.

☕ Support this project: ko-fi.com/jarvissurvives

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.