ML

mcxxiu/lily

Research

This page was translated automatically. Technical details may differ from the original. View the original

79 stars Quality 53 Trend 19AGPL-3.0

Status management

Overview

Provides cross-round persistent state management for AstrBot's Lily role-playing skill. Maintains favorability, lustfulness, emotions, corruption values, and other metrics, and automatically injects status annotations into LLM prompts. Character designs are integrated and take effect upon reboot after configuration changes. Dynamic status is injected into , without interfering with prefix cache hits from providers like DeepSeek. Supports **, allowing characters to think inwardly before replying, enhancing the "living person" of the role. 1. AstrBot has enabled Skill (the plugin will be automatically copied from the plugin directory when loaded for the first time). 2. The "Enable" switch in the plugin control panel is set to 3. AstrBot Plugin Configuration - Make sure this plugin is on the whitelist; otherwise, it will not work properly. 1. Writes user configurations directly into skills and automatically maintains character skills through this plugin 2. Comes with a highly complete default character Lily and easy configuration modifications 3. Abandons traditional prompt thinking for more stable triggers, stronger memory, and no misguided role-playing 4. This plugin integrates time reminders, character behavior prompts, and dialogue history references (recommended with long-term memory plugins for longer memory retention) 5. Top priority!! Solves the traditional problem of excessive token consumption when AI role-plays 1. The author initially just wanted a complete role-playing experience, so they studied the personality of Lily and the prompt phrase. 2. After posting it on Bilibili, I found that people liked it quite a lot, so I researched this plugin. 3. I had never considered the quality issues of tokens or AI roleplay, so this plugin was created from the start to solve these problems User IDs are separated by English commas, such as user1, user2, user3. After configuration, restart automatic writing SKILL.md: All configuration items are automatically completed through the _patch_config_defaults, with no need for manual maintenance. - Character information only appears in , hardly changing → Cache-friendly - dynamic state + thought-guided injection, does not affect system_prompt Prefix cache - user reconfiguration → Restart → SKILL.md automatic updates, Only SKILL.md are automatically injected by AstrBot. SKILL_TEMPLATE.md is a template that is read and filled when the plugin launches.

Overview (machine translated)

Provides cross-round persistent state management for AstrBot’s Lily role-playing skill.
Maintains values such as favorability, lustfulness, emotions, and corruption values, and automatically injects status annotations into LLM prompts.
Character settings are integrated via SKILL_TEMPLATE.md → SKILL.md template filling; after configuration changes, reboot takes effect, zero duplicate injection.
Dynamic state injection into req.prompt (user message header) does not interfere with prefix cache hits from providers like DeepSeek.
Support Guiding the Thought Process, allowing characters to think inwardly before replying, enhancing the sense of “living person” in their roles.

This plugin only provides role-playing behaviors

Note:** If you use this plugin, please set the personality setting to default and ensure the system prompts are not designed for role-playing; otherwise, the prompts may clash with this plugin**


Prerequisites

  1. AstrBot has enabled lili_persona Skill (which automatically copies from the plugin directory when the plugin is loaded for the first time)
  2. In the plugin control panel, the “Enable” switch is set to ON
  3. AstrBot Standard Configuration Plugin Configuration - Make sure this plugin is on the whitelist; otherwise, it will not work properly.

Why Choose This Plugin?

  1. Write user configurations directly into skills, and automatically maintain character settings skills through this plugin
  2. Comes with a more complete default character Lily, making it easy to modify configurations
  3. Abandon traditional prompt thinking for more stable triggers, stronger memory, and less suspicion in role-playing
  4. This plugin integrates time reminders, character behavior prompts, and dialogue history references (recommended to pair with long-term memory plugins for longer-lasting memory retention).
  5. Top priority!! It solves the traditional problem of excessive token consumption when AI role-plays

Source of plugins

  1. At first, the author just wanted a complete role-playing experience, so he studied the character of Lily and the prompt
  2. After publishing on Bilibili, I found that everyone liked it quite a lot, so I researched this plugin
  3. Previously, we never considered the quality issues of tokens and AI performance, so this plugin was originally created to solve these problems

Configuration item description

Initial Values

The default state during a new user’s first conversation can be adjusted in the Control Panel:

Configuration Item Type Default Value Description
initial_affection int 65 Initial Affection of New Users (0~100)
initial_lewdness int 20 Initial lust level for new users (0~100)
initial_depravity int 0 Initial Corruption value for new users (0~100)
stutter_probability float 0.3 Stuttering probability 0~1. 0.3 = 30% chance of triggering stuttering, 1 = stuttering every round. Injection controlled by plugins

Relationship Whitelist

This page was translated automatically. Technical details may differ from the original.

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add mcxxiu/lily
New to MCP? Start with the mcpskill.org guide →