Skip to content

cybe42/opencode-plugin-view-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opencode-plugin-view-image

an opencode cli plugin that enables vision models to read local images reliably by injecting them as native file attachments.

installation

  1. clone the repository:

    git clone https://github.com/cybe42/opencode-plugin-view-image.git
    cd opencode-plugin-view-image
    npm install
  2. add the absolute path to your ~/.config/opencode/opencode.json:

    {
      "plugin": [
        "/absolute/path/to/opencode-plugin-view-image"
      ]
    }
  3. restart your opencode session.

usage

the plugin registers a view_image tool. instruct opencode to use it when you need to inspect an image file. view the image at /path/to/image.png using view_image

tags

opencode, opencode-plugin, vision, image, mcp, ocr, multimodal, local

About

OpenCode vision plugin to add view_image tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors