/skill-madness:artifact-publishfrom skill-madness
Publishes visual or interactive results (dashboards, reports, charts, prototypes) as self-contained HTML/Markdown pages on private, shareable claude.ai links instead of local files.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Publishing an Artifact renders a self-contained HTML (or Markdown) file to a hosted, default-private web page on claude.ai — one the user can open in a browser and later choose to share by link. It is the Claude Code Artifact feature documented at code.claude.com/docs/en/artifacts, and it turns "here's a file, open it locally" or a wall of terminal text into a real, shareable page.
This skill is about the decision (when to publish) and the mechanics (how to publish correctly) — not visual design.
Load
artifact-designfirst. It calibrates how much design investment a request warrants and carries the look-and-feel fundamentals. This skill deliberately does not reinvent that guidance — it defers to it.artifact-designis the how it looks;artifact-publishis the should-I-publish-and-how-do-I-ship-it.
Announce at start: "Using artifact-publish to ship [thing] as a hosted Artifact."
Publishing is the right move when the deliverable is visual or interactive and reads better as a page than as terminal text or a file the user has to find and open:
Do not publish when:
interactive-doc's .md) — the Artifact is a shared view, never the source of truthPublishing is outward-facing. Skill activation or a request for a local page grants no upload authority. Before publication, confirm the exact artifact, destination/account, audience/access policy and any private-data egress. An explicit publish request covering those particulars may provide that consent; otherwise present a local preview and wait. Public sharing, changing access policy, replacing another artifact, or publishing sensitive content requires its own scoped approval.
The full tool contract — every parameter, the CSP rules, conflict handling, and how to read or re-target an existing Artifact — lives in references/artifact-tool.md. Read it before your first publish. The load-bearing points:
doctype, html, head, or body wrappers of your own — the tool wraps the file in that skeleton at publish time and applies a minimal CSS reset. Set the page title with a title element in the head you do write.data: URIs. An external reference doesn't warn — it silently fails and the page breaks.max-width:100% on media. Wide content (tables, diagrams, code) scrolls inside its own overflow-x:auto container — the page body itself must never scroll sideways.url; otherwise a fresh session always mints a new URL.artifact-design for design calibration.favicon, a one-sentence description, and a stable title in the file.Most of the time you're not authoring a page from scratch — you're finishing what another skill produced:
| Producing skill | What it makes | How artifact-publish finishes it |
|---|---|---|
interactive-doc | a canonical .md (stays in the repo/vault) + a self-contained .html companion | publish the .html as a shareable hosted view. The .md stays the source of truth — do not let the Artifact become canonical |
mermaid-charts | one or more diagrams | render to SVG, inline it in a page, publish. (Mermaid needs its runtime — inline the rendered SVG, not a CDN mermaid.js call, or the CSP blocks it) |
dataviz | a chart or dashboard | publish the dashboard as a hosted page; inline every script, style, and asset |
nano-banana | generated images | embed them as data: URIs — the CSP blocks external image URLs |
ui-brief | a Markdown brief (text, stays a file) | usually not published — the brief is a hand-off doc. Publish only a rendered mockup built from it, never the brief text itself |
claude-design-brief | a prompt for the claude.ai design canvas — a different surface | not this. If the user conflates the two, point them at the canvas. artifact-publish is the Claude Code Artifact tool; the design canvas is where claude-design-brief sends them |
artifact-design | the design authority | load it for look-and-feel and defer to it — don't duplicate its guidance here |
| Anti-pattern | Why it fails |
|---|---|
| External CDN / font / image / fetch reference | Silently blocked by the CSP; the page breaks with no error. Inline and embed everything |
| Changing the favicon on a redeploy | Reads as a different page — users lose the tab. Keep it stable; change only on a hard pivot |
| Minting a new URL when you meant to update | Reuse the same file path to redeploy to the same URL |
| Publishing source code or a plain-text answer | Attach the file or answer inline — a hosted page adds nothing |
| Publishing sensitive content without confirming | It's outward-facing and may be cached/indexed — confirm first |
| Letting the Artifact become the canonical copy | The Artifact is a shared view; the repo file (e.g. interactive-doc's .md) stays the source |
| Reinventing design fundamentals | Defer to artifact-design; this skill is decision + mechanics |
| Horizontal body scroll | Wrap wide tables/diagrams in an overflow-x:auto container |
references/artifact-tool.md — the full Artifact tool contract: every parameter (file_path, favicon, description, label, url, force), the complete CSP constraint list, title/description/favicon rules, update-in-place and url re-targeting, 409/version-conflict handling, reading an existing Artifact via WebFetch, and when Markdown beats HTML. Read it before your first publish.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/architecture-rescueFind deepening opportunities in a codebase (shallow modules, missing seams, leaky abstractions) and present them as numbered candidates for a grilling session before any interface is proposed. Use when the code feels tangled or hard to test. Trigger on "improve architecture", "rescue this codebase", "find refactoring opportunities", "ball of mud", "shallow modules"./babysitKeep an open PR healthy on a schedule: poll for review activity, auto-address bot and Copilot nits and routine rebases, re-run the gate, until the PR is mergeable. HITL on anything irreversible; never auto-merges. The scheduled loop around git-pr-feedback, run as "/loop 5m /babysit". Trigger on "babysit my PR", "watch this PR", "keep my PR green", "keep the PR rebased"./backend-agentBuild API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it./cavemanUltra-compressed reply mode: cuts response tokens about 75% by dropping articles, filler and hedging while keeping code, errors and paths exact. Persists until "stop caveman" or "normal mode". Trigger on "caveman mode", "talk like caveman", "less tokens", "be terse", "/caveman".Other plugins' skills for the same job