hydrogen-local-https
Skill by remix-run
Configures trusted local HTTPS for Shopify Customer Account API development. It covers Vite-based frameworks, Astro, Nuxt, SolidStart and Next.js, for developers building Hydrogen storefronts.
Install hydrogen-local-https
Built from the published package, never by AI.
git clone --depth 1 https://github.com/remix-run/remix-store /tmp/remix-store && mkdir -p ~/.claude/skills && cp -r /tmp/remix-store/.agents/skills/hydrogen-local-https ~/.claude/skills/hydrogen-local-httpsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/remix-run/remix-store /tmp/remix-store && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/remix-store/.agents/skills/hydrogen-local-https ~/.gemini/antigravity-cli/skills/hydrogen-local-httpsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install hydrogen-local-https in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how to set up trusted local HTTPS for Customer Account login, logout and OAuth callbacks. These flows need an HTTPS, non-localhost origin that matches the URLs registered in Shopify admin. The source uses local.tryhydrogen.dev, a Shopify-owned domain that resolves to 127.0.0.1, as a stable local hostname.
The guide covers the localHttps Vite plugin, which provisions mkcert certificates when vite dev starts, and the npx hydrogen certs install and uninstall commands. It also gives Vite, Astro, Nuxt, SolidStart/Vinxi and Next.js configuration examples, plus manual Customer Account API settings. It is aimed at developers building Hydrogen or Headless storefronts who need local Customer Account testing.
Written from the project's SKILL.md and checked against it.
What it can do
- Certificate provisioningExplains how the localHttps plugin installs mkcert and generates local certificate files automatically.
- Certificate commandsCovers npx hydrogen certs install and uninstall, including the --remove-ca option.
- Vite configurationShows how to enable HTTPS through a dev:https package script with the localHttps plugin.
- Astro configurationShows the server host and port settings needed alongside the Vite plugin.
- Nuxt configurationShows how to pass certificate paths to both Nitro and Vite.
- SolidStart/Vinxi configurationShows how to set certificates and bind host and port for Vinxi dev servers.
- Next.js HTTPSShows the next dev command with experimental HTTPS on local.tryhydrogen.dev port 5173.
- Customer Account API settingsExplains automatic Shopify CLI updates and the manual callback, JavaScript origin and logout values.
What you need
- Shopify CLI with @shopify/cli-hydrogen 13.0.4 or later
- A Hydrogen or Headless sales channel storefront in Shopify admin
- mkcert, downloaded by the plugin or installed manually
- Permission to install a local certificate authority, which may prompt for a password
Try asking
- Set up local HTTPS for my Hydrogen storefront with Vite.
- Show me the Customer Account API callback and logout URLs for local.tryhydrogen.dev.
- Configure Next.js dev with experimental HTTPS on port 5173.
Good to know
- The Vite plugin skips automatic provisioning and Shopify CLI updates when the CI variable is set.
- Nuxt and SolidStart need certificates provisioned before Vite starts.
- Next.js does not use the Vite plugin, so its values must be configured manually.
- The JavaScript origin must not include a port, per Shopify server-side validation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/hydrogen-local-https/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to hydrogen-local-https
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
hydrogen-local-https: common questions
Why does Customer Account login need HTTPS locally?
The source says Customer Account login, logout and OAuth callbacks require an HTTPS, non-localhost origin that exactly matches the URLs registered in Shopify admin.
Does uninstalling remove the local certificate authority?
No. The uninstall command removes Hydrogen's generated files and cached mkcert binary, and leaves the shared CA trusted unless --remove-ca is passed.
What happens if Shopify CLI is missing or outdated?
The plugin falls back without stopping the dev server, and you must configure the values printed in the terminal manually.
How do I install hydrogen-local-https?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hydrogen-local-https free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hydrogen-local-https safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to hydrogen-local-https?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
