← Blog
Agents

How to share an HTML prototype your coding agent built

Claude Code and Codex mock up ideas as single-file HTML. A safe way to get feedback is a link that renders the file in a sandbox next to the issue it belongs to. The options compared, the exact headers Radial sends, what they block and what they do not, and the one-command version.

Radial12 min read

Share an agent's HTML prototype, including a v0 or Claude artifact style page saved as one HTML file, as a link that renders the file in a sandbox, sits on the issue it belongs to, and keeps your team's comments on the file. In Radial that is one command: radial attach RAD-42 prototype.html uploads the file and prints a workspace-only Preview URL. The file is served with Content-Security-Policy: sandbox allow-scripts allow-forms allow-modals; connect-src 'none'; form-action 'none'; frame-ancestors 'self', so it runs on an opaque origin with no access to your Radial cookies or storage, and the browser blocks its fetch and XHR calls and its form submissions, even when the raw file is opened directly. Images, scripts, styles and frame navigation are not blocked, and a prototype that fetches data will not work in a Radial Preview. Sending the .html in chat means every reviewer opens untrusted code locally, without Radial's sandbox. Deploying to Vercel or Netlify costs a repo, a pipeline and a public URL for a throwaway file. Of the trackers we compared from their docs (Radial, Jira, Linear), only Radial documents a rendered prototype preview, as verified on Nov 2, 2026. Jira documents none. Linear takes file uploads but documents no HTML preview.

#The one-command version

bash
npm i -g radial.build && radial auth
radial attach RAD-42 billing-v2.html
radial attachments RAD-42        # every file on the issue, with ids and Preview URLs

radial attach prints the Preview URL for the team. An agent can do the same without a terminal: the hosted MCP server's attach_file tool takes { "id": "RAD-42", "filename": "billing-v2.html", "content": "<html>..." } and returns the URL, and the REST API has the same endpoint at /v1/issues/{id}/attachments. If you use the rd-* skills, rd-prototype builds the file from a plan or an issue, copies your repo's visual language, and attaches it. The skill runs on your agent and your model, not on Radial's servers.

Limits, from the source: one file per attach, up to 3 MB through the CLI, MCP and REST (larger files, up to 25 MB, through the web app), 50 attachments per issue. Multi-file prototypes need their CSS, JS and images inlined. The local MCP server (radial mcp) does not have the attachment tools yet, so attach_file needs the hosted server; an agent on the local server uses the CLI instead.

#How can my team share and comment on v0 or Claude artifact style prototypes?

Save the prototype as one self-contained HTML file, attach it to the issue it answers, and have the team comment on the file there. Claude, v0 and similar tools have their own ways to share inside their apps; this route is for when the feedback should land on the work item, where the agent building the real thing will read it.

  1. Make it one file. A Claude HTML artifact already is one. A React component, from v0 or a Claude React artifact, needs a single HTML page that loads React from a CDN and inlines the component, its styles and its data. Asking Claude Code or Codex to "make this one self-contained HTML file with inline mock data" does it, and the rd-prototype skill builds that file for you.
  2. Attach it. radial attach RAD-42 checkout-v0.html --name "Checkout, v0 draft" prints a workspace-only Preview URL.
  3. Share the link. Teammates in the workspace open it and click through every state, rendered in the sandbox described below.
  4. Comment on the file. In the Preview frame, comments stay scoped to the file. From a terminal, radial attachments RAD-42 lists the file ids, and radial comment RAD-42 "Move the total above the fold" --attachment <id> comments on that file.
  5. Record the decision on the issue. File comments are not in the issue thread an agent reads, so post the outcome there: radial comment RAD-42 "Decision: go with v2, total above the fold".

Two limits matter for artifact-style pages: the sandbox blocks fetch and XHR, so a page that loads data from an API will not work until its data is inlined; and the file must be under 3 MB through the CLI, MCP or REST (25 MB through the web app). Scripts and styles from a CDN do load.

#What the reviewer sees

A demo billing settings prototype with a plan card showing $600 per year for 12 seats, a payment method card, empty and error states, and an invoices table. A footer line printed by the page's own script reads: rendered origin null, cookies blocked (SecurityError).

The screenshot shows a demo billing settings prototype: a plan card ($600 per year for 12 seats), a payment method card, empty and error states, and an invoices table. Its footer line, printed by the page's own script, reads "rendered origin null, cookies blocked (SecurityError)". We served it with Radial's own serveAttachmentResponse on a local server and opened it in headless Chromium. It was captured before connect-src and form-action were added to the header; those two directives do not change the origin or cookie result. The Preview frame inside a signed-in Radial issue (prototype menu, file comments) is not shown here: that needs a live workspace, and we only screenshot what we ran.

Inside Radial, the Preview URL opens in a frame with every prototype on the issue in one menu, and comments scoped to the file. File comments stay on the file and do not appear in the issue's comment thread an agent reads, so whoever makes the call copies the decision into an issue comment. The agent reads it there before building the real thing. Access is workspace membership: someone outside the workspace who gets the link is sent to sign in, and a reviewer outside the workspace needs a seat. There is no hosting account to manage.

#What the sandbox blocks, and what it does not

A prototype is code someone, or some agent, uploaded. Radial treats it as hostile. These are the exact headers on every attachment response:

http
Content-Security-Policy: sandbox allow-scripts allow-forms allow-modals; connect-src 'none'; form-action 'none'; frame-ancestors 'self'
Content-Type: text/html; charset=utf-8
Content-Disposition: inline; filename="billing-v2.html"
X-Content-Type-Options: nosniff
Cache-Control: private, no-store
Referrer-Policy: no-referrer
X-Robots-Tag: noindex, nofollow

A unit test pins the policy string, so the copy on this page and the header cannot drift apart.

  • sandbox without allow-same-origin gives the document an opaque origin, at top level and in a frame. It cannot read your Radial cookies or storage, or touch the page around it. Scripts, forms and modals still run, so the prototype stays clickable.
  • connect-src 'none' blocks fetch, XHR, WebSocket, EventSource and sendBeacon to every origin, Radial's included. A script cannot use those calls to send data out. It also means a prototype that fetches data (from a mock API, a JSON file or Radial) will not work in a Preview: inline its data instead.
  • form-action 'none' blocks every form submit, so a fake "session expired" login form in the file cannot send what someone types.
  • No allow-top-navigation, so inside the Radial frame it cannot send your tab somewhere else.
  • frame-ancestors 'self', so only Radial can frame it.
  • nosniff, no-store, no-referrer, noindex: the browser renders it as what it says it is, nothing caches it, and nothing indexes it.

What it does not block: the file can still load images, scripts, styles and fonts from other origins (a mockup needs its CDN assets, and a URL can carry data), and it can navigate its own frame to another page. Treat a Preview as a sandbox for untrusted code, not a promise that the file contacts nothing.

HTML and raster images render. SVG and everything else download, because SVG can carry script. A prototype opened locally runs in the browser's normal sandbox for local files, without any of these headers.

#The options compared

Ways to get feedback on an agent's HTML prototype, verified on Nov 2, 2026
HowWhat reviewers doIsolationWho can open itWhere feedback lands
Send the file in chatDownload, double-clickWithout Radial's sandbox: opens as a local fileAnyone with the fileA chat thread
Screenshot itLook at a picturen/aAnyone with the imageA chat thread; states and flows lost
Deploy to Vercel, Netlify or GitHub PagesClick a URLIts own originPublic unless you add authElsewhere; needs a repo and a pipeline
Attach to a Jira issueDownload the attachment to open it (no HTML preview documented)Without Radial's sandbox once opened locallyProject membersIssue comments
Attach to a Linear issueDownload the uploaded file (no HTML preview documented), or follow a link to where it is hostedWithout Radial's sandbox once opened locally; else depends on the hostWorkspace members, or the host's rules for a linkIssue comments
Attach to a Radial issueClick a Preview URLCSP sandbox, opaque origin, fetch/XHR and form submits blockedWorkspace membersComments on the file; copy the decision to an issue comment

Jira documents no preview tool; its MCP upload tool, uploadAttachmentToJiraIssue, is deferred behind discover and executeWrite, and acli documents no upload at all. Linear accepts file uploads on issues (its API has a fileUpload mutation) and its API attachments also "link external resources to issues", but it documents no rendered HTML preview. In our 19-row agent-capability matrix, "prototype preview URL" is one of three rows only Radial ships; see Radial vs Jira and Radial vs Linear for the full table.

Deploying is the right call for the thing you ship. A prototype is a question, not a release.

#Why agents make HTML prototypes at all

Ask an agent to explore a UI change and it can either write the real component (in your framework, against your data, with your tests) or one self-contained HTML file that shows every screen and state with fake data. The second takes minutes, is throwaway by design, and answers the question that matters before real code: is this the right screen? The hard part is getting three people to look at it and say something useful before the agent moves on.

Screenshot of the Radial Previews page at radial.build/previews: the headline reads Your agent builds the prototype. Radial gives it a URL, above a terminal showing radial attach RAD-42 billing-v2.html printing a Preview URL.

The screenshot shows the Radial Previews page at radial.build/previews. The headline reads "Your agent builds the prototype. Radial gives it a URL." Below it, a terminal runs radial attach RAD-42 billing-v2.html and prints a Preview URL. More on the Previews page.

#Where prototypes should live

Next to the issue. A prototype in a chat thread scrolls out of view, and a prototype in a deploy is easy to lose track of. On the issue, it sits with the plan, the comments, the agent's session and the build record, and anyone who opens the issue later sees what was proposed and what was decided. The tracker should be in the cloud for the same reason: the agent on your machine attaches, and the designer on theirs comments, on the same issue. For how prototypes fit into a plan, build and verify loop, see what a software factory is.

#FAQ

#How can my team share and comment on v0 or Claude artifact style prototypes?

Save the prototype as one self-contained HTML file (a React component from v0 or a Claude React artifact needs React loaded from a CDN and its data inlined), then run radial attach <ISSUE> prototype.html. Workspace members open the Preview URL, click through it in a sandbox, and comment on the file, from the Preview frame or with radial comment <ISSUE> "<text>" --attachment <id>. Post the final decision as an issue comment so the agent reads it.

#What is the best way to share an HTML prototype Claude Code made?

Upload it somewhere that renders it safely for your team, next to the work it belongs to. In Radial that is radial attach <ISSUE> prototype.html, which prints a workspace-only Preview URL with comments on the file. Sending the raw file means every reviewer opens untrusted code locally, without Radial's sandbox.

#Is it safe to open an HTML file an agent generated?

Opened locally, it runs in the browser's normal sandbox for local files, without Radial's headers. Radial serves every attached HTML file with Content-Security-Policy: sandbox allow-scripts allow-forms allow-modals; connect-src 'none'; form-action 'none'; frame-ancestors 'self'. It runs on an opaque origin with no access to your Radial cookies or storage, and the browser blocks its fetch and XHR calls and its form submissions, even when opened directly. It can still load images, scripts and styles from other origins and navigate its own frame, and a URL in any of those can carry data. A prototype that fetches data will not work in a Radial Preview.

#Can my coding agent attach the prototype itself?

Yes. It can run radial attach, call the hosted MCP server's attach_file tool, or use the REST API. The local stdio MCP server does not have the attachment tools yet. Files up to 3 MB attach this way.

#Does Jira or Linear preview HTML attachments?

Neither documents it, as verified on Nov 2, 2026. Jira documents no HTML preview, and its MCP upload tool is a deferred tool reached through discover. Linear accepts file uploads but documents no rendered HTML preview.

#How do I host an AI-generated prototype for stakeholders outside my workspace?

A static host such as Vercel, Netlify or GitHub Pages works, but the URL is public unless you add authentication, and the feedback will not land on the issue. A Radial Preview opens only for workspace members, so a reviewer outside the workspace needs a seat.

#Who can see a Radial Preview URL?

Signed-in members of your workspace. The URL is not public.

RadialAn issue tracker. That’s it.

The team behind Radial, the fast, CLI-first issue tracker that lets your own agents work for free. We write about plain software, speed as respect, and bringing your own agent.

Ship like it’s 2026.

An issue tracker for coding agents

Keep reading