Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

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.

UtilitiesIntermediate5,322518AI 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 using openclaw 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

  1. Late-night coding: type "I'm a bit tired" → run node scripts/xiaoyue-chat.js "有点累了" "work-tired" to get a comforting line plus tired-rest.jpg.
  2. Long test suite finishes: use the work-done scene to push a congratulation message to Telegram @mychannel.
  3. Successful deploy: mood-happy scene sends celebration.jpg with 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Install Node.js 18+ and verify with node --version.
  2. Install the CLI: npm install -g openclaw.
  3. Start the gateway: openclaw config set gateway.mode=local then openclaw gateway start.
  4. Get an API key at https://open.bigmodel.cn and add export ZHIPU_API_KEY=your_key to your shell profile (.zshrc/.bashrc).
  5. 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/
  6. If scripts/xiaoyue-chat.js is missing, copy the code block from SKILL.md into that path, and drop images such as tired-rest.jpg and celebration.jpg into assets/.
  7. Test with node scripts/xiaoyue-chat.js "hello" general, then restart Claude Code so the skill is picked up.