agentsclimarketplace

Artifact styler

Skill keepYaoung/artifact-organizer/skills/artifact-styler

Agent skill that turns semantic JSON into self-contained, themed HTML — then stacks your artifacts into one persistent, restyleable dashboard. Zero dependencies, opens offline.

Install
npx -y skills add keepYaoung/artifact-organizer --skill artifact-styler

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Restyle an artifact (an Artifact Organizer HTML/JSON output, or any content you can express as a component envelope) into a chosen visual theme — notion, linear, vercel, stripe, supabase, apple, or tailwind. Use when the user says "restyle this", "make it look like apple/tailwind/stripe", "apply the X theme", "change the theme", or "give me this in our brand style". Re-renders to a single self-contained HTML file. Requires the `artifact-organizer` skill (renderer engine).

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.0 KB, as published. Nobody here has run it

Artifact Styler

Take an existing artifact and re-render it in a different theme. The styler never edits HTML by hand — it works on the semantic envelope and lets the renderer own every visual decision. Theme is the only thing that changes; the content stays identical.

When to use

  • "Restyle this in the apple theme" / "make it look like tailwind".
  • "Apply our brand style to this report."
  • "Same dashboard, but the stripe look."
  • You produced an Artifact Organizer output earlier and want a themed variant.

The 7 themes

ThemeCharacter
notionWarm cream, Notion Blue, reading-first (default)
linearDark-native, indigo, tight Inter
vercelGallery white, Geist, shadow-as-border
stripeWeight-300 luxury, deep navy
supabaseDark-native, emerald, border hierarchy
appleSF-style, cool greys, Apple Blue, soft elevation, true-black dark
tailwindInter, slate ramp, indigo-600, layered shadows

How the input is obtained

The renderer parses JSON envelopes, never HTML. So:

  1. Artifact Organizer output — every render saves a <name>.json envelope next to the <name>.html. Restyle by re-rendering that sidecar JSON with a new --theme. No re-extraction needed.
  2. Raw HTML with no sidecar (e.g. a Claude chat artifact) — you (the model) read the HTML and reconstruct the semantic envelope: map each block to a catalog component (Section, DataTable, Callout, KPICard, Chart, CodeBlock, diagrams, …). Emit data only — no colors, fonts, or classes. This "HTML → envelope" step is a model job, by design.

See references/catalog.md in the artifact-organizer skill for prop schemas.

How to use

  1. Locate the renderer engine (shipped with the artifact-organizer skill):

    AO=$(for p in \
      ./.claude/skills/artifact-organizer ~/.claude/skills/artifact-organizer \
      ./.codex/skills/artifact-organizer ~/.codex/skills/artifact-organizer \
      ./.cursor/skills/artifact-organizer ~/.cursor/skills/artifact-organizer \
      ./.opencode/skills/artifact-organizer ~/.opencode/skills/artifact-organizer \
      ~/.claude/plugins/cache/artifact-organizer-marketplace/*/plugins/artifact-organizer \
      ./plugins/artifact-organizer
    do [ -x "$p/scripts/outprint" ] && { echo "$p/scripts/outprint"; break; }; done)
    
  2. Get the envelope. If restyling an Artifact Organizer output, use its sidecar .json. Otherwise build the envelope from the source content.

  3. Re-render with the target theme:

    mkdir -p ~/.artifact-organizer/out
    "$AO" --theme apple --out ~/.artifact-organizer/out/<slug>-apple.html < envelope.json
    

    --theme is the whole point — swap it for any of the 7 names. The renderer auto-detects page vs canvas from the envelope; pass --renderer page|canvas to force one.

  4. Open and report. open <path> (macOS) / xdg-open <path> (Linux), then reply with the path and the theme applied.

Rules

  • Change the theme only — never rewrite the content while restyling.
  • props carry semantic data exclusively. A styling request is satisfied by the theme, never by color/fontSize/className props (the schema rejects them).
  • To stack restyled artifacts into one growing dashboard, hand off to the artifact-organizer skill instead.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.