Skill: Import Design
Turn a Claude Design export shared in the chat into a new draft site. The skill copies the design's images and fonts into the site and hands the Web Builder the page to rebuild. It never publishes.
Import Design turns a Claude Design export into a new draft site for your organization. It comes with the Web Builder: share the .zip that Claude Design exports in the chat and ask the Web Builder to build your site from it.
The skill does the mechanical part. It copies the design’s images and fonts into the site and returns the page’s source with conversion instructions. The Web Builder then writes the site’s HTML, CSS and JavaScript with Update Site. Nothing is public until a person publishes the site in Sites.
Parameters
| Parameter | Type | Description |
|---|---|---|
attachment_id | string | The shared .zip: the reference Horizon gives the file in the conversation. Required |
page | string or null | Which page or concept to import, when the export holds more than one. null on the first call |
site_id | string or null | To import into a site an earlier Import Design call created, its site_id. null creates a new draft site |
What it accepts
The export as Claude Design makes it: a .zip of .dc.html pages, with its design system under _ds/. A single shared .html page is also read as a one-page design. Anything else is refused with a message asking for the unchanged export. Images and fonts may be up to 5 MB each and 25 MB in total.
How an import runs
- Choose a page. If the export holds more than one page or concept and
pageisnull, the skill creates nothing and returnsstatus: "needs_page_choice"with each page’sfileandtitle. The Web Builder asks which one you mean, then calls again withpage. - Create the site. With
site_idnull, the skill creates a new site. Itssite_namecomes from the.zip’s file name, or the page’s title, orimported-site. A number is added when that name is taken by your organization or as a subdomain anywhere on Horizon. Its description reads “Imported from the Claude Design export …”. The site starts as a draft with a placeholderindex.html. - Copy the assets. The images and fonts the page and its stylesheets use are written into the site’s draft.
- Hand over the page. The skill returns
status: "ready"with the site, the assets copied or skipped, and ahandoff: the conversion instructions, the design tokens, the design-system components the page uses, and the page source.
If anything fails, a site the call created is removed rather than left empty.
Response
| Field | Description |
|---|---|
status | needs_page_choice or ready |
pages | With needs_page_choice: each page’s file and title |
site_id, site_name | With ready: the site imported into. Later skills take its site_name |
assets | Images and fonts copied, each with path, content_type and bytes |
skipped | Files not copied, each with its reason |
optimized | Images stored in a smaller format |
handoff | The instructions, tokens, components and page source the Web Builder rebuilds the site from |
The result is kept under 190 KB. Component sources and then design tokens are shortened to fit; a page whose own source is too large is refused, with a request for a smaller page.
When it refuses
- The file isn’t a Claude Design export, or
pageisn’t one of its pages. - A
site_idthat isn’t one of your organization’s sites, or a site that is archived. - Every name from the export’s to its numbered variants is taken.
Related skills: Update Site | Edit Site | Preview Site