Damages9

Rp — Development skill for Claude Code

Development community

在当前目录下启动话本RP流程.

How to install Rp

Installs to ~/.claude/commands/damages9-airp_claudecode-rp.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Damages9/AIRP_ClaudeCode/HEAD/.claude/commands/rp.md -o ~/.claude/commands/damages9-airp_claudecode-rp.md

Restart Claude Code, or start a new session, for it to be picked up.

What Rp does

在当前目录下启动话本RP流程。

第一步:扫描当前目录

查找素材文件(PNG角色卡、JSON世界书、TXT小说):

  • Glob 搜索 *.png, *.json, *.txt
  • 同时检查 chat_log.json 和 memory/ 是否存在

第二步:根据扫描结果执行

情况 A — 有素材,无 chat_log.json(新卡开局)

按 CLAUDE.md「自动启动流程」步骤 0-8 完整执行:

  1. 清理残留 Python 进程,确认端口 8765 空闲
  2. 启动桥接服务器 python skills/server.py &
  3. 写入卡片路径到 skills/styles/.card_path
  4. 按 CLAUDE.md「自动启动流程」步骤 1-6 完整执行(导入管线 → 服务器 → 上下文 → ScheduleWakeup 输入监听 → 开局交付)
  5. 告知用户:「前端已就绪,打开 http://localhost:8765」「在输入框打字,点提交即可」

情况 B — 有 chat_log.json

Alternatives in Development

  • Auto Update — Pull the latest ECC repo changes and reinstall the current managed targets 243.5k ★
  • Sharing Skills — skill for guidance 115.1k ★
  • Template Skill — Minimal skeleton for a new skill project structure 97.5k ★

Full documentation available on GitHub

View Source Repository