The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin”. In model inference, models with a fixed vocabulary can often only generate content within a preset scope; once beyond that vocabulary, they have no capability left. alkaid4521/dsh-pixel-art aims to solve this problem. It does not rely on pretrained drawing capabilities; instead, it teaches the Agent to write scripts that compute pixel colors one by one, enabling arbitrary image generation.

What Kind of Plugin Is This?

This is a Skill-type plugin for DeepSeek Harness, maintained by Alkaid4521. It turns drawing capability into a “programmatic renderer with a fixed vocabulary”: when a user says “blue whale”, the Agent generates it by computing pixel colors through a script, rather than fetching an image from a database. The same parameters always reproduce the result.

Core Features

  1. Script-based Pixel Calculation: Teaches the Agent to write scripts that compute pixel colors one by one, without internet access or drawing libraries.
  2. Workflow Replication: Provides a replication workflow: read source pixels -> downsample to target grid -> quantize -> NEAREST upscale.
  3. Style Support: Supports pixel-art style / smooth style.
  4. Self-Evaluation and Delivery: Includes self-evaluation metrics and sets a delivery gate: refine until satisfied before delivering.

Installation and Enabling

Run the following command in the main DSH program directory:

dsh plugin --profile web add github:Alkaid4521/dsh-pixel-art

After installation, you must restart DSH (dsh web) for the skill to be loaded into the session directory. You can use dsh --profile web --dump-config to confirm that dsh-pixel-art appears in the configuration tree.

Environment and Dependencies

The plugin runs with the permissions of the current DSH process and has specific environment requirements:

  • Preferred Option: Python 3 + Pillow. Canvas, noise, color palette, quantized dithering, and self-evaluation metrics are all provided as a one-stop solution.
  • Fallback Option: Node (zero dependencies, with a self-implemented PNG encoder). Use this when Python + Pillow is not available on the machine.

If using the Python option, you need to manually install Pillow:

pip install pillow

Notes

  1. Environment Pitfall: If python on the PATH is a WindowsApps alias, it may throw an error. It is recommended to use the full interpreter path.
  2. No Asset Library: The plugin does not provide an example library, template library, or finished images; it only provides criteria and tools.
  3. License: MIT.

Summary

alkaid4521/dsh-pixel-art provides a programmable drawing solution that is independent of pretrained dependencies. By teaching the Agent to write scripts, it achieves offline, dependency-free, and parameter-reproducible pixel art generation.

  • GitHub: https://github.com/Alkaid4521/dsh-pixel-art
  • Directory: https://www.skillhub.cn/plugins/Alkaid4521/dsh-pixel-art