Skip to content

RRRG3/InsureShark

Repository files navigation

InsureShark 🦈

Your AI negotiation co-pilot for insurance — slash premiums with real-time counter-scripts, deal scoring, and coverage protection.

Version Platform

InsureShark is a Chrome Extension designed to empower consumers during car, home, and renters insurance negotiations. Acting as a live co-pilot, it analyzes what your insurance agent says in real-time, rates their tactics, and provides powerful, custom-tailored counter-scripts to help you secure the best possible rate without silently losing coverage.

✨ Features

  • Live Negotiation Panel: A dedicated side panel that tracks your deal progress, savings, and negotiation phase.
  • Coverage Guard: Never let an agent silently drop your essential coverage just to hit a lower price point. InsureShark ensures your bottom-line requirements are met.
  • Gemini AI Counter-Scripts: Input what the agent says, and InsureShark’s AI (powered by Google Gemini) will analyze their tactic and provide 3 tier-graded responses (Polite, Firm, Aggressive).
  • The Playbook: Built-in scripts and tactics for opening the call, handling common objections, escalating to retention, and closing the deal.
  • Deal Score & Evaluation: Enter the offers you receive to get an objective score on whether you should push harder, wait, or accept the deal.
  • Lifetime Savings Tracker: Keep a running tally of your total annual savings across all your negotiations.
  • Ephemeral Privacy Mode: Run sessions without persisting conversation/transcript history.

🚀 Installation (Developer Mode)

To try InsureShark locally:

  1. Clone this repository:
    git clone https://github.com/<your-username>/InsureShark.git
  2. Open Chrome and navigate to chrome://extensions/.
  3. Enable Developer mode (toggle in the top right corner).
  4. Click Load unpacked.
  5. Select the InsureShark folder (where the manifest.json file is located).
  6. Pin the extension to your toolbar for easy access.

⚙️ Configuration

InsureShark relies on a backend Cloudflare Worker proxy to securely interact with the Gemini AI model, keeping your API keys safe.

  1. Deploy the Cloudflare Worker located in your backend repository.
  2. Update the workerUrl inside sidepanel/gemini.js to point to your new Worker instance:
    this.workerUrl = "https://YOUR-WORKER-URL.workers.dev";
  3. In the extension Setup tab, paste your Worker auth token in Worker Auth Token.
  4. Click Enable on this website on insurer sites to grant per-site access.

Worker security requirements:

  • Set WORKER_AUTH_TOKEN as a Cloudflare secret.
  • Set ALLOWED_ORIGINS in worker/wrangler.toml to your extension origin (chrome-extension://<extension-id>).

🛠️ Tech Stack

  • Frontend: Vanilla HTML, CSS, JavaScript
  • Architecture: Manifest V3 Chrome Extension (Service Worker, Side Panel API, Storage API)
  • AI Integration: Google Gemini via Cloudflare Workers proxy

🎨 Theme & UI

InsureShark actively utilizes a "Modern Editorial" aesthetic, primarily featuring Playfair Display serif fonts mixed with clean Inter sans-serifs, a warm cream background palette (#F5F4F0), and premium signature red-orange (#E8200E) and green (#1A7A45) accents.

⚖️ License

All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors