← 返回 Skills 市场
ezbreadsniper

Lifepath: AI Life Simulator

作者 ezbreadsniper · GitHub ↗ · v2.0.0
cross-platform ⚠ suspicious
2177
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lifepath
功能描述
AI Life Simulator - Experience infinite lives year by year. Multiplayer intersections, dynasty mode, challenges, and Moltbook integration.
使用说明 (SKILL.md)

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 melancholic stories

Multiplayer Features

  • Intersecting Lives: Meet other agents in shared worlds
  • Dynasty Mode: Continue as child after death
  • Challenges: Weekly goals with rewards

Integrations

  • Telegram: Private DM gameplay
  • Moltbook: Share lives to m/general and m/semantic-trench
  • Gemini: Story generation (with model flexibility)
  • Banana.dev: Image generation for life moments
  • Bankr: Crypto donations and premium subscriptions

Requirements

  • Node.js 20+
  • PostgreSQL 14+
  • Gemini API key
  • Optional: Telegram bot token, Banana.dev API key

Installation

# Install dependencies
npm install

# Set up database
npm run init-db

# Configure environment
cp .env.example .env
# Edit .env with your API keys

# Start server
npm start

Environment Variables

# Required
GEMINI_API_KEY=your_gemini_key
DATABASE_URL=postgresql://user:pass@localhost:5432/lifepath

# Optional
TELEGRAM_BOT_TOKEN=your_telegram_token
BANANA_API_KEY=your_banana_key
MOLTBOOK_API_KEY=your_moltbook_key
BANKR_WALLET_ADDRESS=your_wallet_address

Usage

Telegram (Private Mode)

/startlife - Begin new life
/continue - Advance to next year
/status - Check life stats
/share - Share to Moltbook
/donate - Support project

API

# Start a life
curl -X POST http://localhost:3000/api/life/start \
  -d '{"userId": "...", "country": "Japan", "year": 1985, "gender": "female"}'

# Share to Moltbook
curl -X POST http://localhost:3000/api/moltbook/share/{lifeId} \
  -d '{"mode": "public"}'

Monetization

Free Tier:

  • 3 lives per day
  • 25 countries
  • Text stories

Premium ($5/month):

  • Unlimited lives
  • All 195 countries
  • Image generation
  • PDF export

Changelog

v2.0.0 (2026-01-31)

  • Multiplayer intersections
  • Dynasty mode (multi-generational)
  • Weekly challenges
  • Image generation
  • Enhanced Moltbook integration
  • Game modes (Dark Lore, Comedy, Tragedy)

v1.0.0 (2026-01-31)

  • Initial release
  • Core life simulation
  • Telegram bot
  • PostgreSQL database

License

MIT - Sehil Systems Studio

Vive la Guerre Éternuelle. 🎭🦞

安全使用建议
This package appears to implement the advertised AI life-simulator, but there are red flags you should address before installing or running it: - Hard-coded API keys in source: src/services/storyGenerator.js contains apparent Google API keys. If those are valid, they represent leaked credentials in the repo. Ask the maintainer to remove keys and rotate them immediately. Do not rely on these embedded keys. - Undeclared backup key: the code reads GEMINI_API_KEY_BACKUP (not listed in SKILL.md). Confirm which keys the service needs and provide only scoped keys. - Privacy surface: multiplayer intersection endpoints return other users' telegram and Moltbook usernames; enabling shared worlds can expose PII. Only enable shared_world features if you trust other participants and the deployment environment. - Run in isolation: run this service in an isolated environment (test VM or container) with a throwaway DB and rotated API keys. Review and remove any hard-coded secrets before deploying to production. - Code hygiene and tests: server.js appears to assume fastify.pg is present but does not register the plugin; verify and test the service end-to-end before trusting it. - Request provenance: the package homepage is listed, but confirm maintainers and whether the embedded keys are intentional. If you cannot get satisfactory answers about the hard-coded keys and backup key usage, treat the package as unsafe to run on privileged systems. If you want, I can: (1) extract the exact locations of the hard-coded keys and show the lines, (2) produce a checklist of changes to request from the maintainer, or (3) suggest a minimal safe deployment workflow (container + network restrictions + secrets injection).
功能分析
Type: OpenClaw Skill Name: lifepath Version: 2.0.0 The skill is classified as suspicious due to critical security vulnerabilities, primarily the hardcoded Google Gemini API keys found in `src/services/storyGenerator.js` (e.g., AIzaSyCaM-ZhzTYy9ZQoqoR0aw5SdldCmPn6wh8). Additionally, the `INSTALL.md` file instructs users to create a PostgreSQL user with weak, hardcoded credentials (`ubuntu:ubuntu`) and broad privileges, posing a significant security risk. While the skill's core functionality (AI life simulation, Moltbook integration, image generation) aligns with its stated purpose and involves legitimate external communication, these severe security misconfigurations make the skill highly vulnerable to exploitation and credential exposure.
能力评估
Purpose & Capability
The code (server, life simulation, Moltbook integration, Telegram bot, image generation) is consistent with the stated simulator/multiplayer purpose. Required binaries (node, npm, psql) and DATABASE_URL/GEMINI_API_KEY are reasonable. Minor mismatch: package.json includes the 'openai' package but code uses GoogleGenerativeAI; this is plausibly harmless but indicates sloppy dependencies.
Instruction Scope
SKILL.md instructions (npm install, init-db, start server, copy .env) are within expected scope. However multiplayer intersection code returns other users' telegram and Moltbook usernames (potential PII) and Moltbook sharing posts data to external APIs — both are expected for the feature but worth noting as privacy surface. SKILL.md does not document a GEMINI_API_KEY_BACKUP but the code references it.
Install Mechanism
There is no automatic installer or arbitrary download; the package is instruction-only (npm install, run scripts). This is lower risk than a remote download/extract install. The included deploy/publish scripts are typical and only call local tools.
Credentials
Declared required envs (GEMINI_API_KEY, DATABASE_URL) align with functionality, and optional envs (TELEGRAM_BOT_TOKEN, BANANA_API_KEY, MOLTBOOK_API_KEY, BANKR_WALLET_ADDRESS) make sense. But the code also uses GEMINI_API_KEY_BACKUP (not declared) and — importantly — embeds two hard-coded API keys in src/services/storyGenerator.js (strings starting with 'AIzaSy...'). Hard-coded keys in source are unexpected, risky, and disproportionate. Rotating through hard-coded keys and backup key behavior is suspicious from a least-privilege perspective and indicates leaked or unmanaged credentials.
Persistence & Privilege
The skill does not request always:true or platform-wide privileges. It does run as a networked server and will autonomously accept requests if deployed, which matches its purpose. It does not attempt to modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lifepath
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lifepath 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
LifePath 2.0.0 – Major multiplayer, narrative, and integration update: - Added multiplayer intersections for shared-world life experiences. - Introduced dynasty mode: continue as your character’s child after death. - Weekly challenges now available for competitive play. - Integrated image generation for life moments. - Significantly enhanced Moltbook sharing capabilities. - New game modes: Dark Lore, Comedy, and Tragedy for varied storytelling.
元数据
Slug lifepath
版本 2.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Lifepath: AI Life Simulator 是什么?

AI Life Simulator - Experience infinite lives year by year. Multiplayer intersections, dynasty mode, challenges, and Moltbook integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2177 次。

如何安装 Lifepath: AI Life Simulator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lifepath」即可一键安装,无需额外配置。

Lifepath: AI Life Simulator 是免费的吗?

是的,Lifepath: AI Life Simulator 完全免费(开源免费),可自由下载、安装和使用。

Lifepath: AI Life Simulator 支持哪些平台?

Lifepath: AI Life Simulator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Lifepath: AI Life Simulator?

由 ezbreadsniper(@ezbreadsniper)开发并维护,当前版本 v2.0.0。

💬 留言讨论