OpenClaw RP Plugin
Installation
SKILL.md
OpenClaw RP Plugin
A full-featured roleplay (RP) extension for OpenClaw with first-class SillyTavern asset compatibility, multimodal abilities, long-term memory, and a Generative-Agents-style Companion system.
What This Skill Does
When installed, this plugin registers the /rp slash command namespace and three OpenClaw hooks (message_received, before_prompt_build, llm_output) to provide an immersive, persistent roleplay experience across Discord, Telegram, and OpenClaw native chat.
Core Capabilities
- SillyTavern-Compatible Asset Import — Import character cards (PNG tEXt/chara or JSON, V1/V2), presets, and lorebooks directly from SillyTavern format.
- Session Lifecycle — Full state machine (
active → paused → summarizing → ended) with per-session mutex, auto-summarization, and prompt budget trimming. - Long Memory — Turn-level embedding with SQLite persistence; retrieves relevant historical turns into
Relevant Memory Recall. Built-in multilingual hashed embedder works out of the box without external APIs. - Multimodal Output —
/rp speak(TTS),/rp image(image generation with style hints), and an optionalrp_generate_imageagent tool for native-agent use. - Companion (Generative Agents Style) — Memory Stream → Reflection → Planning loop for proactive outreach, follow-up questions, and action reporting via
/rp companion-nudgeand thecompanion_tickhook.