Stark: Your Pathfinder 2e Rules Lawyer
Pathfinder 2e is an awesome system, right up until you’re mid-combat and someone asks how persistent bleed interacts with an unconscious ally, what spell slots your Druid has prepped for an airship heist, or what that sketchy NPC’s name was three sessions ago. Asking a generic AI chatbot usually gets you confident-sounding D&D 5e rules mashed together with hallucinated Pathfinder lore.
So I built Stark—a local-first Chrome Side Panel companion (named after a character from our own campaign!) that sits right next to your virtual tabletop and pulls answers straight from bundled Pathfinder 2e Remaster rulebooks, your party’s Pathbuilder 2e character sheets, and your private Google Docs campaign notes.
The Tech Stack
- Platform: Chrome Extension (Manifest V3 Side Panel API)
- Language: Vanilla JavaScript, HTML, CSS (with
marked.js&DOMPurify) - AI Providers: Cascading drag-and-drop fallback stack (Google Gemini, Groq, OpenRouter, or local LLMs via Ollama / LM Studio)
- Integrations: Google Docs API (read-only OAuth via
chrome.identity), Pathbuilder 2e JSON exports, optional Supabase campaign profile sync - Retrieval: Local “Poor Man’s RAG” regex search + smart context routing + 10-minute browser cache
Links: Install on Chrome Web Store | Open Source Repo on GitHub | Project Page | Privacy Policy | Terms of Service
Local “Poor Man’s RAG” & Smart Routing
Instead of paying for a vector database or blasting 300,000 words of rulebooks into every prompt, Stark keeps everything lean right inside the extension:
- Smart Context Router: Before answering your question, a fast routing pass figures out what you actually need—Player Rules, GM Rules, Campaign Notes, or Party Sheets—so you’re not burning tokens on irrelevant context.
- Bundled PF2e Rulebooks: Pre-bundles the Pathfinder 2e Remaster Core, Advanced Player’s Guide, and GM Core rules locally and filters relevant sections with JavaScript regex before hitting the model.
- 10-Minute Context Caching: Caches fetched Google Docs tabs and Pathbuilder 2e character JSONs in the browser so mid-session follow-ups come back fast (plus a live token meter so you can watch usage in real time).
Google Docs + Pathbuilder 2e + Cascading AI Fallback
Every table runs things a little differently, so Stark lets you wire up your own campaign stack right in the settings drawer:
- Multi-Tab Google Docs Sync: Sign in once via OAuth (
documents.readonly) and paste your campaign doc URL—Stark reads across all tabs to answer lore and session-history questions. - Pathbuilder 2e Party Awareness: Drop in your party’s Pathbuilder JSON links so Stark knows everyone’s stats, feats, equipment, and prepared spells.
- Drag-and-Drop Provider Fallback: Order Gemini, Groq, OpenRouter, or a local Ollama / LM Studio server however you want. If your top provider hits a rate limit mid-game, Stark silently fails over to the next one in line without dropping your question.

Want it at your table?
Grab Stark straight from the Chrome Web Store, or poke around the source code over on GitHub. Need the fine print? Check out Stark’s Privacy Policy and Terms of Service.