Xiaoyue Virtual Companion
Generates short, warm companion replies via Zhipu GLM and pushes them (with a matching image) to Feishu/Discord/Telegram/WhatsApp through OpenClaw.
UtilitiesIntermediate★ 7,321⑂ 672AI score 8/10Last updated: Sep 28, 2026
What it does
- Fires on cues like "I'm tired", "are you there?", "send me a photo", or while the user waits for a long-running task.
- Calls Zhipu AI's
glm-4.7-flashto produce a 1–2 sentence warm reply in the voice of "Xiaoyue", a 22-year-old assistant persona, with light emoji use. - Ships ~10 scene presets (work-start / work-progress / work-tired / work-done, life-coffee, life-gym, life-weekend, mood-happy, mood-tired, mood-focus) that swap the system prompt.
- Sends the message plus a static image from
assets/via the OpenClaw CLI to Feishu, Discord, Telegram or WhatsApp, with a channel-format table for each. - Includes the full Node.js script, a bash wrapper, an error-handling checklist and per-call cost estimates (~¥0.001).
Who it's for
- Developers who wait on long builds, tests or deploys and want a nudge to take a break.
- Office workers doing repetitive tasks who like small encouragement pings.
- Anyone who already holds a Zhipu (BigModel) API key and runs an OpenClaw messaging gateway.
Examples
node scripts/xiaoyue-chat.js "I'm a bit tired" "work-tired"→ warm reply plustired-rest.jpgdelivered to your Telegram chat.- On CI success, invoke the
work-donescene to auto-post a congratulation into a Discord channel. - On a weekend morning, use
life-coffeefor a light small-talk message in a Feishu DM.
· · · 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/anbeime-skill && mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r /tmp/anbeime-skill/projects/companion-simple/* ~/.claude/skills/xiaoyue-companion/⚠ This is a third-party skill. Check the source repository before installing.
- Install Node.js 18 or newer and verify with
node --version. - Clone the repo:
git clone https://github.com/anbeime/skill.git - Copy the skill in:
mkdir -p ~/.claude/skills/xiaoyue-companion && cp -r skill/projects/companion-simple/* ~/.claude/skills/xiaoyue-companion/ - Get an API key at https://open.bigmodel.cn and add
export ZHIPU_API_KEY=your_keyto your shell profile (.zshrc/.bashrc). - Install the OpenClaw CLI:
npm install -g openclaw - Start the gateway:
openclaw config set gateway.mode=localthenopenclaw gateway start. - Create an
assets/folder inside the skill and add your own images (tired-rest.jpg,celebration.jpg, etc.) listed in the doc. - Restart Claude Code and say "I'm tired" to confirm the skill triggers.