Duolingo for your AI assistant โ gamified OpenClaw tracking
Your AI grows. You get the credit. ClawRecord automatically tracks your OpenClaw usage and turns it into XP, achievements, leagues, and a personal dashboard โ all shareable to X.
# 1. Clone into your OpenClaw directory
git clone https://github.com/luka2chat/clawrecord.git
cd clawrecord
# 2. Install the hook
cp -r hooks/clawrecord-hook ~/.openclaw/hooks/
openclaw hooks enable clawrecord-hook && openclaw gateway restart
# 3. Generate your dashboard
python3 scripts/collect.py && python3 scripts/score.py && python3 scripts/generate_pages.py
# 4. Open it!
open docs/index.html # macOS, or xdg-open on LinuxThat's it. Your personal ClawRecord dashboard is ready.
ClawRecord adapts to your experience level with a guided learning path:
| Step | What you'll learn | Reward |
|---|---|---|
| 1 | Send your first message | ๐ฅ First Steps badge |
| 2 | Use a tool call | ๐ง Tool Wielder badge |
| 3 | Complete a session | ๐ฃ Session Runner badge |
| 4 | Unlock your first achievement | โญ First star |
| 5 | Reach Level 3 | ๐ฃ Apprentice Tamer rank |
| Goal | How to get there | Reward |
|---|---|---|
| Build a 7-day streak | Use OpenClaw every day | ๐ฅ On Fire badge |
| Reach Gold league | Earn 1,500+ weekly XP | ๐ฅ Gold league status |
| Master a skill to Lv.5 | Focus on one skill area | ๐ง Skill specialist badge |
| Unlock 10 achievements | Explore different features | ๐ Achievement wall |
| Deploy your dashboard | Push to GitHub Pages | ๐ Live personal dashboard |
| Goal | How to get there | Reward |
|---|---|---|
| Join the global leaderboard | PR to clawrecord-leaderboard | ๐ Global ranking |
| Reach Diamond league | 40,000+ weekly XP | ๐ Diamond status |
| Earn a Legend badge | Max out any achievement | โญโญโญโญโญ Legend tier |
| 30-day streak | Consistent daily usage | ๐ฅ Unstoppable badge |
| Share profile on X | Click share button | ๐ข Social recognition |
| Feature | Description |
|---|---|
| ๐ Auto Data Collection | Hook + session parser extracts metrics from OpenClaw runtime |
| โญ XP System | Earn XP from messages, tool calls, multi-turn conversations, skill diversity |
| ๐ Level & Evolution | Progress from ๐ฅ Novice Tamer to ๐ AI Overlord across 8 ranks |
| ๐ฅ Streak & HP | Daily streak with freeze protection, health decay, and recovery mechanics |
| ๐ Daily Quests | 3 rotating daily challenges (Combo + Challenge + Streak) with bonus XP |
| Feature | Description |
|---|---|
| ๐ 47 Achievements | 21 badge types with up to 5 tiers each (Bronze โ Legend) |
| ๐ณ 6 Skill Trees | ๐ป Coding ยท โ๏ธ Content ยท ๐ Research ยท ๐ฌ Communication ยท โ๏ธ Automation ยท ๐ Data |
| ๐๏ธ 10-Tier Leagues | ๐ค Bronze โ ๐ Diamond with promotion tracking |
| ๐ Global Leaderboard | Decentralized via GitHub โ zero infrastructure cost |
| ๐ฆ Share to X | One-click sharing of profile, achievements, streaks, and records |
| ๐บ๏ธ Learning Path | Guided journey from beginner to advanced with progress tracking |
| Level | Rank | Icon | XP Required |
|---|---|---|---|
| 1 | Novice Tamer | ๐ฅ | 0 |
| 3 | Apprentice Tamer | ๐ฃ | 500 |
| 5 | Assistant Tamer | ๐ฅ | 1,500 |
| 10 | Senior Tamer | ๐ฆ | 5,000 |
| 20 | Claw Master | ๐ฆ | 15,000 |
| 35 | AI Expert | ๐ค | 40,000 |
| 50 | AI Sage | ๐ง | 80,000 |
| 100 | AI Overlord | ๐ | 200,000 |
๐ค Bronze โ ๐ฅ Silver โ ๐ฅ Gold โ ๐ Sapphire โ ๐ด Ruby โ ๐ข Emerald โ ๐ฃ Amethyst โ โช Pearl โ ๐ค Obsidian โ ๐ Diamond
Leagues are determined by your weekly XP. The dashboard shows your progress toward the next league with a visual progress bar.
ClawRecord includes one-click sharing to X (Twitter) throughout the dashboard:
- Profile share โ Your level, Claw Power, and rank
- League share โ Your current league and weekly XP
- Achievement share โ Your badge collection progress
- Record share โ Your personal best stats
All share links include #ClawRecord #OpenClaw hashtags and Open Graph meta tags for rich link previews.
OpenClaw Runtime โ Hook (real-time) โ collect.py โ score.py โ generate_pages.py โ GitHub Pages
Session JSONL โโโโโ โ
public_profile.json โ Global Registry โ Leaderboard
clawrecord/
โโโ hooks/clawrecord-hook/ # OpenClaw hook for real-time event capture
โโโ scripts/
โ โโโ collect.py # Data collection from OpenClaw runtime
โ โโโ score.py # XP / achievement / level calculation engine
โ โโโ generate_pages.py # Static dashboard generator (v3)
โ โโโ utils.py # Shared utilities
โโโ data/
โ โโโ config.json # Game rules, levels, 47 achievements, leagues
โ โโโ raw/ # Auto-collected metrics (do not edit)
โ โโโ user_stats.json # Computed user state
โ โโโ tasks.json # Auto-detected daily tasks
โ โโโ check_ins.json # Daily check-in records
โ โโโ public_profile.json # Public data for global leaderboard
โโโ docs/ # Generated static dashboard
โโโ .github/workflows/ # CI/CD pipeline (daily cron)
- All XP is computed from verified OpenClaw runtime logs
data/raw/is machine-generated โ manual edits are ignored by the pipelinepublic_profile.jsonincludes a SHA-256 signature for integrity verification- The global registry checks XP growth rate anomalies
Contributions welcome! Feel free to:
- ๐ Report bugs via Issues
- ๐ก Suggest features via Discussions
- ๐ง Submit PRs for improvements
This project is open source. See LICENSE for details.
Powered by OpenClaw & GitHub Actions
โญ Star this repo if you find it useful!