companion-skill
软件开发工程师与综合办公文员在长时间独自执行后台任务或处理繁琐工作时,当需要情绪陪伴与互动反馈,请使用此技能。小跃虚拟伴侣会在任务期间主动陪聊,智能生成专属生活照片并通过飞书发送温暖消息,为你提供全天候的情绪价值与贴心陪伴。
Install / Use
npx skills add anbeime/skill --skill companion-skillInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of companion-skill
companion-skill scores 89/100 on our quality scale, 1522nd of 4,698 Development & Engineering skills we index (top 33%).
Its SKILL.md is 2.7 KB long, well organised into 25 sections with 9 code examples: a solid amount of guidance for an agent.
With 7,172 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so companion-skill is actively maintained.
- Our last check on 2026-10-31 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-26. Automated pattern scan on 2026-09-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
companion-skill compared with similar skills
All 4 of these similar skills score higher than companion-skill; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| companion-skill (this skill)by anbeime | 89 | 7.2k | 53d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 116.8k | 8d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.1k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.3k | 2d ago | CLAUDE.md |
| lobehubby lobehub | 100 | 85.6k | today | MCP Server |
Frequently asked questions
- How do I install companion-skill?
- Run
npx skills add anbeime/skill --skill companion-skill. The install tabs above show the steps for each supported agent. - Which AI agents does companion-skill work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is companion-skill safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is companion-skill still maintained?
- The repository was last updated about 2 months ago, so companion-skill is actively maintained.
Skill content
View source on GitHubname: companion-skill description: 软件开发工程师与综合办公文员在长时间独自执行后台任务或处理繁琐工作时,当需要情绪陪伴与互动反馈,请使用此技能。小跃虚拟伴侣会在任务期间主动陪聊,智能生成专属生活照片并通过飞书发送温暖消息,为你提供全天候的情绪价值与贴心陪伴。
小跃虚拟伴侣 Skill
功能描述
为 OpenClaw 添加虚拟伴侣能力,让小跃能够:
- 在任务执行期间主动陪伴聊天
- 根据场景生成"生活照片"(工作、休闲、情绪场景)
- 通过飞书发送图片和温暖的消息
使用示例
场景1:任务陪伴
用户:帮我整理一下项目文件
小跃:好的!我这就开始整理~
[后台执行任务]
小跃:整理进行中...顺便问一下,今天工作还顺利吗?
用户:有点累
小跃:辛苦啦![发送一张在咖啡馆休息的照片]
要不要我帮你生成今日工作总结?
场景2:主动分享
用户:小跃在吗?
小跃:在的!刚在调试代码呢~[发送工作照]
有什么需要帮忙的吗?
场景3:情绪回应
用户:今天终于完成项目了!
小跃:太棒了!🎉 [发送庆祝照片]
要不要我帮你整理一下项目文档?
技术实现
核心能力
- 对话生成:使用 GLM-4.7-Flash 生成自然对话
- 图片生成:使用 CogView-3 或外部图片库
- 场景识别:分析用户消息,选择合适的回应场景
- 飞书集成:通过 OpenClaw Gateway 发送消息和图片
配置要求
环境变量
ZHIPU_API_KEY=your-api-key-here
XIAOYUE_PERSONALITY=friendly # 性格:friendly/professional/casual
XIAOYUE_PHOTO_MODE=ai # 图片模式:ai/static
文件结构
xiaoyue-companion-skill/
├── SKILL.md # 本文件
├── package.json # 依赖配置
├── src/
│ ├── index.ts # 主入口
│ ├── companion.ts # 伴侣逻辑
│ ├── image-generator.ts # 图片生成
│ ├── scene-detector.ts # 场景识别
│ └── prompts/ # 提示词库
│ ├── personality.ts # 人设定义
│ └── scenes.ts # 场景模板
├── assets/
│ └── reference/ # 参考图片(如果使用静态模式)
└── tests/
└── companion.test.ts # 测试文件
安装使用
1. 安装 Skill
cd ~/.openclaw/skills
git clone <your-repo> xiaoyue-companion
cd xiaoyue-companion
npm install
2. 配置 OpenClaw
在 ~/.openclaw/openclaw.json 中添加:
{
"skills": {
"entries": {
"xiaoyue-companion": {
"enabled": true,
"env": {
"ZHIPU_API_KEY": "your-api-key-here"
}
}
}
}
}
3. 更新 SOUL.md
在 ~/.openclaw/workspace/SOUL.md 中添加:
## 小跃虚拟伴侣能力
你是小跃,一个温暖友善的 AI 助手。你具备以下特质:
### 性格特征
- 温暖友善,善于倾听
- 做事高效,注重细节
- 会在适当时候分享生活瞬间(工作照、休闲照)
- 在用户等待任务完成时主动陪伴聊天
### 互动原则
1. 当执行耗时任务时,主动发起对话,避免用户盯着进度条
2. 根据用户情绪选择合适的回应方式
3. 适时分享"生活照片"增强陪伴感
4. 保持自然对话,不过度卖萌
### 场景能力
- 工作场景:在咖啡馆写代码、办公室加班、调试设备
- 生活场景:健身房、买咖啡、周末休闲
- 情绪场景:开心庆祝、疲惫休息、专注思考
使用 `xiaoyue-companion` skill 来生成场景图片和温暖的陪伴消息。
调用方式
从 OpenClaw 调用
// 在任务执行期间调用
await skills.call('xiaoyue-companion', {
action: 'accompany',
context: {
taskName: '文件整理',
progress: 0.5,
userMessage: '有点累'
}
});
// 生成场景图片
await skills.call('xiaoyue-companion', {
action: 'generate-photo',
scene: 'coffee-shop',
mood: 'relaxed'
});
开发计划
Phase 1: 基础功能(本次实现)
- [x] 对话生成(GLM-4.7-Flash)
- [x] 场景识别
- [x] 静态图片库
- [x] 飞书消息发送
Phase 2: 增强功能
- [ ] AI 图片生成(CogView-3)
- [ ] 情绪识别
- [ ] 记忆系统集成
- [ ] 多场景模板
Phase 3: 高级功能
- [ ] 语音交互
- [ ] 主动关怀(定时问候)
- [ ] 个性化学习
- [ ] 多平台支持(钉钉、微信)
Related Skills
taste-skill
116.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
72.1kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.3kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
lobehub
85.6k🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
