Publishes HTML artifacts as shareable links with optional password protection, annotation-based feedback collection, and local co-editing mode. Useful for sharing reports, mockups, or proposals before shipping.
Ships in ccc-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Publish any HTML file and get a shareable URL instantly via the htmldrop CLI. Three modes:
127.0.0.1 and iterate on it live with the user: they annotate and comment on one surface; you edit the file (it hot-reloads), reply, or ask them a question. No hosting, nothing published. This is the loop to firm a doc up before sharing it — or between rounds of external feedback. See references/edit-mode.md.Design applies to every mode: before generating or serving any HTML, match the design system of the project the artifact is about, so it looks like the real product rather than a generic page. See references/design-and-visuals.md — read it whenever you author or edit HTML here.
This fires automatically, whether the user runs simple share, feedback, or edit mode — and whether or not they ever type a htmldrop playbook/htmldrop design command. It is the default behavior of this skill, not an opt-in. Do both, in order, before you write or edit a single line of HTML:
Match the look first (theme + styling). Detect and adopt the design system of the project the artifact is about (not necessarily your current working dir), in this priority:
:root CSS variables/design tokens, an in-use component library, or brand assets (logo, palette, fonts) on an existing styled page;Pick the right shape (the MUST-router). Match the content against these triggers and reach for the right structure before writing. One artifact often combines several:
<div> boxes. Re-render on light/dark flip (Mermaid never restyles an already-drawn SVG).setTimeout is network lag; a toggle is a mode switch); (c) a looping before/after; (d) a cheat-sheet table last, including the honest trade-off.<table>, aligned columns, no horizontal overflow, highlight the decision-relevant column.The full contract lives in references/design-and-visuals.md — ready-to-paste pinned CDN snippets (with integrity hashes), a layout-safety CSS block, a theme-aware Mermaid re-render snippet, and the per-shape guidance. Read it before authoring; it is the single source of truth for both the guardrail above and the optional commands below.
Optional standalone commands (same content, on demand). If you (or a non-skill agent, or a curious user) want the guidance without this skill loaded, the CLI exposes it directly — these are a convenience, not a replacement for the guardrail:
htmldrop design [--json] — prints the design contract (priority rule, pinned snippets, layout-safety CSS, theme-aware Mermaid).htmldrop playbook [id] [--json] — lists the shapes, or prints one (diagram, comparison, input, plan, table, slides, explainer).npm install -g @yeefeiooi/htmldrop@latest (the binary is still htmldrop)htmldrop init once (sets up Surge account + subdomain)htmldrop auth setup once (generates an author API key in ~/.htmldrop/config.json)init, no Surge, no auth key). Lowest-friction entry point.~/.netrc; the feedback author key lives in ~/.htmldrop/config.jsonhtmldrop pushThis is the most common case — "just give me a link." Follow this sequence.
which htmldrop
test -f ~/.htmldrop/config.json && echo "initialized" || echo "not initialized"
If not set up, direct the user to run htmldrop init interactively. The first deploy triggers Surge's interactive email/password login. After that, the token is saved in ~/.netrc and future deploys are automatic.
Present two options:
If public — ask one follow-up: "Block search engines and AI crawlers from indexing?"
htmldrop push --noindex /path/to/file.htmlhtmldrop push /path/to/file.htmlIf password-protected — have the owner prepare and save the password in their password manager. Supply it through an existing protected $HTMLDROP_PASSWORD environment or the CLI's hidden prompt; never ask for it in chat or place it in the command arguments. Do not use a generator mode that prints the password. If secure input is not ready, wait for the owner before publishing.
# Reads the owner-supplied environment value or a hidden prompt; no secret in argv:
htmldrop push /path/to/file.html --password
Public:
Published: https://subdomain.surge.sh/filename.html
Password-protected:
Published with password protection!
URL: https://subdomain.surge.sh/filename.html
Keep the password in your password manager and share it separately with recipients.
If the user explicitly states preference in their request, skip the question:
| Command | Purpose |
|---|---|
htmldrop init | One-time setup (subdomain + Surge login) |
htmldrop push <file> | Publish a file (flags: --password, --noindex, --open) |
htmldrop list | Show all published files with URLs |
htmldrop delete <file> | Remove a file and redeploy |
htmldrop open <file> | Open published file in browser |
Use this when the user wants people to review and comment on an HTML doc, spec, or report — or when they want to pull, answer, or synthesize that feedback. Publishing with --feedback embeds an annotation widget in the page.
htmldrop push <file> --feedback prints one shareable Feedback URL like:
https://htmldrop-feedback.htmldrop.workers.dev/doc/<uuid>
That single /doc/<uuid> link serves everyone:
There is no separate "viewer link" vs "author link." Share the one URL and you are done.
The link is stable. Re-pushing the same file with --feedback reuses its docId, so the URL never changes and existing comments stay attached. This is why the agent loop below works: you can keep updating the document at the same link as feedback comes in. Use --new-doc only when you deliberately want a fresh, empty doc.
htmldrop auth setup run once (creates the author API key). Add --force to regenerate it.converge additionally needs an LLM API key (Anthropic, OpenAI, or Gemini) in the environment — ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, or LLM_API_KEY. The provider is auto-detected from the key; override with --provider/--model. No SDK install needed.| Command | Purpose |
|---|---|
htmldrop auth setup [--force] | One-time: generate an author API key. Required before any feedback feature. |
htmldrop push <file> --feedback | Publish with the annotation widget; prints a stable Feedback URL. Re-push same file → same link, comments preserved. |
htmldrop push <file> --feedback --password <pw> | Feedback-enabled private doc — the widget appears after the viewer decrypts. Review link is the password-gated URL (reviewers need the password). |
htmldrop push <file> --feedback --new-doc | Force a fresh feedback doc/link (clean slate). |
htmldrop feedback pull <file> [--json] | Retrieve feedback for your own file (uses local manifest + author key). |
htmldrop feedback read <docId|url> [--json] | Read feedback for any doc by id or link — no ownership/manifest. Use this when reviewing a teammate's doc. |
htmldrop feedback list | List which published files have feedback enabled. |
htmldrop feedback add [file] --text "..." [--doc-id <id|url>] [--name "..."] [--on "<anchor>"] [--parent-id <id>] | Post a comment (the agent write path). --doc-id comments on a doc you didn't publish; --on anchors to text; --parent-id replies. |
htmldrop feedback clear <file> | Delete all feedback for a file (owner only). |
htmldrop pull <url> [--password <pw>] [--output <f>] | Reconstruct the clean editable source from a published doc and re-link it to the same doc/link. A teammate pulls, edits, and push --feedback back to the same link with comments intact (no git). |
htmldrop identity export [--json] / htmldrop identity import <blob> [--force] | Share one team identity so teammates publish to the same link. Use a dedicated team account, never a personal one. |
htmldrop fetch <url> [--password <pw>] [--out <f>] | Fetch + decrypt a published doc so the agent can read its content (use with a teammate's link + password). |
htmldrop converge <file> [--dry-run] | One-shot: pull all feedback → LLM → write <file>.converged.html, auto-resolving disagreements (owner only). --dry-run prints the prompt without calling the API. |
htmldrop studio [--port <n>] [--no-browser] | Open the local "Converge Studio" dashboard to review feedback + trigger AI insights. |
Roles: anyone with the link is a reviewer (read + comment, via feedback read / feedback add --doc-id / fetch — no key). The owner (author-key holder who published) additionally runs converge and feedback clear. So a teammate's Claude/Codex session can fully review a shared doc, but only the owner synthesizes/converges it.
When Claude generates a doc/spec/report and the user wants collaborative review, this is the workflow:
Generate & publish — write the HTML, then:
htmldrop push /path/to/doc.html --feedback
Share the printed Feedback URL with the user. Reviewers comment on it directly.
Pull feedback — when the user asks what reviewers said, or before synthesizing:
htmldrop feedback pull /path/to/doc.html
Inject researched answers (optional but powerful) — Claude can respond to a comment with its own evidence after researching. Anchor the reply to the exact text being discussed:
htmldrop feedback add /path/to/doc.html \
--text "Verified against the 2026 pricing docs: the tier cap is 500 req/s, not 200." \
--name "AI Research" \
--on "the rate limit is 200 req/s"
Use --parent-id <id> to reply directly under a specific reviewer comment instead of anchoring to text.
Converge — synthesize all comments into an improved document. Two paths:
htmldrop converge /path/to/doc.html pulls all feedback, calls an LLM, and writes /path/to/doc.html.converged.html. It auto-resolves disagreements itself. Review it, then promote it over doc.html once it looks right. Use --dry-run first to inspect the prompt without spending an API call.Close the loop — post resolutions back as replies. After you fold in a comment or the human decides an open item, reply on that reviewer's comment so the resolution lives on the document (reviewer refreshes the link → sees their comment was addressed → and why):
htmldrop feedback pull /path/to/doc.html --json # get comment ids
htmldrop feedback add /path/to/doc.html --parent-id <id> --name "<author>" --text "<how it was resolved>"
For a password-gated doc, add --password <pw> to the reply (gated feedback requires the token derived from the password).
Re-push to the same link — publish the improved version so reviewers see it update in place:
htmldrop push /path/to/doc.html --feedback
Same URL, comments intact. The loop can repeat as more feedback arrives.
For the detailed walkthrough — single-URL mechanics, anchoring rules, the two-tier converge (clear wins vs. judgment calls), closing the loop with reply resolutions, and troubleshooting — read references/feedback-workflow.md.
Use this when the user wants to refine an HTML doc or page with you, live, before publishing — not to collect async feedback from others. It runs entirely on 127.0.0.1; nothing is hosted.
The core is a listen loop: you serve the file, the user annotates/comments in the browser, and you poll to receive their input, edit the file, and it hot-reloads. Minimal shape:
htmldrop edit start /abs/path/doc.html # serve locally; opens the browser
htmldrop edit ls [--json] # list all local edit sessions + which have unaddressed input
htmldrop edit poll /abs/path/doc.html --json # BLOCKS until the user leaves a comment (or answers a question)
# → act on what you receive, edit doc.html (it live-reloads), then:
htmldrop edit reply /abs/path/doc.html --text "what you changed"
# → re-run `edit poll` and repeat. `edit ask` puts a question to the user;
# `edit layout` checks render issues; `edit end` closes it.
Keep edit poll running like any long-poll — it stays silent until there's input, so re-run it after each reply. When the doc is ready, publish with htmldrop push --feedback (Mode 2) for external review. To iterate on feedback you already collected, htmldrop edit start <file> --with-feedback loads those reviewer comments into the session.
Read references/edit-mode.md before running an edit session — it has the full command reference, the poll payload shape (messages / comments / layout warnings), the listen-loop pattern, and how design/theme matching applies here.
When the user asks to create an HTML artifact AND share/review it:
references/design-and-visuals.mdtest -f /path/to/file.html--feedback and follow the Agent Loopreferences/edit-mode.md), then publish when ready| Issue | Fix |
|---|---|
htmldrop: command not found | npm install -g @yeefeiooi/htmldrop@latest |
| Not initialized (simple share) | Run htmldrop init interactively |
| Auth error on push | Run htmldrop init to re-authenticate |
| Feedback command rejected / no author key | Run htmldrop auth setup once |
converge fails | Ensure an LLM key is set (ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / LLM_API_KEY); pass --provider if the key prefix is unrecognized |
| Feedback link changed unexpectedly | You likely passed --new-doc; omit it to keep the stable link |
| File not found | Use absolute path |
| Change password | Re-push with new --password (overwrites) |
edit poll returns nothing | Correct — it blocks silently until the user acts. Leave it running; re-run after each reply |
| Edit session won't start / stale | htmldrop edit stop, then htmldrop edit start <file> again |
references/edit-mode.md — Local real-time edit mode: commands, the listen loop, poll payload, layout QA, re-engaging an ended sessionreferences/design-and-visuals.md — Match the project's design system (all modes) + when to make an artifact more visual/dynamic, plus the full design contract (pinned CDN snippets, layout-safety CSS, theme-aware Mermaid) and the per-shape playbook router. Same content as htmldrop design / htmldrop playbook.references/feedback-workflow.md — Deep dive on the feedback + converge agent loop, single-URL model, auth setup, and troubleshootingreferences/privacy-levels.md — Detailed privacy/security comparison and user FAQWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
html-sharing, feedback-collection, collaboration, annotation, hosting
/ccc-skills:htmldropfrom ccc-skills
npx claudepluginhub ooiyeefei/ccc --plugin ccc-skills10 skills in this plugin
/agentic-system-designPrescriptive Q&A workflow for designing agentic pipelines, multi-model councils, sub-agent hierarchies, and tool-loop hardening for any domain. Use when the user asks to "design an agent", "design a multi-agent system", "should I use a council/debate", "build a [domain] review agent" (HAZOP, finance, tutorial, marketing, compliance, accounting), "real agency vs workflow", "how to add sub-agents", "AI for [domain] review", or names patterns like "orchestrator-worker", "evaluator-optimizer", "Magentic", "ReAct", "plan-and-execute", "handoffs". Walks the user through 12 stages one question at a time and emits a buildable design doc with citations. Do NOT use for general coding questions, single-shot prompt tuning, or bare "use Claude to do X" requests with no agency requirement./cross-app-shared-authBlueprint for wiring many apps to one shared login plus a central accounts database, so a person has a single account across every app and access to each app accrues per app (opt-in, deny-by-default). Use this whenever onboarding a new app into a shared-auth family, setting up cross-subdomain SSO, building a central entitlement or "app access" database, adding per-app access gating, or when the user mentions one login for many products, shared accounts across apps, subdomain SSO, a central accounts service, app entitlements, or letting people sign up from any app OR a landing page and have it register centrally. Trigger even if the user does not say "shared auth" but describes a portfolio or family of apps that should share identity.Other plugins' skills for the same job