← All skills
Tencent SkillHub · Other

Gamification & XP System

XP system for productivity gamification via ClawdBot - track levels, badges, streaks, and achievements

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

XP system for productivity gamification via ClawdBot - track levels, badges, streaks, and achievements

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 21 sections Open source page

Gamification & XP System

Turn productivity into a game with XP, levels, badges, streaks, and achievements. Every completed task, habit, and goal milestone earns XP toward leveling up.

ClawdBot Integration

This skill is designed for ClawdBot - it provides the prompt interface for ClawdBot's gamification API server which stores data in Supabase. Architecture: User → ClawdBot Gateway → ClawdBot API Server → Supabase (Postgres) (Railway) (user_gamification, xp_transactions tables) The backend implementation lives in api-server/src/routes/gamification.ts and api-server/src/lib/xp-engine.ts.

Features

XP System: Earn XP for habits, tasks, and goal milestones Leveling: Level up with formula XP = 50 * (level^2) Streak Bonuses: Up to 2.0x multiplier for consistent habits Badges: Earn badges for achievements and milestones Leaderboard: Compare progress (multi-user support) Accountability: Track commitment and earn-back system

Environment Variables

VariableRequiredDescriptionSUPABASE_URLYesSupabase project URLSUPABASE_SERVICE_KEYYesSupabase service role key

API Endpoints

All endpoints are relative to the ClawdBot API server ({CLAWDBOT_API_URL}/api/gamification/).

Get User Stats

GET /api/gamification/stats/:userId Response: { "totalXp": 2450, "currentLevel": 7, "weeklyXp": 350, "monthlyXp": 1200, "progress": { "xpInLevel": 150, "xpNeeded": 450, "percent": 33 }, "accountability": { "balance": 50, "totalSlashed": 10, "totalEarnedBack": 60 } }

Get Recent Transactions

GET /api/gamification/transactions/:userId?limit=20

Get User Badges

GET /api/gamification/badges/:userId

Award XP (Internal)

POST /api/gamification/award { "userId": "302137836", "amount": 50, "source": "habit", "sourceId": "morning-routine", "note": "Completed morning routine" }

Complete Habit (with streak bonus)

POST /api/gamification/habit-complete { "userId": "302137836", "habitId": "workout", "currentStreak": 7 }

Complete Task

POST /api/gamification/task-complete { "userId": "302137836", "taskId": "task-123", "priority": 8 }

Goal Milestone

POST /api/gamification/goal-milestone { "userId": "302137836", "goalId": "goal-456", "milestonePercent": 50 }

Award Badge

POST /api/gamification/badge { "userId": "302137836", "badgeType": "early_bird", "metadata": { "streak": 30 } }

Get Leaderboard

GET /api/gamification/leaderboard

Get XP Config

GET /api/gamification/config

Database Tables

This skill requires the following Supabase tables: user_gamification - User XP totals, levels, streaks xp_transactions - XP award history user_badges - Earned badges

XP Rewards

ActionBase XPNotesHabit completion10-50+ streak bonus up to 2xTask completion5-50Based on priority (1-10)Goal 25% milestone100First quarterGoal 50% milestone200HalfwayGoal 75% milestone300Three quartersGoal 100% completion500Full completion

Check Progress

"What's my XP level?" "How close am I to leveling up?" "Show my gamification stats"

View Achievements

"What badges do I have?" "Show my recent XP transactions" "What's my current streak?"

Leaderboard

"Show the leaderboard" "Who has the most XP?"

Related

goals - Set and track goals habits - Habit tracking system remind - Reminder system daily-briefing - Daily progress summary

Category context

Long-tail utilities that do not fit the current primary taxonomy cleanly.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc