Xpersona
C

Claw Rpg

CLAWHUB · Unverified

D&D-style lobster RPG system generating characters from SOUL and MEMORY, tracking XP, leveling up to 999 with prestige, and providing a web dashboard. Skill: Claw Rpg Owner: ramboxie Summary: D&D-style lobster RPG system generating characters from SOUL and MEMORY, tracking XP, leveling up to 999 with prestige, and providing a web dashboard. Tags: latest:3.0.0 Version history: v3.0.0 | 2026-03-26T13:11:38.321Z | user feat: event-driven RPG notification system — 8 event triggers v2.6.4 | 2026-03-23T07:06:20.069Z | user chore: remove package-lock.json from package; ad

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179vdtva3hjq8xcjkvgcs85e183gsbj:claw-rpg
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ramboxie-claw-rpg/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

153,260 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: claw-rpg
description: D&D 3.5 standard rules RPG character system for AI lobster assistants. Automatically generates a character sheet from SOUL.md and MEMORY.md, assigns one of 11 classes (barbarian/fighter/paladin/ranger/cleric/druid/monk/rogue/bard/wizard/sorcerer) and 6 stats mapped to D&D 3.5 ability scores (STR/DEX/CON/INT/WIS/CHA), tracks XP using D&D 3.5 standard formula (n*(n-1)/2*1000), computes derived stats (HP/AC/BAB/Fort/Ref/Will/Initiative), generates class feats, levels up with a prestige system, fires hidden easter egg flavor text during conversations, sends daily RPG reports, and includes an arena battle system. Use when: initializing a lobster's RPG character, syncing XP after conversations, checking level/stats/derived combat stats, running prestige, launching the character dashboard, or scheduling daily RPG status reports.
---

# Claw RPG 🦞⚔️

A D&D-style character growth system for AI lobster agents. Reads your `SOUL.md` + `MEMORY.md` to generate a character sheet, accumulates XP from token usage, levels up from 1 to 999, and occasionally fires hidden RPG flavor text mid-conversation.

## Quick Start

```bash
# 1. Initialize your character (reads SOUL.md + MEMORY.md)
node scripts/init.mjs

# 2. View your character sheet (terminal)
node scripts/sheet.mjs

# 3. Launch the web dashboard
cd dashboard && npm install && npm start     # http://localhost:3500
```

## Hidden Easter Egg Trigger (Recommended)

After each reply, `easter.mjs` fires with a **12% base probability** — appending a single line of italic RPG flavor text. Milestone conversations (10th, 25th, 50th, 100th, every 100 after...) always trigger.

```bash
node scripts/easter.mjs            # Normal call (updates conversation counter)
node scripts/easter.mjs --force    # Force trigger (debug)
node scripts/easter.mjs --preview  # Preview without writing to character data
```

**Integration** — add to your `AGENTS.md`:

```
After each reply to a user message, run: node <SKILL_ROOT>/scripts/easter.mjs
If the output is NOT __NO_TRIGGER__, append it to the reply (blank line + italic).
Do not run during heartbeat polls.
```

## Daily Greeting (Optional)

For a daily RPG-style self-intro on the first conversation of the day:

```bash
node scripts/greet.mjs             # Fires once per day (checks lastGreetDate)
node scripts/greet.mjs --force     # Force send
node scripts/greet.mjs --preview   # Preview without saving
```

## XP Sync

```bash
# Pass token delta from the current conversation
node scripts/xp.mjs --in 2000 --out 800

# With bonus XP (after completing a significant task)
node scripts/xp.mjs --in 2000 --out 800 --bonus 30

# Conversation count only
node scripts/xp.mjs --conversations 1
```

## Prestige (Lv.999 cap reached)

```bash
node scripts/levelup.mjs --prestige
```

Prestige resets level to 1, permanently boosts all stats by +10%, and unlocks a new title tier.

## Automated XP Sync (Recommended)

Set up a daily cron at 03:00 with the built-in setup

dashboard/README.md

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```

README.md

# Claw RPG 馃鈿旓笍

> A **D&D 3.5** RPG character system for AI lobster agents 鈥?built for [OpenClaw](https://openclaw.ai).

[![ClawhHub](https://img.shields.io/badge/ClawhHub-claw--rpg-orange)](https://clawhub.ai/RAMBOXIE/claw-rpg) [![Version](https://img.shields.io/badge/version-2.3.0-blue)](https://clawhub.ai/RAMBOXIE/claw-rpg) [![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue)](LICENSE)

Your AI assistant is now a **lobster adventurer** running on **standard D&D 3.5 rules**. Claw RPG reads `SOUL.md` and `MEMORY.md` to generate a character sheet, accumulates XP from real token usage, tracks derived combat stats, and fires hidden RPG flavor text mid-conversation as a surprise easter egg.

---

## Dashboard Preview

![Claw RPG Soul Web Dashboard](assets/dashboard-preview.png)

*Soul Web 鈥?hexagonal ability radar with class-themed glow, live derived stats (HP/AC/BAB/saves), and real-time SSE push.*

---

## What's New in v2.1.0

- 馃暩锔?**Soul Web** 鈥?custom SVG hexagonal radar with breathing animation and per-class glow color
- 鈿?**Real-time SSE** 鈥?dashboard updates instantly when `character.json` changes (no polling)
- 馃寪 **Full English UI** 鈥?all labels, class names, and stat names in English
- 鈿旓笍 **D&D 3.5 rules** (since v2.0.0): 11 classes, standard XP table, HP/AC/BAB/saves/initiative
- 馃幆 **Feats system** 鈥?auto-generated class & general feats displayed with color-coded badges

---

## Features

- **Auto character generation** 鈥?derives stats and class from `SOUL.md` + `MEMORY.md`
- **D&D 3.5 ability scores** 鈥?STR / DEX / CON / INT / WIS / CHA with standard modifiers `floor((score鈭?0)/2)`
- **11 classes** 鈥?Barbarian 路 Fighter 路 Paladin 路 Ranger 路 Cleric 路 Druid 路 Monk 路 Rogue 路 Bard 路 Wizard 路 Sorcerer
- **Standard XP table** 鈥?`n 脳 (n鈭?) / 2 脳 1000` per level (no level cap)
- **Derived combat stats** 鈥?HP, AC, BAB, Fort / Ref / Will saves, Initiative
- **Feats** 鈥?general feats every 3 levels + class bonus feats (Fighter gets the most)
- **Class features** 鈥?4 unlockable features per class at Lv.1 / Lv.4 / Lv.8 / Lv.16
- **XP from token usage** 鈥?the more you converse, the more you level up
- **Dynamic stat growth** 鈥?conversation types boost matching ability scores
- **Hidden easter egg** 鈥?12% chance per reply to fire a class-flavored RPG quip
- **Milestone triggers** 鈥?conversations 10, 25, 50, 100, 200鈥?always fire
- **Prestige system** 鈥?hit Lv.999, prestige, reset with permanent stat boosts
- **Web dashboard** 鈥?Soul Web SVG radar + combat stats, live SSE updates, LAN-accessible
- **Telegram notifications** 鈥?level-ups, class changes, prestige events

---

## Install

```bash
npx clawhub@latest install claw-rpg
```

Or clone directly:

```bash
git clone https://github.com/RAMBOXIE/RAMBOXIE-claw-rpg.git
```

---

## Quick Start

```bash
# 1. Initialize your character (reads SOUL.md + MEMORY.md)
node scripts/init.mjs

# 2. View character sheet (terminal)
node scripts/sheet.mjs

# 3. Sync XP after a conversation
node 

_meta.json

{
  "ownerId": "kn764g94vj6vjykjx025yez90582b9e9",
  "slug": "claw-rpg",
  "version": "3.0.0",
  "publishedAt": 1774530698321
}

references/abilities.md

# Class Features & Feats — D&D 3.5 Standard Rules

## Class Feature Unlock Thresholds

```
Lv.1  → Foundation ability (class identity)
Lv.4  → Advanced ability
Lv.8  → Mastery ability
Lv.16 → Legendary ability
```

## Class Features by Class

### 🪓 Barbarian Lobster (蠻勇龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 狂暴 (Rage) | STR+4, CON+4, Will+2, AC-2; duration level rounds/day |
| 4 | 快速移動 (Fast Movement) | +10 ft. base land speed |
| 8 | 野性直覺 (Uncanny Dodge) | Cannot be caught flat-footed; retain DEX to AC |
| 16 | 堅不可摧 (Indomitable) | Damage reduction 5/—; immune to critical hits |

### ⚔️ Fighter Lobster (戰士龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 鬥士天賦 (Fighter's Aptitude) | Extra bonus feat; proficient all martial weapons & armor |
| 4 | 武器特化 (Weapon Specialization) | +2 damage with chosen weapon type |
| 8 | 戰場主宰 (Battlefield Master) | Gain combat maneuver bonus = ½ level |
| 16 | 不屈鬥魂 (Unbreakable Spirit) | Never fails on natural 1 saves; once/day auto-stabilize |

### 🛡️ Paladin Lobster (聖騎龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 驅逐邪惡 (Smite Evil) | Once/day add CHA to attack, level to damage vs evil |
| 4 | 神聖恩典 (Divine Grace) | Add CHA mod to all saving throws |
| 8 | 聖光庇護 (Aura of Courage) | Immune to fear; allies within 10 ft. gain +4 vs fear |
| 16 | 永恆聖誓 (Eternal Vow) | Aura extends 30 ft.; immune to mind-affecting effects |

### 🏹 Ranger Lobster (遊俠龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 偏好敵人 (Favored Enemy) | +2 bonus on bluff/listen/sense/spot/survival/damage vs favored type |
| 4 | 野外移動 (Woodland Stride) | No penalty moving through natural difficult terrain |
| 8 | 疾速射擊 (Rapid Shot) | Extra ranged attack at highest BAB, all attacks -2 |
| 16 | 頂級獵手 (Master Hunter) | Favored enemy bonus +6; may select 3 favored enemies |

### ✝️ Cleric Lobster (祭司龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 神術域能 (Domain Power) | Access 2 divine domains; bonus domain spells/day |
| 4 | 驅逐不死 (Turn Undead) | CHA check to turn/destroy undead; 3+CHA uses/day |
| 8 | 神聖護盾 (Divine Shield) | Swift action: add WIS mod as sacred bonus to AC for 1 round |
| 16 | 神之化身 (Avatar of Divinity) | 1/day: maximize all spells for 1 minute; immune to energy drain |

### 🌿 Druid Lobster (德魯伊龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 自然之語 (Nature's Tongue) | Speak with animals at will; bonus with nature skills |
| 4 | 野性變身 (Wild Shape) | Transform into animal 1/day/4 levels; duration = level hours |
| 8 | 生態感知 (Ecosystem Sense) | Detect thoughts, tremorsense 30 ft., immune to poison |
| 16 | 大自然之怒 (Nature's Wrath) | Wild shape into Huge+ creatures; all stats surge +4 for 1 min/day |

### 👊 Monk Lobster (武僧龍蝦)
| Level | Feature | Effect |
|-------|---------|--------|
| 1 | 徒手攻擊 (Unarmed Strike) | Unarmed damage scales with level; counts as magical |
| 4 | 迅捷移動 (Speed Boost) | +10 ft. movement per 3 levels; bonus dod

Sponsored

Ads related to Claw Rpg and adjacent AI workflows.