DDDFXYqiming/Agent_Extensions / General_skills/vision-skill
vision-skill
Verified识别图片内容。当用户发送图片、截图、报错图,或要求分析某张本地图片时使用。先定位图片文件路径,再运行 vision.py 脚本获取文字描述。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.8 KB |
| references/dsh-integration.md | markdown | 1.4 KB |
| scripts/vision.py | script | 15.0 KB |
| templates/.env.example | other | 398 B |
references/dsh-integration.md
View on GitHub# 在 DeepSeek Harness(DSH)中接入本技能
面向人类安装者;智能体识图时不需要读本文。DSH 的 DeepSeek 适配器是纯文本路由,默认拒绝图片块,接入需三步:
1. **安装**:把本技能放到 DSH 用户技能根目录 `~/.dsh/skills/vision-skill/`(SKILL.md + scripts/ + templates/ + .env),skill-filesystem 会自动发现并注入会话目录。
2. **框架补丁**(必需,带 `[vision-skill patch]` 标记,包升级后需重打):
- `@deepseek-ai/dsh-host-apiproxy`:放开 `prompt` 与 `selectModel` 的图片门禁(`inputModalities` 检查改为 `false &&`,共 2 处)
- `@deepseek-ai/dsh-llm-deepseek`:图片块不再抛 `UNSUPPORTED_CONTENT`,`flattenText` 改为序列化成带本地路径的文本占位符,格式:`[图片附件 sha256:<hash>,本地路径 <DSH_HOME>/attachments/v1/objects/<h[:2]>/<h>,模型不支持直接读图,请用 vision skill 读取]`
- 重打补丁脚本按本机路径自备(幂等,建议含旧版→新版升级分支)
3. **模型配置**:技能目录 `.env` 填 `VISION_API_URL`(OpenAI 兼容完整地址)、`VISION_MODEL`、`VISION_API_KEY`;主模型保持纯文本即可,图片经占位符路径交给本脚本识别。
另有 DSH 原生插件版 `dsh-vision-skill`,是本技能的插件封装,走官方接缝、能力更强,但仅限 DSH。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |