DSH Plugins · Community project

ModLens

Convert pasted images into structured OCR, layout, entity, and relationship evidence so text-only DeepSeek or GLM models can work with screenshots and document images.

3.5k StarsMITTypeScriptUpdated 1 months ago
01

Project overview

Convert pasted images into structured OCR, layout, entity, and relationship evidence so text-only DeepSeek or GLM models can work with screenshots and document images.

ModLens vision-engine settings card inside DSH
The ModLens vision-engine settings card shown in the README.View repository image
02

Core capabilities

01

Extract OCR and layout information

Extract OCR and layout information. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

02

Identify entities and relationships in images

Identify entities and relationships in images. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

03

Add named vision routes for text-only models

Add named vision routes for text-only models. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

04

Return traceable structured image evidence

Return traceable structured image evidence. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

03

Installation and usage

Install in DeepSeek Harness, reload the target environment as documented, and verify it with a low-risk scenario.

AI AGENT INSTALL

Let an AI Agent install it

Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.

Help me install ModLens from https://github.com/liustack/modlens. Read the README, license, and installation files first. Confirm the current DeepSeek Harness version, target profile, and required dependencies. Use the repository's current command `npx -y @deepseek-ai/dsh plugin --profile web add @liustack/modlens@3.22.1`. Explain the profile, paths, and permissions that will change before running it. Follow the repository verification steps and report commands, changed locations, and visible results. Ask before requesting credentials, enabling extra network access or build scripts, overwriting files, or expanding permissions.
01Before you start
  • DeepSeek Harness Web starts successfully
  • A working text-model route
  • Endpoint and credentials when using a remote vision engine
02Copy the install command or configuration
npx -y @deepseek-ai/dsh plugin --profile web add @liustack/modlens@3.22.1
03Complete the setup steps
  1. 1
    Check the environment and target profile

    DeepSeek Harness Web starts successfully; A working text-model route; Endpoint and credentials when using a remote vision engine. Record the current configuration and installed plugins before changing anything.

  2. 2
    Run the current repository command

    Run the following command. `npx -y @deepseek-ai/dsh plugin --profile web add @liustack/modlens@3.22.1` Stop and ask before enabling build scripts, providing credentials, or overwriting files.

  3. 3
    Reload and verify

    Confirm that a `(modlens vision)` route appears in the model selector, then paste a low-sensitivity screenshot and check for structured image evidence.

How to verify the setup

Confirm that a `(modlens vision)` route appears in the model selector, then paste a low-sensitivity screenshot and check for structured image evidence.

Before using it
  • Images may be sent to the configured external vision service
  • Results still depend on the selected model and endpoint
  • Sensitive material requires a privacy and quota review
04

Use cases

SCENARIO 01

Analyze product screenshots and error dialogs

Start with a minimal ModLens scope in this scenario, then expand only after checking output, permissions, and compatibility.

SCENARIO 02

Extract OCR and layout from document images

Start with a minimal ModLens scope in this scenario, then expand only after checking output, permissions, and compatibility.

SCENARIO 03

Let text-only models compare multiple visual inputs

Start with a minimal ModLens scope in this scenario, then expand only after checking output, permissions, and compatibility.

05

Assessment

This assessment is based on the repository README, installation instructions, license, and maintenance metadata. Adds image input to text-only models; Returns OCR, layout, and relationship evidence; Provides a one-command pinned installation path. Images may be sent to the configured external vision service; Results still depend on the selected model and endpoint; Sensitive material requires a privacy and quota review. No local installation or long-term use is claimed.

Why it may be useful

  • Adds image input to text-only models
  • Returns OCR, layout, and relationship evidence
  • Provides a one-command pinned installation path

What to know first

  • Images may be sent to the configured external vision service
  • Results still depend on the selected model and endpoint
  • Sensitive material requires a privacy and quota review
06

README

ModLens


Overview

Convert pasted images into structured OCR, layout, entity, and relationship evidence so text-only DeepSeek or GLM models can work with screenshots and document images. Convert pasted images into structured OCR, layout, entity, and relationship evidence so text-only DeepSeek or GLM models can work with screenshots and document images.

Getting started

  • Install in DeepSeek Harness, reload the target environment as documented, and verify it with a low-risk scenario.
  • Convert pasted images into structured OCR, layout, entity, and relationship evidence so text-only DeepSeek or GLM models can work with screenshots and document images.
  • The repository documents these main capabilities: Extract OCR and layout information, Identify entities and relationships in images, Add named vision routes for text-only models, Return traceable structured image evidence.
  • Confirm that a `(modlens vision)` route appears in the model selector, then paste a low-sensitivity screenshot and check for structured image evidence.

Configuration

npx -y @deepseek-ai/dsh plugin --profile web add @liustack/modlens@3.22.1
Read the complete README on GitHub →