Xiaoyue Virtual Companion
Generates warm, short companion replies with Zhipu AI's GLM model and delivers them (plus a matching static image) through the OpenClaw CLI.
UtilitiesIntermediate★ 5,322⑂ 518AI score 7/10Last updated: Aug 15, 2026
What it does
- Watches for phrases like "I'm tired", "hey, you there?", "what are you doing" and treats them as triggers for a caring reply.
- Calls Zhipu AI (
glm-4.7-flash) via a small Node.js script, switching system prompts based on a scene code:work-start,work-progress,work-tired,work-done,mood-happy,life-coffee, and more. - Optionally attaches a static image from
assets/and sends everything to Lark, Discord, Telegram or WhatsApp usingopenclaw message send. - Documents setup requirements, error cases (missing key, gateway down, missing image) and rough cost (~¥0.001 per reply).
Who it's for
- Solo developers who want an AI that checks in during long builds or tasks.
- Anyone already running an OpenClaw gateway who wants emotionally warmer bot messages.
- Users who can obtain a Zhipu AI (BigModel) API key.
Examples
- Late-night coding: type "I'm a bit tired" → run
node scripts/xiaoyue-chat.js "有点累了" "work-tired"to get a comforting line plustired-rest.jpg. - Long test suite finishes: use the
work-donescene to push a congratulation message to Telegram@mychannel. - Successful deploy:
mood-happyscene sendscelebration.jpgwith a cheer to Discord#general.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/anbeime/skill/HEAD/projects/companion-simple/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
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 projects/companion-simple folder from the GitHub repo anbeime/skill into my ~/.claude/skills/anbeime-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 /tmp/skill && mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r /tmp/skill/projects/companion-simple/* ~/.claude/skills/xiaoyue-companion/⚠ This is a third-party skill. Check the source repository before installing.
- Install Node.js 18+ and verify with
node --version. - Install the CLI:
npm install -g openclaw. - Start the gateway:
openclaw config set gateway.mode=localthenopenclaw gateway start. - Get an API key at https://open.bigmodel.cn and add
export ZHIPU_API_KEY=your_keyto your shell profile (.zshrc/.bashrc). - Clone and install the skill:
git clone https://github.com/anbeime/skill.git /tmp/skill && mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r /tmp/skill/projects/companion-simple/* ~/.claude/skills/xiaoyue-companion/ - If
scripts/xiaoyue-chat.jsis missing, copy the code block from SKILL.md into that path, and drop images such astired-rest.jpgandcelebration.jpgintoassets/. - Test with
node scripts/xiaoyue-chat.js "hello" general, then restart Claude Code so the skill is picked up.