Introduction¶
In DeepSeek Harness (DSH), the interface can already read/write project files, run terminals, view images, and spawn subagents. If another independent sandbox or intermediate adapter layer is added, there often appear two sets of directory rules and two sets of tool semantics. Agents are prone to guessing between “where to write” and “which set of read/write tools to use”.
dsh-oil-ui takes a different path: as a oil-ui native plugin for DSH, it attaches direction exploration, side-by-side comparison, real browser screenshots, and Skill diagnosis directly to the current working directory. It can also automatically switch to Oil UI Pro when installed locally. Below is an introduction to the problems it solves, the capabilities it provides, and how to install and use it.
What is it¶
dsh-oil-ui is released by the maintainer oil-oil and is categorized as a Client-side plugin in the SkillHub community directory. Repository: https://github.com/oil-oil/dsh-oil-ui; Directory page: https://www.skillhub.cn/plugins/oil-oil/dsh-oil-ui. There is also a AtomGit mirror in China, which synchronizes with GitHub.
The plugin’s description in package.json is “Oil UI’s DeepSeek Harness native tool and Skill loading diagnostic plugin” and uses the MIT license. It does not replace DSH’s built-in read / write / edit / bash / read_image / subagent tools, but instead natively bundles the public oil-ui Skill and additionally registers five unique oil-ui tools.
Why make it a native plugin¶
The design highlights given in the README can be summarized into three points:
- Direct read/write in the current working directory: It does not create extra
projects/<uuid>nested directories; pages, styles, scripts, and screenshots are consistent with native file tools. - Only adds oil-ui dedicated tools: Packing comparison pages, browser screenshots and interactive walkthroughs, public domain asset retrieval, AI-generated image editing, and Skill status checking.
- Skill text is not transformed by the host: It is synchronized from the already published public
oil-ui; the host-side tool descriptions are placed in the system prompt, tool descriptions, and the “Host” section ofreferences/tools.md.
With this, an Agent can complete a full cycle with a single prompt: Explore direction → Generate side-by-side comparison page → Implement complete page → Screenshot and subagent walkthrough.
Core Features¶
Five native tools¶
Parameters are all based on the current working directory (cwd):
| Tool | Function |
|---|---|
oil_ui_skill_status |
Refreshes Skill status, returns activeSkillName, image-gen source, and oiloil balance, and handles version update checks |
oil_ui_explorer |
Reads explore/manifest.json and packages multiple homepage candidates into a style-explorer.html comparison page |
oil_ui_shoot |
Opens local pages or URLs in a real browser, supports viewport, multi-state burst shots, interactive steps, screen recording frame extraction, mosaics, and checks for console/overflow errors |
oil_ui_media |
Searches, previews, and downloads public domain and museum collection assets |
oil_ui_image |
Prioritizes local image-gen; falls back to oiloil generation or image editing if unavailable |
Three Slash commands¶
Prefixed with oil-ui- to distinguish from other oil-* series Skills:
| Command | Function |
|---|---|
/oil-ui-status [update] |
View currently active oil-ui / oil-ui-pro, updates, and image-gen status; update updates the filesystem installation version |
/oil-ui-explore <requirement description> |
Initiates three-direction exploration and generates style-explorer.html |
/oil-ui-review [target page or file] |
Takes a real screenshot of the target page and performs visual hierarchy and usability walkthroughs |
Built-in free version and Oil UI Pro¶
The plugin comes with a built-in free version oil-ui that is ready to run direction exploration and side-by-side comparison out of the box. Capabilities for complex landing pages, multi-round visual retouching, complete asset and image generation sets are provided in Oil UI Pro; the README compares the feature boundaries between Lite and Pro in a table.
The Pro discovery logic first checks the DSH project and user Skill directories (e.g., ~/.dsh/skills, ~/.agents/skills), then scans the local oil-ui-pro according to oil-cli conventions; it can also be specified via the config option proSkillDir or environment variable OIL_UI_PRO_DIR. The plugin only publishes the built-in oil-ui and will not overwrite or cache the Pro source text; if Pro is only installed in directories like Claude, it needs to be installed in a Harness-visible directory (e.g., ~/.agents/skills).
When the status is normal, oil_ui_skill_status can return fields like skillReady=true and skillLoadState=ready; when abnormal, check skillLoadWarning. Version checking usually requests https://ui.oiloil.org/api/store/versions at most once every 10 minutes and caches it in ~/.local/state/oil/*-update.json.
Installation and Enablement¶
The DSH compatibility range declared by the plugin is >=0.2.1-rc.2 <0.3.0-0; the Node version is also constrained by the used DSH distribution (README lists notes related to Node 22.19.0, 24.9.0). It is recommended to check the source code and MIT license before installing. The plugin runs under current dsh process permissions and must match the profile data directory used in the terminal or Desktop.
Web profile (one terminal command)¶
Install for the web profile in the terminal:
npm exec --yes --package=pnpm@10.16.1 -- dsh plugin --profile web add github:oil-oil/dsh-oil-ui
AtomGit can be used in China (may lag behind GitHub; verify version after installation):
npm exec --yes --package=pnpm@10.16.1 -- dsh plugin --profile web add git+https://atomgit.com/oil-oil/dsh-oil-ui.git
For headless mode, replace --profile web with --profile headless. The command temporarily pins pnpm to 10.16.1 via npm and does not require pnpm to be pre-installed.
DSH Desktop¶
In Desktop “Settings → Plugins → Add Plugin”, enter github:oil-oil/dsh-oil-ui (for domestic networks, git+https://atomgit.com/oil-oil/dsh-oil-ui.git can be used). Desktop uses a separate DSH_HOME; the plugin is installed into profiles/web within it, which is not the same directory as the terminal’s ~/.dsh/profiles/web; the README explicitly warns against executing --profile desktop in the terminal.
Verification after installation¶
The repository already includes pre-compiled lib/index.js and the built-in oil-ui, so no build is generally required during installation. After restarting the corresponding profile, let the Agent call oil_ui_skill_status, and then load the returned activeSkillName using the native skill tool. A simple “installation command exits with 0” does not prove that the five categories of tools and the Skill have been loaded correctly.
Optional Configuration¶
Plugin configuration can be overridden in ~/.dsh/cordis.patch.yml or ~/.dsh/profiles/web/cordis.patch.yml, for example bundledSkill, preferPro, proSkillDir, imageGenScript, workspaceRoot, previewPort (field meanings can be seen in the README examples and src/config.ts in the repository).
oil_ui_shoot depends on the local Chrome / Chromium (or Playwright Chromium); screen recording frame extraction requires ffmpeg. oil_ui_image prioritizes local image-gen (requires python3), otherwise it uses the oiloil service configured via OIL_TOKEN or ~/.config/oil/config.json.
Typical Usage¶
The Agent-side flow given in the README can be understood in three steps:
- Call
oil_ui_skill_status, confirmskillReady=true, and then loadactiveSkillName; if there are exceptions, readskillLoadWarning. - Write 3 homepage candidates with different compositions and color tones under
explore/, and calloil_ui_explorerto generate the single filestyle-explorer.html. - After selecting a direction, implement
index.html(or multi-screenscreens.html), calloil_ui_shootto screenshot in a real browser, simulate interactions and check multi-device breakpoints, and iterate modifications in coordination with the nativeread_image.
Manual entry can also be done directly via Slash commands, such as /oil-ui-explore with a requirement description and reference images, or /oil-ui-review to perform a walkthrough on an existing page.
Suitable Scenarios and Notes¶
Who is it for: Developers or design collaboration scenarios in DSH sessions doing marketing pages, showcase sites, or multi-device UI prototypes, who want comparison pages, real screenshots, and the Skill workflow to be unified with the project directory. When doing formal launch pages or complex workbenches frequently, you can stack the locally installed Oil UI Pro.
Pre-use Notes:
- SkillHub is a community plugin directory with no official affiliation with DeepSeek / the developers; installing plugins extends DSH capabilities, so you should review the repository code and license yourself.
- If an old version of the plugin is incompatible with the current DSH, the README requires uninstalling it before adding; simply re-running
addwith the same Git address may not replace the old lock file. - When upgrading from an old version or troubleshooting, refer to the “Installation failed or not effective after installation” table in the README for item-by-item comparison regarding Desktop vs. terminal profiles, network mirror latency, pnpm entry errors, etc.
Conclusion¶
The value of dsh-oil-ui lies in: not creating another sandbox, integrating oil-ui’s design rhythm (three-direction comparison → implementation → real image iteration) and Pro auto-discovery into DSH’s native toolchain. To learn more about design methods and work examples, you can read the upstream oil-ui and ui.oiloil.org; for installation and troubleshooting, refer to the repository README.
- Community Directory: https://www.skillhub.cn/plugins/oil-oil/dsh-oil-ui
- GitHub: https://github.com/oil-oil/dsh-oil-ui