yuanlong/migpt-claw/migpt-volume
Claude Code and agent skill by yuanlong/migpt-claw
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install yuanlong/migpt-claw/migpt-volumeSKILL.md
MiGPT 音箱插件 - 提示词定制指南
概述
MiGPT 音箱插件支持通过 systemPrompt 配置项定制 AI 在音箱场景下的行为规范。由于音箱通过语音播报,不适合播放长文本、代码、复杂格式等内容,因此需要通过提示词规范 AI 的行为。
配置项说明
基础配置
| 配置项 | 类型 | 说明 | 默认值 | |
|---|---|---|---|---|
userId | string | 小米账号 ID | - | |
password | string | 小米账号密码 | - | |
passToken | string | PassToken(可选) | - | |
devices | array | 设备名称列表 | - | |
heartbeat | number | 消息轮询间隔 (ms) | 1000 | |
speakerControl | string | 控制方式 (mina/miot) | - |
提示词配置
| 配置项 | 类型 | 说明 | 默认值 | |
|---|---|---|---|---|
systemPrompt | string | 系统提示词 | 内置默认提示词 |
播报控制配置
| 配置项 | 类型 | 说明 | 默认值 | |
|---|---|---|---|---|
announceOnStart | boolean | 启动时是否播报上线文案 | false | |
startupMessage | string | 上线播报文案 | "您的小龙虾已上线,随时为您服务" | |
acknowledgeOnReceive | boolean | 收到消息时是否回复收到 | false | |
receiveMessage | string | 收到消息回复文案 | "收到,处理中" |
配置方式
1. 全局配置
在 openclaw.json 配置文件中设置全局配置:
2. 账户级别配置
如果配置了多个音箱账户,可以为每个账户单独设置:
默认提示词
如果未配置 systemPrompt,插件会使用以下默认提示词:
自定义提示词示例
示例 1:强调分流策略
示例 2:特定场景定制
示例 3:多渠道协作
工作原理
- 消息接收:音箱收到用户语音后,转录为文字
- 提示词注入:将
systemPrompt注入到 AI 的上下文中 - AI 处理:AI 根据提示词规范生成适合播报的回复
- 分流决策:
- 短文本 → 通过
deliver回调播放 - 长内容/多媒体 → AI 应说明已使用其他渠道发送
与其他 Channel 协作
音箱插件可以与其他 Channel(如微信、QQ、邮件等)配合使用:
AI 会根据提示词判断:
- 简单回复 → 音箱播报
- 复杂内容 → 通过微信发送,音箱告知用户
最佳实践
- 保持简短:提示词本身也应简洁,避免过度复杂
- 明确分流:清楚说明什么内容适合播报,什么应分流
- 友好提示:分流时告知用户原因和发送目标
- 测试调整:根据实际使用效果调整提示词
注意事项
- 提示词优先级:账户级别 > 全局级别
- 提示词会在每条消息处理时注入到 AI 上下文
- 过长的提示词会占用 AI 上下文空间,建议控制在 500 字以内
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/migpt-volume/SKILL.md
Popularity
- Repository stars
- 71
- Repository forks
- 16
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yuanlong/migpt-claw/migpt-volume)