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

ParameterTypeDescription
attachment_idstringThe shared .zip: the reference Horizon gives the file in the conversation. Required
pagestring or nullWhich page or concept to import, when the export holds more than one. null on the first call
site_idstring or nullTo 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

  1. Choose a page. If the export holds more than one page or concept and page is null, the skill creates nothing and returns status: "needs_page_choice" with each page’s file and title. The Web Builder asks which one you mean, then calls again with page.
  2. Create the site. With site_id null, the skill creates a new site. Its site_name comes from the .zip’s file name, or the page’s title, or imported-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 placeholder index.html.
  3. Copy the assets. The images and fonts the page and its stylesheets use are written into the site’s draft.
  4. Hand over the page. The skill returns status: "ready" with the site, the assets copied or skipped, and a handoff: 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

FieldDescription
statusneeds_page_choice or ready
pagesWith needs_page_choice: each page’s file and title
site_id, site_nameWith ready: the site imported into. Later skills take its site_name
assetsImages and fonts copied, each with path, content_type and bytes
skippedFiles not copied, each with its reason
optimizedImages stored in a smaller format
handoffThe 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 page isn’t one of its pages.
  • A site_id that 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