haxtheweb/create/hax-claudehax

Claude Code and agent skill by haxtheweb/create

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Operate HAX sites from Claude Code using the ClaudeHAX plugin, HAX CLI, and HAX web components. Use when the user wants to add pages, create courses, update content, add assessments, add quizzes, add videos, use HAX web components, analyze existing HAX sites, or suggest improvements using the ClaudeHAX /hax slash command or HAX CLI directly.

Install

npx vskill@latest install haxtheweb/create/hax-claudehax

SKILL.md

HAX ClaudeHAX Plugin

Operate HAX sites from Claude Code using the ClaudeHAX plugin, HAX CLI, and HAX web components.

When to Use

  • The user has the ClaudeHAX plugin installed (/plugin install hax-site-ops@haxtheweb)
  • Adding pages, courses, or lessons to a HAX site
  • Updating page content, videos, or media
  • Adding assessments, quizzes, flash cards, or interactive content
  • Analyzing a HAX site structure and suggesting improvements
  • Inspecting available HAX web components and recommending usage
  • Creating educational content with HAX components
  • Using the /hax slash command from within Claude Code

Prerequisites

Before using ClaudeHAX, verify the environment:

  1. Claude Code installed: claude --version
  2. Node.js 22+: node -v
  3. npm installed: npm -v
  4. HAX CLI installed globally: npm install -g @haxtheweb/create, verify with hax --help

Important: Do not use npx hax — that resolves to a different npm package. Use npx @haxtheweb/create or the globally installed hax command.

Plugin Installation

Inside Claude Code:

  1. Add the marketplace:

`` /plugin marketplace add haxtheweb/praw ``

  1. Install the plugin:

`` /plugin install hax-site-ops@haxtheweb ``

  1. Verify:

`` /plugin list ` Should show hax-site-ops` in the list.

To update the plugin when a new version is released:

/plugin update hax-site-ops

Common /hax Commands

Use the /hax slash command in Claude Code to operate on HAX sites:

  • Add pages:

`` /hax add 3 pages about iguanas /hax create a mini lesson page about reptile habitats and include at least two HAX web components ``

  • Analyze a site:

`` /hax analyze this site and suggest 20 new pages /hax inspect the available HAX web components and recommend 10 components that would improve this site ``

  • Add assessments:

`` /hax add a multiple choice quiz to this page based on the page content /hax add an interactive check-for-understanding section to the iguana overview page using HAX web components, not plain HTML /hax add a quiz to the Penn State University page ``

  • Add media:

`` /hax find a YouTube video and add it to the Ohio State University page /hax find a page that would benefit from flash cards and add 5 flash cards using the best HAX web component ``

HAX CLI Reference

When operating outside the /hax slash command, use the HAX CLI directly:

  • hax --help — List all commands
  • hax site --help — Site-specific commands
  • hax start — Interactive CLI with ASCII art
  • hax serve — Development server at http://localhost
  • hax webcomponent <name> --y — Scaffold a new component
  • hax site <name> --y --no-i — Create a new HAXsite
  • hax audit — DDD compliance audit
  • hax audit schema — validate site.json, skeletons, haxProperties, appstore.json and Merlin commands against the HAX schemas
  • hax audit i18n — find English hardcoded in Lit templates that should come from this.t
  • hax skills list — List bundled agent skills
  • hax skills install <name|--all> — Install bundled skills into .agents/skills/
  • hax update — Update HAX CLI

Automation flags (always use when scripting to prevent interruptions):

  • --y or --auto — Auto-accept all prompts
  • --no-i — Prevent interactive sub-processes
  • --skip — Skip animations
  • --quiet — Suppress console logging

HAX Component Preference

When the user asks for interactive, educational, assessment, media, layout, or engagement-related content, prefer HAX web components over plain HTML.

Common mappings:

  • Quizzes / multiple choice → multiple-choice
  • Fill-in-the-blank activities → fill-in-the-blanks
  • Flash cards → flash-card
  • Videos → video-player
  • Tabs → a11y-tabs
  • Accordions → a11y-collapse (always set heading-button)
  • Galleries → gallery-related components
  • Timelines → timeline-related components
  • Cards → card-related components
  • Callouts → appropriate HAX UI components

If exact syntax is uncertain, inspect component documentation, examples, demos, or source files. Prefer HAX components over custom HTML whenever a suitable component exists.

Project Discovery

Before changing anything:

  1. Determine the current working directory.
  2. Determine whether this is a HAX project.
  3. Inspect project structure.
  4. Identify available site configuration.
  5. Identify available content.

Look for files such as:

  • site.json
  • package.json
  • haxcms.json
  • manifest.json
  • site manifest files
  • HAX-related configuration

If a site root is provided, use it. Otherwise default to --root ..

Safety Guidelines

Before destructive operations (deleting pages, overwriting large amounts of content, restructuring a site, publishing changes), explain the planned changes and request confirmation.

For non-destructive operations (adding pages, creating content, adding components, analyzing sites, exporting content), proceed without requiring additional confirmation.

OpenStax Import Workflow

If the user is starting from an OpenStax book, use the hax-openstax2hax skill first to prepare the conversion. openstax2hax writes conversion/hax-handoff-prompt.md, which claudehax then consumes to build the HAX site. Do not attempt to build directly from raw OpenStax content without going through openstax2hax first.

References

  • ClaudeHAX plugin marketplace (PRAW): https://github.com/haxtheweb/praw
  • HAX CLI package: https://www.npmjs.com/package/@haxtheweb/create
  • HAX Documentation: https://haxtheweb.org/
  • HAX web components: https://github.com/haxtheweb/webcomponents/tree/master/elements
  • PRAW RULES.md: https://github.com/haxtheweb/praw/blob/main/RULES.md (canonical ecosystem rules referenced by Rule ID)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/haxtheweb/create/hax-claudehax/badge)](https://verified-skill.com/skills/haxtheweb/create/hax-claudehax)

Something wrong with this skill or its page? Tell us.