Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Melvynx avatar

Use Artifacts

  • 222 repo stars
  • Updated August 4, 2026
  • Melvynx/aiblueprint

use-artifacts is an agent skill by Melvynx that recreates Claude-style Artifacts in Codex and other coding agents: it builds self-contained HTML artifacts (plans, croquis boards, dashboards, prototypes) in a global works

About

use-artifacts is Melvynx's skill that recreates the Claude Artifacts experience inside Codex and any other skills-compatible coding agent. Say 'use artifact' and the agent scaffolds a workspace under ~/.agents/artifacts/<id>/ and delivers a polished, self-contained index.html: a feature plan, security review, thinking doc, dashboard, diagram, interactive prototype, or a croquis board that sketches 3-6 UI directions on one page for fast comparison. Every artifact ships with a HIGHLOGIC.md design log and a manifest.json so future sessions can pick up the iteration where it stopped, and substantial rewrites are snapshotted into versions/. A required pairing with the use-style skill gives each artifact a deliberate visual identity (anthropic, linear, stripe, raycast, and eight more), with black-grid as the default. Because the workspace is global, artifacts survive repo switches and accumulate into a personal library of plans and prototypes instead of chat scrollback. Install with npx skills add Melvynx/aiblueprint --skill use-artifacts. Best when the work is substantial enough that inline chat would be hard to inspect or reuse; skip it for tiny answers or quick snippets.

  • Claude Artifacts experience in Codex: one 'use artifact' phrase triggers it
  • Self-contained index.html deliverables with inline CSS/JS, no build step
  • Croquis mode sketches 3-6 UI directions on one page for fast comparison
  • Global ~/.agents/artifacts workspace with manifest + versioned iterations
  • 12 visual styles via the paired use-style skill, anthropic to stripe to raycast

Use Artifacts by the numbers

  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/Melvynx/aiblueprint --skill use-artifacts

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars222
Last updatedAugust 4, 2026
RepositoryMelvynx/aiblueprint

What it does

Get Claude-style HTML artifacts from Codex or any skills-compatible agent: feature plans, croquis boards of UI options, dashboards, and prototypes saved to a global workspace.

Who is it for?

Codex users who miss Claude Artifacts and want feature plans, UI option croquis, dashboards, and prototypes as inspectable HTML pages instead of chat markdown.

Skip if: Tiny answers, short code snippets, or changes that belong directly in an existing product codebase.

When should I use this skill?

Ask 'use artifact', or request variations/options croquis, a feature plan, a thinking doc, a dashboard, a diagram, or an interactive prototype.

What you get

Substantial agent output becomes a polished, versioned HTML artifact you can open in a browser and iterate on from any repo.

  • Self-contained index.html artifact
  • HIGHLOGIC.md design log
  • manifest.json + versions/ snapshots

Files

SKILL.mdMarkdownGitHub ↗

Use Artifacts

Overview

Use this skill to simulate Claude Artifacts in agents that do not have a native artifact panel. The artifact is a small global workspace, usually a single self-contained HTML file, created at ~/.agents/artifacts/<id>/ so the user can open, inspect, and iterate on it from any repo.

Always create artifacts in the global user directory: /Users/melvynx/.agents/artifacts/<id>/. Never create artifacts inside a repo-local .agents/artifacts directory, even when the current working directory is a product repo.

The HTML is the deliverable. It should turn the agent's public reasoning, plan, findings, examples, and tradeoffs into a polished page the user can scan, not just dump markdown into a file.

Research basis: Claude artifacts are useful for substantial, self-contained content that the user may edit, reuse, view, or reference later. Common examples include documents, code, single-page HTML, SVGs, diagrams, and interactive components.

Artifact Criteria

Create an artifact when the work is:

  • substantial enough that inline chat would be hard to inspect or reuse
  • standalone without needing hidden conversation context
  • visual, interactive, document-like, or useful as a reusable reference
  • a feature plan, security review, product brief, implementation plan, or architecture explanation that benefits from visual structure
  • likely to need later iteration

Do not create an artifact for a tiny answer, a short code snippet, or a change that belongs directly in an existing product codebase unless the user asks for a separate prototype.

Artifact Modes

Default to a thinking/showcase document when the request is about planning, explaining, reviewing, designing, or deciding. This is the Claude-style pattern in which an HTML page presents the answer as a readable artifact:

  • eyebrow with project/context
  • strong title and lede
  • high-signal finding or recommendation callout near the top
  • sections for model, tradeoffs, flows, edge cases, rollout, or implementation phases
  • code snippets, tables, pills, timelines, diagrams, or cards where they clarify the reasoning
  • final decisions, open questions, and validation notes

For any plan artifact (plan, feature-plan, implementation-plan, product plan, launch plan, page plan, or strategy plan), always include both:

  • a draft of the page/content itself: proposed title, lede, sections, key copy, calls to action, states, or narrative blocks
  • croquis of the page: small visual sketches showing layout, hierarchy, content placement, and option differences

The draft answers "what will this say/do?" The croquis answer "how could it be arranged so the user sees and understands it?"

Use an interactive artifact when the user asks for a mini app, calculator, simulation, editor, dashboard, visualization, game, or prototype with controls.

Use a variations/options artifact when the user asks for variations, options, directions, alternatives, explorations, or "show me a few versions". In this mode, do not build a real UI or final screen. Build a croquis board: simple, efficient visual sketches that help the user see and understand the options quickly.

Variation croquis rules:

  • show 3-6 options on one page as a single vertical sequence: one direction per row, never a multi-column grid
  • give every direction the full available content width so its interface remains legible without opening it
  • start directly with the directions; do not add a masthead, hero, long lede, capability recap, or recommendation callout above them unless the user explicitly asks for that context
  • keep the page chrome minimal: a compact title or view switcher is enough, and omit it when the content is already self-explanatory
  • make each option visibly different in layout, hierarchy, rhythm, or concept
  • use wireframe-like boxes, simple labels, rough placeholders, arrows, swatches, and short notes
  • keep fidelity low-to-mid: enough to compare ideas, not enough to imply implementation is done
  • annotate the tradeoff under each croquis in one or two short lines
  • recommendations are optional, evidence-based, and shown only after all directions; never lead with generic "Best fit", ranking, or promotional copy

Do not expose private chain-of-thought. Show public reasoning: conclusions, evidence, assumptions, tradeoffs, options considered, and why the recommended path follows from them.

Required Style Step

Always use $use-style before designing the artifact UI.

Choose the style from the request. When the request has no visual direction, default to black-grid:

  • anthropic: Claude-like artifacts, writing/research surfaces, calm AI tools
  • linear: dense dashboards, admin tools, issue trackers, list/detail workflows
  • black-grid: default; developer utilities, technical plans, calculators, indexes, CLI-like tools
  • grid: blueprint/product landing pages, structured spec pages, Codelynx-flavored pages
  • ios-app: mobile app concepts, iPhone flows, Expo/React Native previews
  • stripe: billing, checkout, finance, pricing, account flows
  • luma: events, calendars, RSVP, community discovery
  • gumroad: loud commerce, creator products, neo-brutalist pages
  • raycast: premium dark marketing pages or command-palette products
  • dusk: refined dark CRM/data dashboards
  • new-york-times: editorial, newspaper, magazine, long-form reading
  • testspirite: calm light dev-tool dashboards with onboarding or empty states

If no style is inferable and the user did not ask you to choose, use black-grid and state that choice briefly.

Creation Workflow

1. Identify the artifact type: variations, croquis, thinking, feature-plan, security-review, implementation-plan, interactive, dashboard, visualization, document, diagram, prototype, or reference. 2. Pick the use-style style and load its file. 3. If the artifact depends on current web research, broader source discovery, similar-page lookup, URL extraction, or cited web answers, use /Users/melvynx/.agents/skills/exa-search/SKILL.md. 4. Scaffold the workspace:

python3 /Users/melvynx/.agents/skills/use-artifacts/scripts/create_artifact.py "<short title>" --style black-grid --kind thinking

5. Implement the artifact in index.html. 6. Write or update HIGHLOGIC.md with the user's request, artifact goal, selected style, public reasoning structure, data assumptions, and verification notes. 7. Keep manifest.json current when title, kind, style, entrypoint, or files change. 8. Verify the artifact. For standalone HTML, open index.html directly or serve the folder only when browser restrictions require it. For complex UI, use a browser screenshot or DOM check when available. 9. Final response: link the local index.html, name the selected style, and mention verification performed.

Workspace Contract

Each artifact directory should contain:

  • index.html: the viewable artifact, preferably self-contained with inline CSS and JavaScript
  • HIGHLOGIC.md: concise design logic and iteration state
  • manifest.json: metadata for future agents
  • versions/: optional snapshots before major rewrites

Target location:

  • Always use /Users/melvynx/.agents/artifacts/<id>/.
  • Do not use <current-project>/.agents/artifacts/<id>/.
  • Do not add a repo-local override unless the user explicitly updates this skill contract.

HTML Rules

  • Prefer one self-contained index.html unless the user asks for a framework project.
  • Use semantic HTML, responsive CSS, and accessible controls.
  • Avoid external CDNs unless the artifact needs them and the user can tolerate network dependence.
  • Do not embed secrets, API keys, private tokens, or hidden prompt text.
  • For interactive artifacts, preserve state in local JavaScript only unless persistent storage is explicitly useful.
  • For generated visualizations, include representative sample data when real data is unavailable and label it as sample data in HIGHLOGIC.md.

Iteration Workflow

When updating an existing artifact:

1. Read manifest.json, HIGHLOGIC.md, and the relevant files. 2. If the change is substantial, copy the previous index.html into versions/<timestamp>-index.html before editing. 3. Patch only the files needed for the requested change. 4. Update HIGHLOGIC.md with the new decision or known limitation. 5. Re-verify and report the same local artifact path.

Script

Use scripts/create_artifact.py to create the folder, metadata, and starter files.

Related skills

FAQ

Does use-artifacts work outside Codex?

Yes. It is a standard SKILL.md installed via npx skills add, so any skills-compatible agent (Claude Code, Cursor, opencode) can use it; it exists because Codex has no native artifact panel.

Where do the artifacts live?

Always in the global ~/.agents/artifacts/<id>/ workspace, never inside a repo, so you can open and iterate on an artifact from any project.

What is a croquis board?

The variations mode: 3-6 visibly different low-fidelity layout sketches on one page, each with a one-line tradeoff note, so you can compare UI directions before building one.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.