Archify Illustrated: Generating Interactive Architecture Diagrams Directly Through Conversation

Preface

When writing code or designing architecture in DeepSeek Harness, you often need a diagram to align understanding. In the past, you either relied on external tools or pasted a static link in the chat—only to switch back and forth between pages just to view it.

Below is an introduction to a plugin that brings tt-a1i’s Archify into DeepSeek Harness: simply state in the chat what you want to draw, and you’ll get a validated, interactive diagram page. You can also create one from the panel by generating it from a project folder.

What Is It

Archify Diagrams is a client-side plugin for DeepSeek Harness, maintained by kadaliao. It integrates Archify’s diagramming capabilities into DSH’s chat and skill system, supporting direct generation of architecture diagrams, flowcharts, sequence diagrams, data flow diagrams, state diagrams, ER diagrams, class diagrams, tree diagrams, timelines, and waterfall charts in chat. It can also turn a response into a one-page explainer.

The plugin itself is MIT-licensed. The underlying Archify code and its dependencies follow their respective licenses (Apache-2.0, MIT, EPL-2.0, etc.).

Installation & Activation

The plugin is installed inside DeepSeek Harness via the plugin manager. There are two ways:

  1. Install via the plugin marketplace (recommended)

Add the DSH Plugins index in DeepSeek Harness (Plugins → Discover → Sources):

   https://raw.githubusercontent.com/kadaliao/dsh-plugins/main/marketplace.json

Then search for Archify Diagrams on the “Discover” page and install it. If the “Discover” page is not visible, first enable “Custom Plugin Marketplace” under Plugins → Experimental Plugins.

  1. Install via package name

Paste the package name into the plugin manager:

   @kadaliao/dsh-archify
  1. Install via command line (desktop edition)

Run the following in your terminal:

   dsh plugin --profile desktop add @kadaliao/dsh-archify

Restart Harness after installation.

  1. Use the latest code

If you want to use unreleased latest code, you can use the Git URL instead:

   git+https://github.com/kadaliao/dsh-archify.git#main

After installation, refresh the page to start using it. The plugin requires no configuration, no Node.js installation, no API keys, and no additional model calls.

How to Use

Generate Directly in Chat

Simply state what you want to draw in the chat, for example:

  • “Draw the architecture diagram of this repository”
  • “Turn the following into a sequence diagram: …”
  • “Turn the response above into a one-page explainer”

The model generates the diagram; the plugin handles rendering, validation, and displays the page directly above the reply.

Note: To draw a repository’s architecture diagram in chat, you must first open a session for that project.

Create from the Panel

Find Archify in the left sidebar of the panel (or type /archify), and click New:

  • Select the diagram type (architecture diagram, flowchart, sequence diagram, etc.).
  • If drawing from a repository, also select the project folder.
  • Write a brief description of what to draw (or paste Mermaid code directly).
  • Click Generate.

The plugin will scan the repository and show progress. The finished page is saved to the Gallery.

  • With a project selected: the model reads the code, and the diagram will annotate the source files it’s based on. This takes about 1–2 minutes.
  • Without a project: it only draws what you described. This takes about 30 seconds.

After generation, you can Open in Chat from the Gallery (fills the same prompt into a new session for you to confirm and send), or Copy Prompt and paste it into any session.

Modify & Review

  • Modify: Select a diagram in the Gallery, click Modify, and describe what to change or start from suggestions. It will be sent to the session that originally drew it, and the page updates automatically once done.
  • Review: Architecture diagrams support model-based code review. Each conclusion includes file and line numbers. The plugin verifies each one individually; unverified items are not saved.

Fullscreen View

Double-click a diagram or click Fullscreen to view in fullscreen mode:

  • Adjust theme and animations.
  • Search nodes.
  • Path tracing.
  • Export as PNG, SVG, or WebM.

Each page is a standalone HTML file that works offline and can be shared directly with others.

Forgot How to Use It?

The How to Use button in the top-right corner of the panel lists every feature in a single line. Clicking a button jumps directly to the corresponding feature.

Let the Model Proactively Generate Explainer Pages

Add the following line to ~/.dsh/AGENTS.md (applies to all sessions) or the AGENTS.md in your project root (applies to that project only):

[archify explainer: proactive]

New sessions will then generate a one-page explainer by default.

Performance Notes

  • Architecture diagrams are laid out by the plugin; the model only specifies which boxes and arrows to include.
  • Minor formatting errors and repository source information are fixed by the plugin before validation—no need to fail and retry.
  • When drawing from a repository, a single scan provides a full overview and a code map, so the model doesn’t have to dig through code everywhere.
  • Measured results (DeepSeek-V4.1-Flash):
  • Drawing an architecture diagram from a description takes about 25 seconds.
  • Reading a ~4000-line repository and drawing takes about 100 seconds.

Configuration Options

In the profile patch cordis.patch.yml, the configurable options for this plugin are as follows:

Key Default Description
enabled true When set to false, no tools are provided to the model.
skill true When set to false, the archify skill is not included in the skill directory.
timeoutMs 240000 Maximum duration for a single Archify run.
workdir ~/.dsh/archify/workspace The working directory used when drawing from a description via the panel.

FAQ

  • The model ran node …/archify.mjs in the shell instead of using the tool.

Another archify skill is taking priority: personal and project-level skills (~/.dsh/skills/archify, ~/.agents/skills/archify, or .dsh/skills / .agents/skills in the project) rank above the plugin’s built-in one. Rename or delete that copy, and the plugin’s version will be used instead. Also, if the @tt-a1i/archify-dsh package is installed, multiple archify skills may exist—keep only one.

  • The browser check shows “skipped.”

Chrome, Chromium, or Edge is not installed on this machine. The page is still generated; only this validation step was skipped. To use a different browser, set ARCHIFY_CHROME to its executable path.

  • The architecture diagram has many crossings.

Some systems are inherently tangled: the main path weaves in and out of a large group, causing crossings regardless of layout. You can ask the model to rearrange the layout, or use fewer, smaller groups.

  • A complex diagram looks cluttered.

Most likely, it was delivered at the standard tier after exhausting the repair budget. You can ask the model to tidy up the layout, or draw a higher-level diagram with fewer nodes.

  • The panel shows that the file no longer exists.

The page file was moved or deleted from the working directory.

  • The “Generate” button is grayed out.

This Harness instance does not allow plugins to open sessions. However, Open in Chat remains available.

  • The run finished but no diagram was produced.

Open the corresponding session to check: the model may be asking you a question, or there may be nothing to draw in that folder (services not present in an empty folder won’t be fabricated).

Use Cases & Caveats

  • Ideal for developers and architects who need to quickly generate structured diagrams and documentation explainers in chat.
  • The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installing.
  • The underlying Archify code dependencies follow Apache-2.0, MIT, EPL-2.0, and other licenses. See the NOTICE file in the plugin repository for details.

Summary

Archify Diagrams brings tt-a1i’s Archify capabilities directly into DeepSeek Harness’s chat and skill system, letting you get a validated, interactive architecture diagram or explainer page right in the conversation. No additional tools, no API keys, and no extra model calls required.

For more details (how each feature works, where files are stored, what is read and sent, tool parameters, and the bundled Archify version), refer to Details in the plugin repository.

  • Catalog page: https://www.skillhub.cn/plugins/kadaliao/dsh-archify
  • GitHub: https://github.com/kadaliao/dsh-archify
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye