用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/axfinn/devtools --skill chat命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | chat |
| description | 聊天室 — 创建房间、实时聊天、AI 机器人(10种预设角色+TTS语音)、图片/视频上传。触发:创建聊天室、聊天、加AI机器人、聊天室 |
| triggers | ["聊天室","创建房间","加机器人","chat","AI聊天"] |
通过 DevTools 后端 API 创建聊天房间、添加 AI 机器人和实时通信。后端默认运行在 https://t.jaxiu.cn。
WebSocket 地址: wss://t.jaxiu.cn/api/chat/room/{id}/ws?nickname=xxx
curl -s -X POST https://t.jaxiu.cn/api/chat/room \
-H "Content-Type: application/json" \
-d '{
"name": "技术交流",
"password": "optional_password"
}'
# 返回: {"id":"abc12345","name":"技术交流",...}
curl -s https://t.jaxiu.cn/api/chat/rooms
curl -s https://t.jaxiu.cn/api/chat/room/{id}
curl -s -X POST https://t.jaxiu.cn/api/chat/room/{id}/join \
-H "Content-Type: application/json" \
-d '{"nickname":"小明","password":"optional_password"}'
curl -s "https://t.jaxiu.cn/api/chat/room/{id}/messages?limit=50"
# 图片(最大 5MB)/ 视频(最大 50MB)
curl -X POST https://t.jaxiu.cn/api/chat/upload \
-F "file=@image.png"
| Key | 角色 | 默认音色 |
|---|---|---|
general | 🤖 小助手 | XiaoxiaoNeural |
code | 🤖 码农 | YunxiNeural |
translate | 🤖 译者 | XiaoyiNeural |
customer | 🤖 客服 | XiaoxiaoNeural |
psychology | 🤖 心理咨询师 | XiaomouNeural |
student_girl | 🤖 学生妹 | XiaoyiNeural |
college | 🤖 大学生 | YunxiNeural |
girlfriend | 🤖 电子女朋友 | XiaoxiaoNeural |
uncle | 🤖 大叔 | YunyangNeural |
kid | 🤖 小屁孩 | YunxiNeural |
curl -s -X POST https://t.jaxiu.cn/api/chat/room/{id}/bot \
-H "Content-Type: application/json" \
-d '{
"role": "girlfriend",
"nickname": "小美",
"system_prompt": "你是一个可爱的女朋友,说话温柔甜蜜",
"enable_tts": true
}'
role: 必填,从上述 10 个 key 中选择nickname: 可选,覆盖默认昵称system_prompt: 可选,自定义系统提示enable_tts: 可选,是否启用语音合成(TTS)curl -s https://t.jaxiu.cn/api/chat/room/{id}/bot
curl -s -X DELETE https://t.jaxiu.cn/api/chat/room/{id}/bot
curl -s -X POST https://t.jaxiu.cn/api/chat/room/{id}/bot/stop
当用户说"创建一个聊天室"时,调用创建房间 API。 当用户说"给房间加个 AI 助手"时,调用添加 bot API。 TTS 语音在 bot 回复时会自动生成 mp3,前端自动播放。
Base URL: https://t.jaxiu.cn