add-image-vision

Process WhatsApp image attachments into multimodal blocks for NinjaClaw agents.

3|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/OfirGavish/NinjaClaw-Nano --skill add-image-vision-ofirgavish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-image-vision
Source: https://github.com/OfirGavish/NinjaClaw-Nano/tree/main/.copilot/skills/add-image-vision
Command: npx skills add https://github.com/OfirGavish/NinjaClaw-Nano --skill add-image-vision-ofirgavish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NinjaClaw agents currently lack built-in image interpretation for visual content shared via WhatsApp. This skill adds image vision by downloading attachments, resizing with sharp, encoding to base64, and delivering multimodal content blocks to Copilot for richer understanding and responses.

Core Features & Use Cases

  • Image download, resizing via sharp, and base64 encoding to pass as multimodal content blocks to the agent.
  • WhatsApp integration with the agent pipeline, enabling visual understanding and contextual responses.
  • Easy extension by merging with the existing WhatsApp skill to support media-based interactions in real-time.

Quick Start

Install or merge this skill into your NinjaClaw-Nano setup and restart the agent to enable image vision for WhatsApp attachments.

Frequently Asked Questions about add-image-vision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process WhatsApp image attachments and send them to a Copilot agent?

To process WhatsApp image attachments for Copilot, this skill automates downloading the images, resizing them with sharp, and encoding them as base64 multimodal content blocks. This pipeline feeds visual data into the agent for interpretation.

Can NinjaClaw agents interpret visual content shared via WhatsApp?

Yes, NinjaClaw agents can interpret WhatsApp visual content by merging this skill with the existing WhatsApp skill. It enables image vision by converting attachments into multimodal blocks that Copilot processes for contextual understanding.

Does this multimodal vision approach require the sharp library for image resizing?

Yes, the sharp library is required for image resizing. The skill uses sharp to resize downloaded WhatsApp image attachments before base64 encoding them, ensuring the multimodal content blocks are properly formatted for the Copilot pipeline.

What is the best way to add image vision to a WhatsApp agent pipeline?

The best way to add image vision to a WhatsApp agent pipeline is merging this skill into your NinjaClaw setup. It handles image download, sharp resizing, and base64 encoding to deliver multimodal content blocks directly to Copilot for richer responses.

Why does my WhatsApp image share not work with the agent without base64 encoding?

WhatsApp image shares fail without base64 encoding because Copilot requires multimodal content blocks, not raw image files. This skill ensures compatibility by downloading, resizing with sharp, and encoding the image data before pipeline integration.