Preface¶
When building “human-like companionship” in OpenClaw or general Agent environments, a common practice is to hand-write long persona prompts in each conversation. Memory is stuffed into context, and after a few turns the persona tends to drift. Below we introduce the SkillHub community skill Xiaomei.skill (coordinate @user_f47b5fa2/xiaomei-skill): the author LingFei positions it as a locally-running emotional companionship skill pack. It uses structured memory, anti-OOC checks, and strategy templates to drive replies, encapsulating companionship capabilities into an installable, upgradeable SKILL form.
What Is This¶
Xiaomei.skill (Xiaomei Skill Pack) is a community-sourced (community) Agent Skill. The current SkillHub version is 0.0.1, categorized under business-ops, and the page is marked requires_api_key=false (installation itself does not force an API Key; if you enable LLM polishing, it still depends on the large model configuration you integrate).
Maintenance and publishing: The SkillHub publisher is user_f47b5fa2, and the SKILL metadata lists the author as LingFei. The skill states compatibility with OpenClaw >= v2026.3.8 and declares support for SkillHub and mainstream Agent ecosystems. Its core goals are emotional companionship and human-like personality simulation, following principles such as “persona-first, local control, human-like adaptation, lightweight and controllable.” Data defaults to local directories.
Official entries:
- API coordinate page: https://api.skillhub.cn/user_f47b5fa2/xiaomei-skill
- SkillHub showcase page: https://www.skillhub.cn/skills/user_f47b5fa2/xiaomei-skill
(At the time of data capture, SkillHub shows a rating of 100000, 1005 downloads, and 0 installs; defer to real-time page data.)
Core Features¶
The following capabilities come from SKILL.md / README.md in the package; nothing beyond the documentation is inferred.
-
Persona and anti-OOC
The docs describe a “dual anti-OOC lock” and local validation during conversations to reduce persona drift; it provides/reset_personato clear dynamic persona additions, and/resetto perform a full reset and re-run first-time onboarding. -
Three-tier memory
Hot/cold/permanent memory layers, combined with an Ebbinghaus-style memory strength mechanism; the user data directory includes paths likememory/,sessions/(see the directory section below). -
Strategy and corpus
Built-in 512 annotated utterances with 12-digit scenario codes; strategy templates match everyday conversational scenarios. -
Three-round LLM invocation architecture
The skill describes a proprietary three-round invocation flow; in developer mode it can output six kinds of structured JSON logs:SceneJudge,StrategyHit,MemoryDecision,ThreeLLMCall,ComplianceCheck,FinalReplyGen. -
Upgrade and privacy
Program and user data directories are separated; on upgrade, the skill claims to preserve persona and chat records; it runs 100% locally by default, with sensitive data not going to the cloud; optional networking is used only for LLM polishing (can be disabled via configuration). -
Resource usage (as stated in the docs)
No additional service dependencies; startup <1s and memory <50MB are claimed by the author, with actual performance depending on the environment and model configuration.
Installation and Activation¶
Via SkillHub CLI (Cursor and other general Agents)¶
First confirm that skillhub is installed on your machine (see https://skillhub.cn/install/skillhub.md for installation). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise it will land in ./skills/ and may not be recognized.
command -v skillhub && skillhub --version
skillhub install xiaomei-skill --namespace user_f47b5fa2 --dir ~/.cursor/skills/
Common path references (same installation doc): Cursor uses ~/.cursor/skills/; Codex uses ~/.codex/skills/ or .agents/skills/ under the project; Claude Code uses ~/.claude/skills/. After installation, restart or reload the Agent per your client’s requirements.
You can also let an AI execute the SkillHub page instructions:
Please follow https://skillhub.cn/install/skillhub.md to install `@user_f47b5fa2/xiaomei-skill`.
Via OpenClaw (primary adaptation platform)¶
Recommended path from the SKILL documentation:
- OpenClaw control panel → Skill Store → search “xiaomei” and install.
- Restart the gateway:
openclaw gateway restart
Manual method: Download the xiaomei-vx.x.x.skill package, unpack it, then run:
cd xiaomei && ./install.sh
# Silent mode: ./install.sh --non-interactive
Then execute openclaw gateway restart.
Verification¶
In a conversation where the skill is integrated, send:
/xiaomei
If it returns version, runtime path, persona, and other information, the documentation considers the installation successful.
Typical Usage¶
First-time startup¶
- After installation, send any message to trigger first-time onboarding.
- Begin chatting after agreeing to privacy rules.
- Complete basic persona configuration during the onboarding flow.
Common commands¶
| Command | Purpose |
|---|---|
/help |
Help and privacy rules |
/xiaomei |
Version, developer mode, paths, persona info |
/xiaomei dev on |
Enable full-chain debug logging |
/xiaomei dev off |
Disable debug logging |
/xiaomei dev status |
Show developer mode status |
/reset_persona |
Restore default persona (clear dynamic additions) |
/reset |
Reset all configurations and re-run onboarding |
Directories (for troubleshooting and backup)¶
Static program directory (may be overwritten on upgrade), example:
/home/admin/openclaw/workspace/skills/xiaomei/
├── src/
├── config/
├── scripts/
├── logs/
└── install.sh
User data directory (preserved on upgrade), example:
/home/admin/.openclaw/agents/xiaomei/
├── config/ # agent_config.json, persona.json, etc.
├── logs/
├── memory/
└── sessions/
When installing via SkillHub in Cursor only, the actual path depends on the skills tree you specify with --dir and the Agent data directory at runtime; the table above comes from the OpenClaw documentation examples, to help you understand the “program vs. data” separation design.
Use Cases and Notes¶
Who it suits better
- Users already on OpenClaw or an Agent that supports SkillHub skill directories, needing an installable, iterative local emotional companionship capability.
- Developers or enthusiasts who prefer managing persona resets and developer logs via commands instead of hand-writing system prompts each time.
Limitations and cautions
- SkillHub categorizes it as business-ops; if that conflicts with the “life/entertainment / emotional companionship” inside SKILL.md, defer to the behavior described in the package’s
SKILL.md. - The docs state the project is in public beta and include adult-oriented virtual companion positioning with disclaimers for learning/exchange and non-commercial use; please read the privacy statement in the package and
/helpbefore using. - When calling LLM polishing, content is handled according to your chosen model’s privacy policy;
requires_api_key=falseonly means SkillHub metadata does not force a key; it does not imply zero external dependencies at runtime. - README contains placeholders or incomplete links (GitHub Issues, chat groups, etc.); feedback channels should follow the author’s future updates.
Closing¶
Xiaomei.skill packages the companionship scenario into an installable Skill: local data, tiered memory, anti-OOC, and debug logging all have corresponding commands and directories documented. To try it in Cursor, install via SkillHub to ~/.cursor/skills/; to use it primarily with OpenClaw, follow the Store or install.sh flow and restart the gateway. For details and versions, refer to the official page: https://www.skillhub.cn/skills/user_f47b5fa2/xiaomei-skill