From Cursor to URL: Publishing AI-Generated Code in One Command

Your AI editor writes the code. host-html ships it. Here's the complete workflow for going from idea to live page in 60 seconds.

The 60-second workflow

Here's what publishing looks like in 2026:

1. 0:00 — Open Cursor (or Claude Code, or Windsurf)

2. 0:05 — Type: "Create a landing page for a coffee subscription service with pricing and a signup form"

3. 0:30 — AI generates a complete HTML page

4. 0:35 — Type: "/host-html"

5. 0:40 — Agent publishes via the host-html skill

6. 0:45 — You have a live URL

7. 1:00 — You've already shared it with your team

No terminal commands. No deploy pipeline. No waiting for builds.

Setting up the skill

First, add the host-html skill to your agent's toolkit:

npx skills add phanosh/host-html --skill hosthtml-publish -g -y

This gives your AI agent the ability to publish HTML files directly. It works with any agent that supports the skills protocol.

How agents use it

When you tell your agent to publish, it:

1. Takes the generated HTML content

2. Sends it to the host-html API

3. Returns the live URL, edit token, and expiration info

4. Presents you with a clickable link

The agent handles everything. You never touch a deploy command.

Iteration is instant

Want to change something? Tell your agent:

"Make the hero section bigger and change the color scheme to dark mode"

The agent edits the HTML and republishes — new URL, same workflow. (Publishing is create-only today; the edit_token is saved for a future in-place update endpoint.)

Why this beats traditional hosting

Traditionalhost-html
Write code → commit → push → build → deployWrite code → publish
5-10 minutes10 seconds
Requires git, CLI tools, account setupRequires nothing
Complex for non-developersAnyone can do it

The bigger picture

We're moving toward a world where AI agents don't just assist — they ship. The gap between "idea" and "live on the internet" is shrinking to zero. host-html is designed for exactly this future.

Install the skill and start publishing →