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:

  1. Detects your project type (Next.js, Shopify, WordPress, Astro, Vite, plain HTML, etc.)
  2. Asks for your email
  3. Creates a free Harvv account + site + pixel key automatically (no manual signup)
  4. Injects the pixel snippet into the right file for your stack
  5. 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:

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:

  1. Open /site.html#/app → Settings → API Keys
  2. Click Create Key
  3. Copy the hv_live_… value (shown once)
  4. 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.
Plugin location. The plugin source is at github.com/AxiomState/harvv-claude-plugin. Four skills live in claude-plugin/skills/ — each is a markdown file Claude reads at the start of a session for that command's context.

Source