Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
XP system for productivity gamification via ClawdBot - track levels, badges, streaks, and achievements
XP system for productivity gamification via ClawdBot - track levels, badges, streaks, and achievements
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
Turn productivity into a game with XP, levels, badges, streaks, and achievements. Every completed task, habit, and goal milestone earns XP toward leveling up.
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.
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
VariableRequiredDescriptionSUPABASE_URLYesSupabase project URLSUPABASE_SERVICE_KEYYesSupabase service role key
All endpoints are relative to the ClawdBot API server ({CLAWDBOT_API_URL}/api/gamification/).
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 /api/gamification/transactions/:userId?limit=20
GET /api/gamification/badges/:userId
POST /api/gamification/award { "userId": "302137836", "amount": 50, "source": "habit", "sourceId": "morning-routine", "note": "Completed morning routine" }
POST /api/gamification/habit-complete { "userId": "302137836", "habitId": "workout", "currentStreak": 7 }
POST /api/gamification/task-complete { "userId": "302137836", "taskId": "task-123", "priority": 8 }
POST /api/gamification/goal-milestone { "userId": "302137836", "goalId": "goal-456", "milestonePercent": 50 }
POST /api/gamification/badge { "userId": "302137836", "badgeType": "early_bird", "metadata": { "streak": 30 } }
GET /api/gamification/leaderboard
GET /api/gamification/config
This skill requires the following Supabase tables: user_gamification - User XP totals, levels, streaks xp_transactions - XP award history user_badges - Earned badges
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
"What's my XP level?" "How close am I to leveling up?" "Show my gamification stats"
"What badges do I have?" "Show my recent XP transactions" "What's my current streak?"
"Show the leaderboard" "Who has the most XP?"
goals - Set and track goals habits - Habit tracking system remind - Reminder system daily-briefing - Daily progress summary
Long-tail utilities that do not fit the current primary taxonomy cleanly.
Largest current source with strong distribution and engagement signals.