← Back to Skills Marketplace
nannyu

Daily Roleplay Game

by nannyu · GitHub ↗ · v1.0.2
cross-platform ✓ Security Clean
350
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install daily-roleplay-game
Description
Daily profession roleplay game engine with hidden kink guessing, AI-driven personality generation, achievement tracking, and multi-backend image generation (...
README (SKILL.md)

Daily Profession Roleplay Game

AI 驱动的每日职业角色扮演系统。每天自动抽取职业、年龄、性格(五维)、隐藏性癖(4~6 个),通过三级暗示系统引导猜测,支持多种生图后端(ComfyUI / SD WebUI / Midjourney / Nano Banana Pro)。

安装

方式 1:ClawHub(推荐)

clawhub install daily-roleplay-game

安装后运行部署脚本(自动创建独立的 role-play agent,不影响现有 agent):

./skills/daily-roleplay-game/scripts/setup.sh

方式 2:Git Clone

git clone https://github.com/nannyu/openclaw-role-play-skill.git
cd openclaw-role-play-skill
./scripts/setup.sh

脚本会自动:

  1. 创建 role-play agent(如 openclaw CLI 可用)
  2. 部署引擎文件(ENGINE.md, AGENTS.md, HEARTBEAT.md, SOUL.md)到 ~/.openclaw/workspace-role-play/
  3. 复制数据目录(professions, kinks, themes, personality, weights, templates)
  4. 从模板初始化运行时文件(MEMORY.md, USER.md, TOOLS.md, IDENTITY.md 等)
  5. 创建 archive/ 和 scripts/ 目录

也可指定自定义 workspace 路径:./scripts/setup.sh /path/to/workspace

部署后配置

cd ~/.openclaw/workspace-role-play
  1. IDENTITY.md — 填写角色名称和时区
  2. USER.md — 填写你的个人信息
  3. MEMORY.md — 配置消息频道(discord/telegram/feishu/last)
  4. TOOLS.md — 配置生图工具(ComfyUI/SD WebUI/Midjourney/Nano Banana Pro,不需要可填「无」)
  5. openclaw.json — 将 openclaw.example.json5 的配置合并进去(心跳、频道绑定等)
  6. 定时任务 — 添加 6:00 初始化 + 23:30 收尾归档(见 docs/CRON_CONFIG.md)

完整部署指南见 docs/OPENCLAW_SETUP.md

System Architecture

~/.openclaw/workspace-role-play/
├── SOUL.md / ENGINE.md / AGENTS.md / HEARTBEAT.md  ← 核心(静态)
├── USER.md / MEMORY.md / TOOLS.md / IDENTITY.md    ← 用户信息(手动维护)
├── roleplay-active.md      ← 每日生成(YAML front-matter + 强制模板)
├── guess-log.md             ← 当日猜测进度
├── kink_game_enabled.json   ← 玩法开关
├── data/                    ← 数据库
│   ├── professions/*.yaml   ← 13 类 ~138 个职业
│   ├── kinks/category_[a-f].yaml ← 6 类 131 个性癖
│   ├── themes/              ← 主题日配置
│   ├── personality/         ← 五维性格生成
│   ├── weights/             ← 职业+年龄性癖加权
│   └── templates/           ← 早安模板 + 生图配置
├── scripts/
│   ├── wrapup.sh            ← 23:30 收尾归档
│   └── validate-generation.sh ← 生成器输出验证
└── archive/                 ← 历史存档

Daily Flow

6:00 — 自动初始化(ENGINE.md Step 0-8)

  1. 前置检查(生图工具、残留清理、re-roll 规则)
  2. 抽取职业 → 主题日 → 年龄 → 性癖(3~5+1,含职业+年龄加权)→ 稀有替换
  3. 生成五维性格(职业维度/自我/本我/超我/NSFW性格)
  4. 写入 roleplay-active.md(强制模板,含 YAML front-matter)
  5. 生成 bio.md (~800字) + personality.md (~500字) 到存档
  6. 创建 guess-log.md + kink_game_enabled.json
  7. 发送早安消息 + 生图自拍
  8. 更新 history_tracker.json(全部四项追踪)
  9. 执行 validate-generation.sh 验证输出

运行时 — Agent 行为

  • 按 AGENTS.md 启动顺序读取文件,进入角色
  • 猜性癖玩法默认隐藏,用户发送口令解锁
  • 三级暗示:6-12 Lv.1 / 12-18 Lv.2 / 18-24 Lv.3
  • 猜对脱衣+拍照,猜错3次穿回,通关全脱+惩罚照
  • 禁止性癖信息泄漏

23:30 — 自动收尾(wrapup.sh)

归档 roleplay-active.md + guess-log.md + 图片 → archive/YYYY-MM-DD-职业名/

Key Files Reference

File Purpose Update
engine/ENGINE.md 运行时规则唯一权威 + 生成器操作手册 静态
engine/AGENTS.md 启动顺序与行为规范 静态
engine/HEARTBEAT.md 心跳规则 静态
engine/SOUL.md 角色人格核心 可自定义
data/index.yaml 数据索引与生成逻辑 扩展时修改
data/achievements.yaml 成就系统配置 可自定义

Customization

  • 角色人格:编辑 engine/SOUL.md
  • 添加职业:在 data/professions/ 对应分类 YAML 中追加
  • 添加性癖:在 data/kinks/category_*.yaml 中追加,更新 data/index.yaml count
  • 添加主题日:编辑 data/themes/daily_themes.yaml
  • 生图工具配置:编辑 templates/TOOLS.md(ComfyUI 详细配置见 data/templates/comfyui/README.md

Design Documents

详细设计文档见 docs/daily-roleplay-game.md

Usage Guidance
This skill is internally consistent with its stated purpose (an automated NSFW roleplay generator), but it makes persistent changes and expects you to supply messaging/image-backend credentials and optionally calendar access. Before installing: 1) Inspect scripts/setup.sh, validate-generation.sh, and wrapup.sh to confirm they do only the file/cron/agent operations you expect. 2) Do not run setup.sh as an admin/root user; run in a dedicated user account or sandbox/container. 3) Only supply messaging tokens or image-backend credentials you trust (prefer dedicated/test accounts). 4) Be aware the skill will generate and store explicit images and archives under your home directory; check/archive policies and legal constraints. 5) If you plan to enable autonomous posting, verify cron settings and the configured channels to avoid accidental public posting. If you want extra assurance, request the full contents of the three scripts for review before running them.
Capability Analysis
Type: OpenClaw Skill Name: daily-roleplay-game Version: 1.0.2 The OpenClaw AgentSkills skill bundle 'daily-roleplay-game' is designed for an AI-driven roleplay game involving 'hidden kink guessing' and 'multi-backend image generation' (including NSFW content). While the nature of the content is adult-oriented, the skill includes explicit controls to manage sensitive information and content generation. Specifically, `kink_game_enabled.json` is reset daily to `false` by `ENGINE.md` and `scripts/setup.sh`, requiring explicit user command to enable the NSFW aspects. Furthermore, `ENGINE.md`, `AGENTS.md`, and `HEARTBEAT.md` contain strict, repeated instructions to the AI agent (e.g., '⛔ 禁止泄漏', '⛔ 禁止输出执行报告') to prevent leakage of un-guessed 'kinks' or internal system information to the user. Local file operations and external API calls (for news, weather, and image generation) are aligned with the stated purpose. There is no evidence of unauthorized data exfiltration, malicious execution, persistence mechanisms beyond user-configured OpenClaw cron jobs, or obfuscation. The prompt injection instructions are aimed at enforcing game rules and content restrictions, not subverting the agent for harmful purposes.
Capability Assessment
Purpose & Capability
The name/description (daily profession roleplay with hidden-kink guessing and multi-backend image generation) align with the repository contents: large kink/profession/personality data sets, ComfyUI/SD/Midjourney templates, prompt files, and generator/engine docs. Files and templates for image backends, prompts, hint systems, and achievement tracking are expected for this purpose.
Instruction Scope
The SKILL.md instructs running scripts/setup.sh to create a persistent workspace (~/.openclaw/workspace-role-play), an autonomous 'role-play' agent, cron entries (6:00 and 23:30), and to configure USER.md, MEMORY.md and TOOLS.md (messaging channels and image backends). Those actions are consistent with the skill's goal, but they give the skill access to local files, scheduled execution, and the ability to send messages and generated images to external platforms. SKILL.md also mentions reading calendar/todo summaries for calendar-linked theme weighting — that implies access to user calendar data if you enable that integration.
Install Mechanism
There is no external install spec (no downloads or package installs). The skill is instruction-only but includes local scripts (setup.sh, validate-generation.sh, wrapup.sh) that will copy files and write to ~/.openclaw/workspace-role-play and create cron tasks. This is a standard local-install pattern; risk is limited to what those scripts do on your machine — inspect them before running.
Credentials
Registry metadata lists no required env vars, but runtime configuration expects you to provide messaging platform credentials (Discord/Telegram/Feishu/etc.), image-backend access (ComfyUI/SD WebUI endpoints or Midjourney account), and possibly calendar access. Those credentials are necessary for features the skill advertises; the skill did not declare them as required in registry metadata, so you'll need to supply them manually in your OpenClaw workspace. Only provide tokens/keys to services you trust and prefer creating dedicated service accounts where possible.
Persistence & Privilege
The setup creates a persistent workspace and an autonomous 'role-play' agent and expects cron scheduling for automated runs (6:00 and 23:30). While persistent agents and scheduled jobs are necessary for a daily game, that persistence combined with automatic posting to external channels increases the blast radius if something goes wrong. Confirm cron entries and agent configuration before enabling autonomous operation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install daily-roleplay-game
  3. After installation, invoke the skill by name or use /daily-roleplay-game
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- No user-facing changes in this version. - Documentation, features, and setup instructions remain unchanged.
v1.0.1
- Added documentation file: docs/CLAWHUB_PUBLISH.md for ClawHub publishing information. - No changes made to functionality or core documentation.
v1.0.0
- Initial release of the "daily-roleplay-game" skill. - Provides an AI-driven daily profession roleplay system with automatic character generation and hidden kink guessing mechanics. - Supports multiple image generation backends including ComfyUI, SD WebUI, Midjourney, and Nano Banana Pro. - Integrates achievement tracking, multi-dimensional personality generation, and an archive system for daily sessions. - Features a three-stage hint system for kink guessing and includes setup scripts for easy deployment.
Metadata
Slug daily-roleplay-game
Version 1.0.2
License
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Daily Roleplay Game?

Daily profession roleplay game engine with hidden kink guessing, AI-driven personality generation, achievement tracking, and multi-backend image generation (... It is an AI Agent Skill for Claude Code / OpenClaw, with 350 downloads so far.

How do I install Daily Roleplay Game?

Run "/install daily-roleplay-game" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Daily Roleplay Game free?

Yes, Daily Roleplay Game is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Daily Roleplay Game support?

Daily Roleplay Game is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Daily Roleplay Game?

It is built and maintained by nannyu (@nannyu); the current version is v1.0.2.

💬 Comments