npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-html-artifacts-skill

v0.2.0

Published

Install the create-html-artifacts skill for any SKILL.md-compatible agent or skills directory.

Readme

Create HTML Artifacts

skills.sh

A portable skill for any agent that understands SKILL.md-style skills, turning dense work into self-contained browser artifacts.

Use it when a spec, plan, review, research note, incident report, design sheet, debugging trace, or decision brief would be easier to understand as a single .html file with layout, diagrams, tables, timelines, controls, or copy/export affordances.

What This Skill Does

create-html-artifacts helps an agent decide when HTML is the right medium and then produce a polished, self-contained artifact. The skill includes:

  • a concise workflow in SKILL.md
  • an artifact picker for choosing the right format
  • reusable HTML/CSS/JS recipes
  • a starter base.html template
  • a lightweight checker for generated HTML artifacts

It is useful for:

  • implementation plans and technical specs
  • code review and debugging artifacts
  • architecture and research explainers
  • design sheets and component/state reviews
  • incident/status reports
  • prompt, config, and workflow editors
  • meeting decks and decision briefs

Recommended Install With skills.sh

The easiest path is the skills CLI from skills.sh. This installs the create-html-artifacts skill globally for your detected agent environment:

npx --yes skills add pde201/create-html-artifacts-skill \
  --skill create-html-artifacts \
  --global \
  --yes

To install for a specific agent, pass --agent. Codex:

npx --yes skills add pde201/create-html-artifacts-skill \
  --skill create-html-artifacts \
  --global \
  --agent codex \
  --yes

Claude Code:

npx --yes skills add pde201/create-html-artifacts-skill \
  --skill create-html-artifacts \
  --global \
  --agent claude-code \
  --yes

To preview what the repo exposes before installing:

npx --yes skills add pde201/create-html-artifacts-skill --list

For a project-local install, omit --global.

The repo is public, so these commands work without GitHub authentication. The skills CLI supports multiple agents and can install this skill wherever that agent expects skills.

Direct npx Install

If you prefer to skip the skills CLI, this repo also exposes a direct GitHub npx installer:

npx --yes github:pde201/create-html-artifacts-skill

By default, the direct installer writes to a generic skills directory:

${AGENTS_HOME:-$HOME/.agents}/skills/create-html-artifacts

Agent-specific shortcuts are also available:

npx --yes github:pde201/create-html-artifacts-skill codex
npx --yes github:pde201/create-html-artifacts-skill claude

For a custom skills directory:

npx --yes github:pde201/create-html-artifacts-skill --dest "$HOME/.agents/skills"

If you already have the skill installed, add --force:

npx --yes github:pde201/create-html-artifacts-skill --force

The direct installer copies the skill into the selected agent's global skills directory. Use the skills.sh installer above when you want ecosystem-friendly install tracking and multi-agent support.

Clone-Based Install

Clone the repo, then run the installer for your agent:

gh repo clone pde201/create-html-artifacts-skill
cd create-html-artifacts-skill
./install.sh

Restart your agent after installing so it can discover the new skill.

Install Targets

Generic Agent Directory

./install.sh

Installs to:

${AGENTS_HOME:-$HOME/.agents}/skills/create-html-artifacts

Codex

./install.sh codex

Installs to:

${CODEX_HOME:-$HOME/.codex}/skills/create-html-artifacts

Claude Code

./install.sh claude

Installs to:

${CLAUDE_HOME:-$HOME/.claude}/skills/create-html-artifacts

Custom Skills Directory

Use --dest when your agent reads skills from another folder:

./install.sh --dest "$HOME/.agents/skills"

That creates:

$HOME/.agents/skills/create-html-artifacts

Overwrite an Existing Install

The installer refuses to overwrite by default. To replace an existing copy:

./install.sh --force

Verify Installation

After a generic install, confirm the skill exists:

ls "${AGENTS_HOME:-$HOME/.agents}/skills/create-html-artifacts/SKILL.md"

For Codex:

ls "${CODEX_HOME:-$HOME/.codex}/skills/create-html-artifacts/SKILL.md"

For Claude Code:

ls "${CLAUDE_HOME:-$HOME/.claude}/skills/create-html-artifacts/SKILL.md"

Then restart the agent and invoke it with:

Use $create-html-artifacts to turn this implementation plan into a self-contained HTML artifact.

Using the HTML Checker

The skill ships with a small validation helper:

create-html-artifacts/scripts/check-html-artifact.py path/to/artifact.html

It checks for common issues such as a missing title, missing viewport tag, external dependencies, missing landmarks, unlabeled controls, and stale placeholders.

What Gets Installed

The installed skill directory contains:

  • SKILL.md with the trigger and workflow
  • references/ with artifact-selection guidance, reusable recipes, and pattern examples
  • assets/templates/base.html as a self-contained starter template
  • scripts/check-html-artifact.py for generated artifact checks
  • agents/openai.yaml as optional OpenAI/Codex UI metadata. Other agents can ignore it.

Repository Layout

.
+-- install.sh
+-- package.json
+-- bin/install.js
+-- README.md
`-- create-html-artifacts/
    |-- SKILL.md
    |-- agents/openai.yaml
    |-- assets/templates/base.html
    |-- references/
    |   |-- artifact-selection.md
    |   |-- html-artifact-patterns.md
    |   `-- recipes.md
    `-- scripts/check-html-artifact.py

Notes

  • The skill itself has no dependency on Codex, Claude Code, or any single agent runtime.
  • agents/openai.yaml is optional metadata for OpenAI/Codex interfaces; other agents can ignore it.
  • Generated HTML artifacts should be self-contained unless the user explicitly asks for external assets or dependencies.