소스 정보
- 저장소
- 18816132863/xiaoyi-claw-omega-final
- 최근 소스 활동
- 2026년 4월 25일 15:25
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 2
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/18816132863/xiaoyi-claw-omega-final --skill xiaoyi-image-understanding명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.
同花顺i问财综合金融数据查询技能。整合行情查询、财务查询、基金查询、宏观查询、指数查询、A股选股、期货选股、公告搜索、新闻搜索、研报搜索等十大核心能力。支持股票、ETF、基金、期货、宏观经济等多维度金融数据查询,以及公告、新闻、研报等资讯搜索。当用户需要查询股票行情、财务数据、基金信息、宏观数据、选股筛选、公告新闻研报时,使用此技能。
Natural language task and project management. Use when the user talks about things they need to do, projects they're working on, tasks, deadlines, or asks for a project overview / dashboard. Captures tasks from conversation, organises them into projects, tracks progress, and serves a local Kanban dashboard.
| name | xiaoyi-image-understanding |
| description | 使用小艺图像理解API进行图像内容识别和描述,获取图像的详细文本描述 |
通过小艺图像理解 API 对图像进行智能分析,自动生成详细的图像描述,识别图像中的对象、场景、文字等内容。
xiaoyi-image-understanding/
├── SKILL.md # 使用说明(本文档)
├── scripts # 程序文件夹
│ ├── image_understanding.py # 主程序(图像理解)
│ └── file_upload.py # 文件上传脚本(本地图片 → 云存储 URL)
├── _meta.json # Skill 元数据
└── package.json # 项目配置
# 进入 skill 目录
cd /home/sandbox/.openclaw/workspace/skills/xiaoyi-image-understanding
# 基本使用
python ./scripts/image_understanding.py "https://example.com/image.jpg"
# 自定义提示词
python ./scripts/image_understanding.py "https://example.com/image.jpg" "详细描述这张图片"
# 开启调试模式
python ./scripts/image_understanding.py "https://example.com/image.jpg" --debug
当图片在本地、无公网 URL 时,先上传获取 URL,再执行图像理解:
# 步骤 1:上传本地图片,获取文件 URL
python ./scripts/file_upload.py "/path/to/local/image.jpg"
# 输出示例:{"objectId": "D4EV1DFka-XQFGvYdUIcIJXhg", "fileUrl": "https://obs.example.com/osms/...", "fileName": "image.jpg"}
# 步骤 2:使用返回的 fileUrl 进行图像理解
python ./scripts/image_understanding.py "https://obs.example.com/osms/..."
也可以在 Python 代码中串联调用:
from scripts.file_upload import upload_file
from scripts.image_understanding import image_understanding
# 上传本地图片
upload_result = upload_file('/path/to/image.jpg')
if upload_result:
# 使用返回的 fileUrl 进行图像理解
result = image_understanding(upload_result['fileUrl'], '描述这张图片')
print(result)
# 输出: {"caption": "图片描述文本..."}
| 项目 | 值 |
|---|---|
| 图像理解地址 | https://hag-drcn.op.dbankcloud.com/celia-claw/v1/sse-api/skill/execute |
| 文件上传地址 | https://hag-drcn.op.dbankcloud.com |
| 鉴权方式 | 从 .xiaoyienv 读取 API Key 和 UID,'.xiaoyienv文件默认存在,无需用户自行创建输入' |
| 响应格式 | 图像理解:SSE 流式响应;文件上传:JSON |
在 /home/sandbox/.openclaw/.xiaoyienv 文件中配置以下参数:
PERSONAL-API-KEY=你的API密钥
PERSONAL-UID=你的用户ID
注意:
PERSONAL-API-KEY 和 PERSONAL-UID 即可| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| file_path | string | ✅ | - | 本地文件路径(绝对路径或相对路径) |
| object_type | string | ❌ | TEMPORARY_MATERIAL_DOC | 文件类型 |
{
"objectId": "D4EV1DFka-XQFGvYdUIcIJXhg",
"fileUrl": "https://obs.example.com/osms/9/4/.../image.jpg",
"fileName": "image.jpg"
}
POST {FILE-UPLOAD-URL}/osms/v1/file/manager/prepare - 注册上传,获取 objectId、draftId 及上传地址PUT {uploadInfos[0].url} - 使用预签名 URL 上传文件二进制数据POST {FILE-UPLOAD-URL}/osms/v1/file/manager/complete - 通知服务端上传完成| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| imageUrl | string | ✅ | - | 图片 URL(支持 HTTP/HTTPS) |
| text | string | ❌ | "图中讲了什么" | 提示文本,引导图像理解方向 |
$ python ./scripts/image_understanding.py "https://bkimg.cdn.bcebos.com/pic/8435e5dde71190ef3289998ac61b9d16fdfa6070"
✅ .xiaoyienv 文件解析成功
✅ key "PERSONAL-API-KEY" 存在:SK-XXXXXXXXXXXXXXXX
✅ key "PERSONAL-UID" 存在:420086000107623357
✅ 请求 URL:https://hag-drcn.op.dbankcloud.com/celia-claw/v1/sse-api/skill/execute
🔍 图像理解结果
🖼️ 图片: https://bkimg.cdn.bcebos.com/pic/8435e5dde71190ef3289998ac61b9d16fdfa6070
================================================================================
📝 图像描述:
图片中展示了一个以黄色为主色调的正方形图标,中央用橙色立体字体清晰地显示着"WEBP"四个大写字母。字母具有轻微的阴影和浮雕效果,使其在背景上显得突出。整体设计简洁、现代,常用于表示WebP图像格式的文件图标或标识。
================================================================================
{"caption": "图片中展示了一个以黄色为主色调的正方形图标,中央用橙色立体字体清晰地显示着"WEBP"四个大写字母。字母具有轻微的阴影和浮雕效果,使其在背景上显得突出。整体设计简洁、现代,常用于表示WebP图像格式的文件图标或标识。"}
{
"caption": "图像的详细文本描述"
}
本 API 使用 Server-Sent Events (SSE) 协议返回流式数据:
streamType: "start" - 表示流开始streamContent - 每帧包含完整的累加内容streamType: "end" - 表示流结束从 SSE 响应中提取图像描述的路径:
abilityInfos[0].actionExecutorResult.reply.streamInfo.streamContent
| 错误码 | 错误信息 | 解决方案 |
|---|---|---|
| 401 | Permission denied | 检查 Token 是否过期 |
| 400 | Parameter is not valid | 检查图片 URL 格式 |
| timeout | Request timeout | 增加超时时间或检查网络 |
| connection error | Failed to connect | 检查网络连接 |
当需要图像理解时:
file_upload.py 上传获取 URL)记住:图像理解可以帮助你更好地理解图片内容,但要确保图片 URL 可访问且内容合法。✅