Xiaoyue Virtual Companion
Generates warm, short companion replies with Zhipu AI's GLM model and delivers them (plus optional images) through OpenClaw to your chat platform.
UtilitiesIntermediate★ 5,001⑂ 479AI score 6/10Last updated: Aug 9, 2026
What it does
This skill adds a friendly persona named "Xiaoyue" that checks in on you while you work.
- Takes a user message plus a scene tag and calls Zhipu AI (
glm-4.7-flash) to produce a 1–2 sentence supportive reply. - Ships ~10 predefined scenes with tailored system prompts:
work-start,work-progress,work-tired,work-done,life-coffee,life-gym,mood-happy,mood-focus, and more. - Optionally attaches a matching static image from
assets/(e.g.tired-rest.jpg,celebration.jpg). - Sends the message through the OpenClaw CLI to Feishu, Discord, Telegram or WhatsApp, with a channel-format reference table.
- Includes cost notes (~¥0.001 per reply, images free).
Who it's for
- Developers on long sessions who want light emotional check-ins.
- Anyone running an OpenClaw-based bot who wants a character voice for notifications.
- Users of Zhipu / GLM APIs, or people looking for a cheap LLM to experiment with.
- Community admins who want automated encouragement messages in a channel.
Examples
- "I'm a bit tired" — run
node scripts/xiaoyue-chat.js "有点累了" "work-tired"to get a comforting line, then push it withtired-rest.jpgto your Telegram chat. - Deploy finished — use the
work-donescene to generate a congratulations message and post it to Discord#general. - Weekend ping — use
life-weekendfor a casual hello sent to a Feishu group.
Note: prompts and user text go to Zhipu's servers, so avoid pasting confidential content.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the SKILL.m folder from the GitHub repo anbeime/skill into my ~/.claude/skills/xiaoyue-companion/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/anbeime/skill.git && mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r skill/* ~/.claude/skills/xiaoyue-companion/⚠ This is a third-party skill. Check the source repository before installing.
- Check Node.js: run
node --versionand make sure it is 18.0.0 or newer. - Clone the repo:
git clone https://github.com/anbeime/skill.git - Copy into your skills folder:
mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r skill/* ~/.claude/skills/xiaoyue-companion/ - Get a Zhipu API key: sign up at https://open.bigmodel.cn and create an API key.
- Set the environment variable:
export ZHIPU_API_KEY=your_key_here(add it to~/.zshrcor~/.bashrcto persist). - Install OpenClaw (only if you want chat delivery):
npm install -g openclaw, thenopenclaw config set gateway.mode=local && openclaw gateway start. - Add images: create an
assets/folder inside the skill and drop in files liketired-rest.jpgandcelebration.jpg(supply your own if the repo has none). - Smoke test: run
node scripts/xiaoyue-chat.js "hello" "general"and confirm a reply is printed. - Restart Claude Code, then say something like "I'm tired" to confirm the skill triggers.