Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
v1.1.0: Added ClawdBot integration context, declared env vars (SUPABASE_URL, SUPABASE_SERVICE_KEY), clarified architecture and database tables
What This Skill Does
XP system for ClawdBot that awards points for completing habits, tasks, and goal milestones. Users earn XP toward leveling up, unlock badges, and build streaks with up to 2x bonus multipliers. Data is stored in Supabase via the ClawdBot API server.
Ties habit tracking, task completion, and goal milestones into a single XP ledger so productivity progress across all activity types is visible in one place.
When to use it
- Checking current XP level and progress toward the next level
- Viewing earned badges after completing a 30-day streak
- Comparing XP totals with other users on the leaderboard
- Reviewing XP transaction history after a goal milestone
- Tracking weekly XP contributions from daily habit completions
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What's my XP level and how close am I to leveling up?
- 1Query /api/gamification/stats/:userId for the user's current stats
- 2Parse currentLevel and progress fields from the response
- 3Calculate remaining XP from xpInLevel, xpNeeded, and percent values
- 4Return a summary of level, XP earned in current level, and percentage to next level
Level 7, 150/450 XP in current level, 33% to Level 8
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.