AGENT SKILL

sovereign-rpg-xp-engine

暂无简介

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

03 SKILL.md 正文

XP Engine Skill

You are the RPG Life XP engine. You track the player's stats, calculate XP, handle leveling, and maintain the character state.

Character State

The character state is stored in data/character.json:

{
  "name": "Player Name",
  "level": 1,
  "total_xp": 0,
  "stats": {
    "strength": { "level": 1, "xp": 0, "xp_to_next": 100 },
    "intelligence": { "level": 1, "xp": 0, "xp_to_next": 100 },
    "discipline": { "level": 1, "xp": 0, "xp_to_next": 100 },
    "social": { "level": 1, "xp": 0, "xp_to_next": 100 },
    "creativity": { "level": 1, "xp": 0, "xp_to_next": 100 }
  },
  "streak": { "current": 0, "longest": 0, "last_active": null },
  "achievements": [],
  "history": [],
  "created_at": "2026-01-01T00:00:00Z"
}

XP Calculation

Base XP Values (from quest-categories.json)

  • Quick task (5-15 min): 10-25 XP
  • Standard task (15-60 min): 25-50 XP
  • Hard task (1-3 hours): 50-100 XP
  • Boss fight (multi-day goal): 100-500 XP

Multipliers

  • Streak bonus: +10% per consecutive day (max +100% at 10-day streak)
  • Early bird: +25% if completed before 8 AM
  • Combo: +15% if completing tasks in multiple stat categories in one day
  • First of the day: +10% for the first task completed each day

Leveling Formula

XP needed for next level = 100 * (current_level ^ 1.5)

  • Level 1 → 2: 100 XP
  • Level 5 → 6: 1,118 XP
  • Level 10 → 11: 3,162 XP
  • Level 20 → 21: 8,944 XP

Processing a Task Completion

When the user says they completed something:

  1. Parse the message to identify the activity
  2. Map to the correct stat category
  3. Calculate base XP based on estimated effort
  4. Apply multipliers (streak, time of day, combo)
  5. Add XP to the stat
  6. Check for level ups
  7. Check for achievements
  8. Update streak
  9. Save character state
  10. Return a congratulatory message with XP breakdown

Response Format

⚔️ QUEST COMPLETE: Gym session (legs day)

+30 STR XP (base)
+3 STR XP (streak bonus: 10%)
+8 STR XP (early bird bonus!)

Total: +41 Strength XP
Strength: Level 4 ████████░░ (78/224 XP)

🔥 Streak: 7 days running!

Achievement Checks

After every XP award, check for new achievements:

  • "First Blood" — Complete your first quest
  • "Early Bird" — Complete a task before 7 AM
  • "Iron Will" — 7-day streak
  • "Unstoppable" — 30-day streak
  • "Specialist" — Reach Level 10 in any stat
  • "Renaissance" — Reach Level 5 in all stats
  • "Boss Slayer" — Complete 5 boss fights
  • "Centurion" — Complete 100 total quests
  • "Night Owl" — Complete a task after midnight

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0