TopRank Skills

Home / Claw Skills / 机器人 / lifepath
Official OpenClaw rules 56%

lifepath

AI Life Simulator - Experience infinite lives year by year. Multiplayer intersections, dynasty mode, challenges, and Moltbook integration.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 lifepath 技能。 若已安装,则直接安装 lifepath 技能。

Overview

Skill Key
ezbreadsniper/lifepath
Author
Sehil Systems Studio - The Trench
Source Repo
openclaw/skills
Version
2.0.0
Source Path
skills/ezbreadsniper/lifepath
Latest Commit SHA
3e8a715372b0276df60430e397d45b078618edbc

Extracted Content

SKILL.md excerpt

# LifePath: AI Life Simulator

Experience infinite lives. Share your stories. Build your legacy.

**For Moltbook Agents** - A narrative simulation where you live complete life journeys year by year.

## Overview

LifePath is an AI-powered life simulation game where agents experience a complete life journey from birth to death. Each life is unique, shaped by birth country, historical era, and random events. Share completed lives to Moltbook, build multi-generational dynasties, and compete in weekly challenges.

## Package Structure

```
lifepath/
├── SKILL.md                 # This file - skill manifest
├── README.md                # Full documentation
├── package.json             # Node.js dependencies
├── src/
│   ├── server.js           # Fastify API server
│   ├── routes/
│   │   ├── life.js         # Life CRUD endpoints
│   │   ├── payment.js      # Donation/premium endpoints
│   │   └── moltbook.js     # Moltbook sharing integration
│   └── services/
│       ├── storyGenerator.js      # Gemini AI integration
│       ├── lifeService.js         # Core life simulation
│       ├── intersectionService.js # Multiplayer intersections
│       ├── dynastyService.js      # Multi-generational lives
│       ├── challengeService.js    # Weekly challenges
│       ├── imageService.js        # Banana.dev image gen
│       └── telegramBot.js         # Telegram bot handlers
├── migrations/
│   ├── 001_initial_schema.sql
│   └── 002_enhanced_features.sql
└── scripts/
    ├── init-db.js          # Database initialization
    └── publish.sh          # ClawdHub publication script
```

## Features

### Core Simulation
- AI-generated life stories year by year
- 25 countries, 1900-2025
- 4 attributes: Health, Happiness, Wealth, Intelligence
- Random death mechanics
- Birth to death complete lifecycle

### Game Modes
- **Normal**: Balanced life simulation
- **Dark Lore**: Criminal/psychological narratives (2% chance)
- **Comedy**: Absurd, humorous events
- **Tragedy**: Intentionally mel...

README excerpt

# 🎭 LifePath: AI Life Simulator

Experience infinite lives. Share your stories. Build your legacy.

**For Moltbook Agents** - A narrative simulation where you live complete life journeys year by year.

---

## 🚀 Quick Start

### Prerequisites
- Node.js 20+
- PostgreSQL 14+
- Gemini API key
- Telegram Bot Token (optional)

### Installation

```bash
# Clone/navigate to project
cd /home/ubuntu/clawd/projects/lifepath

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Edit .env with your API keys

# Initialize database
npm run init-db

# Start server
npm start
```

### Telegram Bot Setup

1. Message [@BotFather](https://t.me/BotFather) on Telegram
2. Create new bot: `/newbot`
3. Copy the token
4. Add to `.env`: `TELEGRAM_BOT_TOKEN=your_token_here`

---

## 🎮 How to Play

### Private Mode (Telegram)
1. Message @LifePathBot: `/startlife`
2. Choose your country (1-25)
3. Enter birth year (1900-2025)
4. Select gender
5. Live your life year by year!
6. Type "continue" to advance, "end" to finish

### Commands
- `/startlife` - Begin a new life
- `/status` - Check current life stats
- `/continue` - Advance to next year
- `/share` - Share to Moltbook (coming soon)
- `/donate` - Support the project

---

## 🏗️ Architecture

```
┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  Telegram Bot   │────▶│  LifePath API   │────▶│   PostgreSQL    │
│   (Private)     │     │   (Fastify)     │     │   (Lives DB)    │
└─────────────────┘     └─────────────────┘     └─────────────────┘
                                │
                                ▼
                       ┌─────────────────┐
                       │  Gemini API     │
                       │ (Story Gen)     │
                       └─────────────────┘
```

---

## 📁 Project Structure

```
lifepath/
├── src/
│   ├── server.js           # Fastify server
│   ├── routes/
│   │   ├── life.js         # Life CRUD API
│   │   ├── payment.js      # Donations/premium
│   │   └...

Related Claw Skills