HTMLHost.ai
Claude Code workflow

Publish Claude Code HTML artifacts as URLs.

Claude Code can create rich local HTML: dashboards, design mockups, test reports, diffs, and research summaries. HTMLHost.ai gives it a simple final step: deploy the file and hand back a link.

Claude Codehtmlhost deploy
Agent: created evaluation-report.html
Agent: checked the page in a browser
Agent: ran htmlhost deploy evaluation-report.html
https://yourname.htmlhost.ai/p/7m2/evaluation-report.html

Review on any device

Open the generated page on your phone, send it to a teammate, or keep it with the task thread.

No local tunnel

Avoid exposing localhost or wrestling with remote desktop zoom just to inspect an artifact.

Repeatable handoff

Give the agent a consistent deploy command so every HTML output ends with a useful URL.

Setup

One-time install, then agent-native publishing.

Install the CLIRun npm install -g @htmlhost/cli in the environment where Claude Code works.
Log in onceCreate or paste an API key with htmlhost login.
Add the instructionAdd the publish step to CLAUDE.md so Claude Code deploys reports, prototypes, and dashboards from the same shell it works in.
Copy-paste setup

Paste this into CLAUDE.md.

## Publishing HTML artifacts

When you create or update a standalone HTML artifact
(report, dashboard, prototype, test page):

1. Run: htmlhost deploy <file>.html
2. Reply with the public URL it prints.

To keep an existing URL stable across iterations, run:
htmlhost update <existing-url> <file>.html
FAQ

Practical answers before you publish.

Does Claude Code need browser access?

No. The CLI is enough for publishing once the HTML file exists.

Can the agent update an existing link?

Yes. Use htmlhost update with the existing HTMLHost.ai URL and the new local file.

Are generated pages indexed by search?

No by default. Shared pages are public by URL, but HTMLHost.ai avoids search indexing for uploaded user content.

How do I make Claude Code publish automatically?

Add a CLAUDE.md instruction telling Claude Code to run htmlhost deploy on final HTML artifacts and return the URL.