Preface¶
The DeepSeek Harness (DSH) ecosystem emphasizes pluginization and modularity. Easel is an agent framework responsible for social content generation. Typically, running it requires manually cloning the repository and configuring the environment. The dsh-zmtgzt plugin eliminates this deployment overhead. It packages an Easel snapshot (containing 114 skills, contract files, and 147 scripts) within the plugin and extracts it to a writable directory upon first launch. Developers can directly utilize Easel’s capabilities within the DSH environment without maintaining a local upstream clone.
Installation and Activation¶
The installation process requires only a single command. Upon the plugin’s first launch, it will automatically extract the snapshot to the workspace.
dsh plugin add dsh-zmtgzt
If you need to use custom Easel source code to track upstream updates, you can specify easelRoot in the DSH configuration file. After installation, run the following command to confirm the configuration status:
zmtgzt_doctor
# 在 dsh profile config 中配置
- insert:
- id: dsh-zmtgzt
name: dsh-zmtgzt
config:
easelRoot: /absolute/path/to/Easel # 可选,覆盖预打包快照
Self-Media Workbench¶
The plugin registers a panel named “Self-Media Workbench” in the left navigation bar of DSH. This panel does not occupy a conversation tab but is displayed as a separate panel.
The panel contains the following sub-pages:
- Overview: Displays the environment status, the active root directory, and quick access links.
- Accounts: Manages the login status for WeChat MP (Official Accounts) and Xiaohongshu, supporting QR code login or official API credentials.
- Profiles: Manages configuration files across six dimensions, stored in
profiles/<name>/*.md. - Topics: Create or delete topics, bind topics to the current session, and browse artifacts and manifests.
- Doctor: Checks the valid root directory and its source, actual contract paths, and the availability of skills and scripts.
Core Capabilities¶
Skill Injection and Tool Registration¶
The plugin includes a built-in Easel snapshot and supports synchronization from upstream via scripts/sync-easel.mjs.
- Runtime Skill Injection:
openclaw/workspace/SOUL.mdandAGENTS.mdare injected as-is to serve as runtime skills. - Skill Scanning: Scans
skills/openclaw/<name>/SKILL.mdand loads them as DSH skills on demand. - Tool Registration: Registers 24
zmtgzt_*tools, covering skill reading, script execution, publishing, and manifest/profile/artifact management.
Contract File Management¶
In addition to being injected as runtime skills, SOUL.md and AGENTS.md are also copied to the workspace root directory (default: ~/.dsh/zmtgzt/easel/).
- Edit Protection: Edits to the root directory copies will not be overwritten by snapshot updates. The edited contracts will be read with priority. The Doctor page clearly displays the path of the currently active copy.
Channel Support¶
The plugin currently supports the following channels, with both login and publishing features integrated:
| Channel | Login Method | Publishing | Remarks |
|---|---|---|---|
| WeChat MP | QR Code Login or Official API (requires AppID/AppSecret) | ✅ Generate Draft | Official API credentials are stored in a YAML file, and an Egress IP whitelist must be configured |
| Xiaohongshu | QR Code Login | ✅ Supports Image-Text/Video | Automated publishing carries a risk of rate limiting |
| Toutiao | - | ❌ Not Supported | No available upstream implementation |
Publishing Workflow¶
The publishing feature is triggered via the “Publish” page in the workbench or the zmtgzt_publish command. The workflow is fixed as: Pre-check → Confirm → Publish. If the confirm flag is not provided, only a pre-check is performed.
- Pre-check: Before publishing, content safety scanning (hard block) and persona validation (advisory) are performed. The plugin does not provide parameters to bypass these gates.
- Media Source: Media files must exist in the corresponding topic’s
outputs/<topic>/directory; the publishing page only displays actual files. - Platform Risk: Automated publishing on Xiaohongshu is subject to platform restrictions; it is recommended to use test accounts and control the frequency.
Command Line Tools¶
In addition to the workbench, developers can also use the following tools via the command line:
- Skill Management:
zmtgzt_skilllist: List all skills.read: Read theSKILL.mdof a specific skill.files: List the files referenced by a skill.file: Read a specific referenced file.
- Publishing:
zmtgzt_publish- Follows the pre-check → confirm → publish workflow.
Notes¶
- AppSecret Security: When using the WeChat MP official API, the AppSecret is stored in plaintext in the YAML configuration.
- Copyright Attribution: The plugin itself does not contain this content; the snapshot is synchronized from the upstream repository.
- Permission Requirements: The plugin runs with the current DSH process privileges. It is recommended to review the source code and licenses before installation.