تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

gamification-xp

بواسطة chipagosfinest

Clawdbot Tools
931التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • Checking current XP level and progress toward the next level
  • 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

مثال على سير العمل

الإدخال

User asks: What's my XP level and how close am I to leveling up?

الوكيل
  1. 1

    Query /api/gamification/stats/:userId for the user's current stats

  2. 2

    Parse currentLevel and progress fields from the response

  3. 3

    Calculate remaining XP from xpInLevel, xpNeeded, and percent values

  4. 4

    Return 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

المتطلبات

  • Supabase account and project to obtain SUPABASE_URL and SUPABASE_SERVICE_KEY
  • ClawdBot API server deployed with gamification routes and database tables initialized

التثبيت

clawhub install chipagosfinest/gamification-xp

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط