# Repository Briefing: QingYunA/answer-me-with-html
> Source: https://repoforai.com/repo/QingYunA/answer-me-with-html (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/QingYunA/answer-me-with-html
- **Official Docs / Website**: https://answer-me-with-html.com/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (92/100 · Maintenance 35/35 · Adoption 17/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.6.4 (2026-11-24) — https://github.com/QingYunA/answer-me-with-html/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 6,807 ★ total (+16 24h / +128 7d) · 468 forks
- **Topics**: `agent-skill`, `ai-agent`, `claude-code`, `claude-code-skill`, `claude-skill`, `claude-skills`, `cli`, `diagram`, `dsh-plugin`, `explainer`, `html`, `llm`
- **When to Use**: Best for: Teams using shell-capable agents to turn architecture walkthroughs, API comparisons or implementation plans into offline pages that colleagues can read and comment on. Skip if: You need a verified MCP endpoint, a shared review session with synchronized feedback, or a bespoke web UI that does not fit the draft components.

## Overview
```text
### Architecture & Core Mechanics
Answer me with HTML is an agent skill backed by a local Node.js CLI, not a demonstrated MCP service. The agent drafts Markdown with frontmatter, panel directives and fenced component blocks. The CLI selects a template and theme, places panels and renders diagrams to SVG. Dagre lays out flowcharts, while sequence diagrams use label widths to determine spacing. The manifest exposes `am` and `answer-me-with-html` and lists four dependencies: `@dagrejs/dagre`, `@fontsource/bangers`, `marked` and `temml`.

Claude Code and DeepSeek Harness have plugin entry points, while other shell-capable agents can install the skill or invoke the CLI directly. Markdown is the handoff format, not a host-specific UI protocol: the resulting file embeds its source for recovery, and its reply controls assemble panel comments and decision selections into text the user pastes back to the agent.

### Key Capabilities & Differentiators
A single page can combine prose, sortable and filterable tables, charts, and diagrams for flows, states, sequences, trees, ER models and classes, alongside API contracts and local code excerpts. The `src=` and `lines=` options quote files directly; out-of-folder and key-bearing files are refused. Invalid drafts yield diagnostics with the line, component and a corrected example. Writing checks adapted from ASD-STE100 warn by default and can reject drafts in strict mode.

Generated HTML opens offline, with no CDN or web-font requests. Blueprint, shadcn and paper each offer light and dark modes; controls and fonts are tailored for English, Japanese and Simplified and Traditional Chinese. `am video` extends the draft format with narrated beats and produces a player that builds the diagram step by step. The player embeds narration for offline playback.

### Trade-offs & Limitations
Compared with direct HTML generation, the draft format keeps repetitive markup and SVG geometry out of the model's output, at the cost of working within the supplied components for most layouts. In a Claude Sonnet 5.5 benchmark covering three topics with three runs apiece, mean output fell from 4,893 to 612 tokens and median time from 31 to 12 seconds. The reported bill fell by about 15% in that setup because input context still had to be processed. These results are not a latency or cost forecast for other workloads.

Archify is a closer fit for one interactive diagram from a JSON spec; GenUI plugins keep components inside their host chat. This project instead hands off a file, and feedback returns as pasted text rather than a shared session. Offline readability is not a privacy guarantee: check the embedded draft and code excerpts before sharing. The MIT license permits commercial reuse subject to its notice requirements.

### Hardware & Deployment Guide
Install the Claude Code or DeepSeek Harness plugin, use `npx skills add QingYunA/answer-me-with-html`, or copy the shipped skill directory into a supported agent's skill folder. The bundled renderer requires Node.js 20 or newer and no separate `npm install`. Pages default to `~/.answer-me-with-html/pages/`; no rendering server is required. Updates are manual, with a configurable background version check. Browser video export works from a local file or localhost without ffmpeg; CLI MP4 export via `--mp4` requires it.

The v0.6.2 release added an Export menu for copying the page as an image, downloading a PNG and saving as PDF. v0.6.3 introduced `steps` to connect diagram items to code lines and notes within the same panel. v0.6.4 extended it to diagram-only walkthroughs for flow, state and tree blocks.
```

## Key Capabilities
```text
- Runtime: Node.js 20+ CLI exposed as `am` and `answer-me-with-html`, bundled with the agent skill.
- Layout: Dagre positions flowcharts; sequence diagrams space participants by label width.
- Source fidelity: `src=` and `lines=` quote local code, with out-of-folder and key-bearing files refused.
- Interactive walkthroughs: `steps` connects flow, state or tree items to notes and optionally to code lines in the same panel.
- Portable artifacts: Standalone HTML embeds its Markdown source and offers image copying, PNG download and PDF saving.
- Editorial feedback: ASD-STE100-inspired checks warn by default; strict mode rejects drafts that fail.
```

## Quick Start / Clone
```bash
npx skills add QingYunA/answer-me-with-html
```
