Claude Code plugin
Four slash commands that bring Harvv into Claude Code: install the pixel, diagnose why your visitors are abandoning, generate a fix from detected behavior, and review your issues — all without leaving the editor.
Install
/plugin install github:AxiomState/harvv-claude-plugin
Run that inside any Claude Code session. The plugin installs in seconds and registers four slash commands.
Commands
/harvv:install — Set up the pixel in this project
The fast path for a fresh project. Claude:
- Detects your project type (Next.js, Shopify, WordPress, Astro, Vite, plain HTML, etc.)
- Asks for your email
- Creates a free Harvv account + site + pixel key automatically (no manual signup)
- Injects the pixel snippet into the right file for your stack
- Sends you a welcome email with a magic link to set your dashboard password
You go from npm install to live pixel in under a minute.
/harvv:why — Diagnose a visitor problem
Ask Claude things like:
- "Why are visitors dropping off on /checkout?"
- "What's the rage-click situation on the homepage?"
- "Why aren't visitors scrolling past the fold on /pricing?"
Claude pulls the relevant signals from your Harvv dashboard via the API, correlates against your codebase, and gives you a grounded answer with the specific evidence cited.
/harvv:fix — Generate a code fix from a detected issue
Point Claude at a specific issue ID or paste the issue title; it pulls the AI-enriched element context (selector, surrounding DOM, click handler if any) and generates a precise code change. Works best on dead clicks and broken click handlers where the fix is mechanical.
/harvv:issues — Review your active issues
Lists everything Harvv has open for your sites: dead-click clusters, rage-click bursts, slow API endpoints, layout-shift outliers, form- abandonment patterns. Sorted by impact (sessions affected). One-line summary each; ask for detail on any.
API key setup (one-time)
The pixel-install command works without an account. The other three commands (why / fix / issues) need an API key so Claude can read your dashboard. Once installed, get a key:
- Open /site.html#/app → Settings → API Keys
- Click Create Key
- Copy the
hv_live_…value (shown once) - The first time you run /harvv:why or /harvv:fix, Claude will prompt for it. It's stored securely via Claude Code's userConfig system — never written to your repo.
claude-plugin/skills/ — each is a
markdown file Claude reads at the start of a session for that
command's context.