Xiaoyue Companion

小跃虚拟伴侣 - 使用智谱 AI 提供温暖的对话陪伴和静态图片分享

8,963 stars 794 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add anbeime/skill --skill xiaoyue-companion
Manual install
git clone --depth 1 https://github.com/anbeime/skill.git /tmp/skill
mkdir -p ~/.claude/skills
cp -r /tmp/skill/. ~/.claude/skills/xiaoyue-companion

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 小跃虚拟伴侣 Skill

为 OpenClaw 添加温暖的对话陪伴能力,让 AI 助手在执行任务时主动关心用户。

## 何时使用

- 用户说"有点累"、"好累"、"疲惫"
- 用户在等待任务完成时
- 用户询问"在吗"、"你好"
- 用户需要鼓励或陪伴时
- 用户说"发张照片"、"你在干嘛"

## 快速参考

### 必需的环境变量

```bash
ZHIPU_API_KEY=your_zhipu_api_key  # 从 https://open.bigmodel.cn 获取
```

### 工作流程

1. **接收用户消息**
2. **调用 glm-4.7-flash 生成温暖回应**
3. **(可选)发送静态图片**
4. **通过 OpenClaw 发送消息**

## 使用说明

### 步骤1:生成对话回应

```bash
# 基础对话
node scripts/xiaoyue-chat.js "用户消息" "当前场景"

# 示例
node scripts/xiaoyue-chat.js "有点累了" "work-tired"
```

### 步骤2:(可选)发送图片

```bash
# 发送静态图片
openclaw message send \
  --action send \
  --channel "<目标频道>" \
  --message "<消息文本>" \
  --media "file://$(pwd)/assets/tired-rest.jpg"
```

## 场景类型

### 工作场景
- `work-start`: 任务开始
- `work-progress`: 任务进行中
- `work-tired`: 工作疲惫
- `work-done`: 任务完成

### 生活场景
- `life-coffee`: 咖啡时光
- `life-gym`: 健身运动
- `life-weekend`: 周末休闲

### 情绪场景
- `mood-happy`: 开心庆祝
- `mood-tired`: 疲惫休息
- `mood-focus`: 专注工作

## 完整脚本示例
Read the full skill on GitHub

Details

Skill name
xiaoyue-companion
Repository
anbeime/skill
Repo updated
31 October 2026

FAQ

What does the Xiaoyue Companion skill do?

小跃虚拟伴侣 - 使用智谱 AI 提供温暖的对话陪伴和静态图片分享

How do I install the Xiaoyue Companion skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add anbeime/skill --skill xiaoyue-companion. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Xiaoyue Companion popular?

It lives in anbeime/skill, which has 8,963 GitHub stars and 794 forks.

Related skills

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.