dsh-answer-me-with-html: Answering Complex Questions with a Single-Page HTML

Introduction

When asking complex questions to models within DeepSeek Harness (DSH), common outputs include long Markdown sections or scattered bullet points. Users often have to piece together comparisons, workflows, and structures manually. If you desire an answer as a ready-to-read single-page HTML file—complete with layouts, styling, and SVG diagrams—models typically have to hand-write a significant amount of HTML. This consumes high token counts and is often unstable.

dsh-answer-me-with-html packages the upstream project Answer me with HTML into a DSH plugin. It is optional to enable and consists solely of a skill bundle. The model first writes a short Markdown draft, while the bundled am CLI handles CSS, layouts, and SVG coordinates. According to the README, this consumes approximately 1/8th of the tokens required for hand-writing HTML. The following section explains what it is, how to install it, and points to note during usage.

What is this?

  • Plugin Name: dsh-answer-me-with-html (npm package name matches repository name)
  • Maintainer: wjvalue
  • Category: Model Reasoning (Community Directory Classification)
  • Repository: github.com/wjvalue/dsh-answer-me-with-html
  • License: MIT; the embedded skill and CLI are also MIT, © QingYunA

The plugin does not contain Host code. It registers a dedicated @deepseek-ai/dsh-skill-filesystem provider via cordis.patch.yml, with the sole root directory being the skills/ folder inside the package. Skills enter the session directory via this root and are not copied to ~/.dsh/skills, nor do they modify other profiles.

Package Structure

Path Function
cordis.patch.yml Single-line config: the aforementioned skill filesystem provider, rooted at skills/
skills/answer-me-with-html/ Vendored upstream skill (unchanged): SKILL.md, references/, dependency-free scripts/am.mjs
scripts/update-skill.sh Re-vendors from upstream and runs npm test
scripts/publish-to-npm.sh Logs in and publishes to npm on demand

The current npm version is 0.5.0 (see repository package.json).

Core Features

  1. On-demand Page Generation: Ask questions as usual; the skill determines when it is valuable to generate an HTML page.
  2. Division of Labor: The model writes the Markdown draft; the am CLI (node <skill dir>/scripts/am.mjs) generates styling, layout, and SVG diagram coordinates.
  3. Local Storage: Pages are written to ~/.answer-me-with-html/pages/ for easy reading in a browser.
  4. DSH Integration: The skill name is answer-me-with-html; DSH passes the skill’s base directory to the loaded skill, so the ${CLAUDE_SKILL_DIR} placeholder in SKILL.md requires no manual modification.

Installation and Activation

Requires Node.js 20+; you do not need to run npm install within the plugin directory to execute am.

Install from npm (No build required, no additional authorization needed):

dsh plugin --profile <name> add dsh-answer-me-with-html

Replace <name> with your DSH profile name.

For development, you can also point to a local directory or select the same directory in the plugin marketplace / settings UI. The README also notes that when installing from a git URL, dsh plugin add requires pnpm on the PATH; the GitHub tarball also requires no build step. This article does not expand on the clone workflow.

Once installed, the plugin runs with the permissions of the current dsh process. Before enabling it, it is recommended to review the repository source code and MIT license to ensure compliance with your environment policies.

Typical Usage

No new command formats are required; simply ask a question. README examples:

Explain the TCP three-way handshake
Redis or Memcached for our cache?

When the skill determines that a page is appropriate, it utilizes a Markdown draft + am rendering, resulting in a readable single page in ~/.answer-me-with-html/pages/.

Use Cases and Notes

Who is it for?

  • Developers already using DSH who want complex explanations (protocols, architectural choices, multi-step workflows, etc.) presented as a single HTML page.
  • Scenarios where you want to reduce the model’s direct output of large HTML blocks but still need schematic diagrams and layouts.

Conflict with Default Skill Filesystem

If the default @deepseek-ai/dsh-skill-filesystem is enabled simultaneously, it scans ~/.dsh/skills and ~/.agents/skills and has a higher priority than the root directory of this bundle. If an older version of answer-me-with-html remains in these directories, it will silently overwrite the version vendored in the plugin.

Before deleting old copies, confirm whether they are referenced by other tools:

ls -la ~/.dsh/skills ~/.agents/skills ~/.claude/skills 2>/dev/null | grep answer-me-with-html

~/.agents/skills/answer-me-with-html is often a shared copy (often via symlink) used by Claude Code, ZCode, Hermes, WorkBuddy, etc.; deleting it may affect those environments. Optional actions: Keep the default provider disabled (it is off by default unless enabled elsewhere), or sync updates to the shared copy instead of just deleting the plugin-side dependency.

Do Not Misuse the CLI Update Prompt

After running for a while, am render may print a prompt similar to “Please run npx skills update answer-me-with-html -y”. This command belongs to vercel-labs/skills and updates the copy in ~/.agents/skills; it cannot update the skill provided by this plugin. To maintain this plugin, use the scripts/update-skill.sh within the repository (as of version 0.5.0, the upstream check has no DSH-specific branch, so the prompt will still appear).

Conclusion

dsh-answer-me-with-html integrates “Answer me with HTML” into DSH in a skill-only manner: optional installation, no pollution of global ~/.dsh/skills, and produces readable single-page HTML using Markdown + am CLI. Community Directory Page: skillhub.cn/plugins/wjvalue/dsh-answer-me-with-html; Source Code and Full Documentation: GitHub Repository.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye