# Send Daily Roleplay Game to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "daily-roleplay-game",
    "name": "Daily Roleplay Game",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/nannyu/daily-roleplay-game",
    "canonicalUrl": "https://clawhub.ai/nannyu/daily-roleplay-game",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/daily-roleplay-game",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=daily-roleplay-game",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "data/achievements.yaml",
      "data/age_profiles.yaml",
      "data/holidays_china.json",
      "data/index.yaml"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/daily-roleplay-game"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/daily-roleplay-game",
    "downloadUrl": "https://openagent3.xyz/downloads/daily-roleplay-game",
    "agentUrl": "https://openagent3.xyz/skills/daily-roleplay-game/agent",
    "manifestUrl": "https://openagent3.xyz/skills/daily-roleplay-game/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/daily-roleplay-game/agent.md"
  }
}
```
## Documentation

### 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

脚本会自动：

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

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

### 部署后配置

cd ~/.openclaw/workspace-role-play

IDENTITY.md — 填写角色名称和时区
USER.md — 填写你的个人信息
MEMORY.md — 配置消息频道（discord/telegram/feishu/last）
TOOLS.md — 配置生图工具（ComfyUI/SD WebUI/Midjourney/Nano Banana Pro，不需要可填「无」）
openclaw.json — 将 openclaw.example.json5 的配置合并进去（心跳、频道绑定等）
定时任务 — 添加 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/                 ← 历史存档

### 6:00 — 自动初始化（ENGINE.md Step 0-8）

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

FilePurposeUpdateengine/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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: nannyu
- Version: 1.0.2
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/daily-roleplay-game)
- [Send to Agent page](https://openagent3.xyz/skills/daily-roleplay-game/agent)
- [JSON manifest](https://openagent3.xyz/skills/daily-roleplay-game/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/daily-roleplay-game/agent.md)
- [Download page](https://openagent3.xyz/downloads/daily-roleplay-game)