haxtheweb/create/hax-claudehax
Claude Code and agent skill by haxtheweb/create
- community
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-claudehaxSKILL.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
/haxslash command from within Claude Code
Prerequisites
Before using ClaudeHAX, verify the environment:
- Claude Code installed:
claude --version - Node.js 22+:
node -v - npm installed:
npm -v - HAX CLI installed globally:
npm install -g @haxtheweb/create, verify withhax --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:
- Add the marketplace:
`` /plugin marketplace add haxtheweb/praw ``
- Install the plugin:
`` /plugin install hax-site-ops@haxtheweb ``
- Verify:
`` /plugin list ` Should show hax-site-ops` in the list.
To update the plugin when a new version is released:
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 commandshax site --help— Site-specific commandshax start— Interactive CLI with ASCII arthax serve— Development server at http://localhosthax webcomponent <name> --y— Scaffold a new componenthax site <name> --y --no-i— Create a new HAXsitehax audit— DDD compliance audithax audit schema— validate site.json, skeletons, haxProperties, appstore.json and Merlin commands against the HAX schemashax audit i18n— find English hardcoded in Lit templates that should come fromthis.thax skills list— List bundled agent skillshax skills install <name|--all>— Install bundled skills into.agents/skills/hax update— Update HAX CLI
Automation flags (always use when scripting to prevent interruptions):
--yor--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 setheading-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:
- Determine the current working directory.
- Determine whether this is a HAX project.
- Inspect project structure.
- Identify available site configuration.
- Identify available content.
Look for files such as:
site.jsonpackage.jsonhaxcms.jsonmanifest.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
- SKILL.md in the repositoryCheckingsrc/skills/hax-claudehax/SKILL.md
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
[](https://verified-skill.com/skills/haxtheweb/create/hax-claudehax)