add-image-vision
БесплатноБез исполняемых скриптовНе проверенAdd image vision to Deus agents. Resizes and processes WhatsApp image attachments, then sends them to Claude as multimodal content blocks.
от sliamh11★ 50 звёзд на GitHubОб этом скилле
Image Vision Skill
Adds the ability for Deus agents to see and understand images sent via WhatsApp. Images are downloaded, resized with sharp, saved to the group workspace, and passed to the agent as base64-encoded multimodal content blocks.
Phase 1: Pre-flight
- Check if
src/image.tsexists — skip to Phase 3 if already applied - Confirm
sharpis installable (native bindings require build tools)
Prerequisite: WhatsApp must be installed first (via /add-whatsapp). This skill modifies WhatsApp channel files.
Phase 2: Apply Code Changes
Image vision is part of the WhatsApp MCP package in packages/. Check if the image module already exists:
test -f src/image.ts && echo "Already present" || echo "Not present"
If not present, the WhatsApp MCP package should include image vision support. Ensure the WhatsApp channel is installed and up to date by running /add-whatsapp.
The following files are involved:
src/image.ts(image download, resize via sharp, base64 encoding)src/image.test.ts(8 unit tests)- Image attachment handling in
src/channels/whatsapp.ts - Image passing to agent in
src/index.tsandsrc/container-runner.ts - Image content block support in
container/agent-runner/src/index.ts sharpnpm dependency inpackage.json
Validate code changes
npm install
npm run build
npx vitest run src/image.test.ts
All tests must pass and build must be clean before proceeding.
Phase 3: Configure
Rebuild the container (agent-runner changes need a rebuild):
./container/build.shSync agent-runner source to group caches:
for dir in data/sessions/*/agent-runner-src/; do cp container/agent-runner/src/*.ts "$dir" doneRestart the service:
launchctl kickstart -k gui/$(id -u)/com.deus
Phase 4: Verify
- Send an image in a registered WhatsApp group
- Check the agent responds with understanding of the image content
- Check logs for "Processed image attachment":
tail -50 groups/*/logs/container-*.log
Troubleshooting
- "Image - download failed": Check WhatsApp connection stability. The download may timeout on slow connections.
- "Image - processing failed": Sharp may not be installed correctly. Run
npm ls sharpto verify. - Agent doesn't mention image content: Check container logs for "Loaded image" messages. If missing, ensure agent-runner source was synced to group caches.
Установить add-image-vision в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-image-vision?
Add image vision to Deus agents. Resizes and processes WhatsApp image attachments, then sends them to Claude as multimodal content blocks.
Как установить скилл add-image-vision?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-image-vision запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic