New
Apps 6,307Makers 6,286This week 13
Promote your app−30%
LARP Detector for LinkedIn screenshot 1
1views in
the last 30 days

LARP Detector for LinkedIn

Chrome extension that names the persona a LinkedIn post is performing

Built with Claude Code

by sxeptical · Unclaimed · added Oct 29, 2026
no ratings0 comments

LARP Detector for LinkedIn

A Chrome extension that detects LinkedIn LARP as you scroll.

LARP here means identity performance: playing the character of visionary executive, elite expert, or thought leader instead of showing real work. The extension judges each feed post with Jev — TypeSafe AI's "System One" decision model — and stamps it with one of two outcomes:

Badge Meaning
LARP Identity performance: persona over substance (vague wisdom, unverifiable claims, engineered bait, AI slop, grind mythology)
REAL Receipts on the table: concrete work, real numbers, real context (off by default)
SPONSORED Paid placement (detected from the page, no API call)

Each pill looks like • LARP | 73% — a colored dot (red for larp, green for real, gold for sponsored) plus the label and confidence. Pills are pinned to the top-right of each post, on the header strip, so they stay legible even when a post is mostly image; hover for the full probability breakdown.

Install

  1. Open chrome://extensions, enable Developer mode, click Load unpacked, and select this folder.
  2. Click the crab icon in the toolbar → Options, paste a TypeSafe API key (join the waitlist at typesafe.ai — access clears in about a day), and hit Test connection.
  3. Open LinkedIn, scroll, watch the pills appear. If a LinkedIn tab was already open when you installed, reload it first — Chrome doesn't inject into existing tabs.

Prefer a store install? Get the extension from Chrome Web Store or Firefox Add-ons.

No key yet? Set provider to Mock — the heuristics engine runs the whole pipeline offline so you can develop and demo without the API. In mock mode, enable "Also badge the REAL ONEs" in the popup to see every verdict.

Providers

  • TypeSafe — Jev direct (recommended). Jev itself: ~100ms per post, $0.042/M input tokens, output free.
  • OpenRouter — Jev via the alpha Decisions API. Same model, same pricing, on an OpenRouter key. Jev does not speak the OpenAI-compatible chat endpoint — it only answers on the dedicated Decisions router (POST /api/alpha/decisions, request shape {model, state, questions}, same answers back), verified Sep 19, 2026. Alpha: may require access on your account.
  • OpenRouter — chat-model estimate. Fallback for keys without Decisions access: a cheap structured-output chat model (default deepseek/deepseek-v4-flash) answers the same question set in JSON. Slower (1–3s per post) and output tokens are billed.
  • Mock. Heuristics, no network — for development and demos.

How it works

content/content.js        DOM only: MutationObserver + IntersectionObserver,
                          extracts visible posts, renders badges.
background/service-worker.js  Holds the API key, owns the request queue
                          (concurrency 3, retry/backoff), the persistent verdict
                          cache, and all provider calls.
lib/questions.js          The LARP taxonomy — one batched Jev request per post:
                          positive-evidence nouls (work_shown, image_crafted,
                          stat_farming, the tech-LARP composite grandiose_claims
                          vs technical_specifics, headline_larp,
                          headline_supported, is_ai_written) plus the
                          larp_intensity scale, the fabrication/attribution
                          axes, and news_report — the relayed-report
                          exemption axis. Two outcomes.
lib/verdict.js            Composes answers into a REAL/LARP badge. Owns the
                          gap math: image_crafted × (1 − work_shown) for the
                          persona signal, grandiose × (1 − specifics) for
                          tech-LARP, headline_larp × (1 − headline_supported)
                          for the cross-field signal. Thresholds live here.
                          news_report buys relief from the persona/borrowed/
                          costume signals; the relief decays with commentary
                          dress (substance-first).
lib/heuristics.js         Regex fallback + mock mode. Same answer shape as Jev.
lib/jev-client.js         Provider adapter: typesafe (Jev direct) /
                          openrouter (Jev via OpenRouter's alpha Decisions
                          API) / openrouter-chat (structured-output chat-model
                          estimate) / mock. Retries 429/529 with backoff; guards
                          against model IDs leaking across providers.
ui/                       Popup (toggle, sensitivity slider) and Options
                          (key, provider, Test connection, clear cache).

Design decisions worth knowing:

  • One batched call per post ("speculative fan-out"): every independent question is asked at once; the code decides which answers matter.
  • Cost is a rounding error: ~$0.042 per million input tokens — a whole feed-scrolling session costs less than a cent.
  • Identity is componentkey, not data-urn (LinkedIn dropped data-urn from feed posts in the 2026-09 UI; verified against the live DOM). Cards are re-rendered with new ids, so content-hash fallbacks keep verdicts attached.
  • Headlines are parsed from card text lines — the current UI has no stable selector for the actor subtitle. dev/test-headline-parser.mjs tests the real parser against line arrays sampled from the live feed.
  • Relayed news is exempt, substance-first. A shared article imports its substance by design, so the persona gap, borrowed-content bonus, and costume gap all misread it. The news_report noul measures the relay; the relief scales with it and decays as author commentary (self-focus, bait, moralizing) rides on the post — a news link wrapped in a take is still judged as the take. Exempt posts are REAL, so they only badge when "Also badge the REAL ONEs" is on.
  • Badges are status pills pinned to the top-right of the post header, plus a rubber stamp on LARP posts. The 96px right-offset keeps the pill clear of LinkedIn's own dismiss/menu/Follow buttons (see the measurements in content/content.css). LARP verdicts also slam a LARP stamp across the card that settles into the header strip after 1.8s (under prefers-reduced-motion, the slam animation is skipped and the stamp starts settled).
  • API keys stay in the service worker. They live under their own storage key (larp_secrets), chrome.storage.local is closed to content scripts (setAccessLevel), and the worker only hands keys to the options page — content scripts get hasApiKey flags and nothing else. With no storage access, content scripts learn about settings changes from a SETTINGS_CHANGED push from the worker instead of storage.onChanged.

Tuning the taxonomy

lib/questions.js is the product. Guidelines (from the TypeSafe docs):

  1. One judgment per question. Split compound questions; compose in code.
  2. Describe situations, not degrees. "Broken feature, workaround exists" beats "moderately severe".
  3. Give every Choice an escape hatch (other), and phrase nouls so a high value means yes.
  4. Pin the model version once you've tuned thresholds (jev-1.13.0 instead of jev-latest) — set it in Options.
  5. Test against labeled posts before trusting a threshold. The dev harness:
node dev/preview.mjs          # heuristics only, no key needed
TYPESAFE_API_KEY=... node dev/preview.mjs --live                    # through real Jev (direct)
OPENROUTER_API_KEY=... node dev/preview.mjs --live --openrouter     # through Jev via OpenRouter Decisions
OPENROUTER_API_KEY=... node dev/preview.mjs --live --openrouter-chat # through the chat-model estimate
node dev/smoke.mjs            # integration test: real service worker, mocked endpoints
node dev/test-worker-state.mjs  # worker state: cold start, failure caching, cache keys, key isolation
node dev/test-content-script.mjs  # content script: reshares, cache clear, rescans, reduced-motion stamp
npm test                      # headline parser + smoke + worker-state + content-script
node dev/test-headline-parser.mjs   # headline parser vs lines sampled from the live feed
  1. Bump TAX_VERSION in background/service-worker.js whenever the question set changes. The verdict cache is keyed tax-N:<engine>:<hash>, so changing wording without bumping it leaves stale verdicts that fail the composer's missing-noul check. (Cache invalidation uses the same mechanism the chat provider's estimate-confidence guard relies on — change one, check both.) <engine> is the provider and model (or heuristic for mock mode / no key), so switching provider, pinning a model, or adding a key never serves another engine's verdicts. Verdicts produced because a provider call failed (heuristic-fallback) are shown but never cached.

Browser-test the content script on the real LinkedIn DOM (uses the Browser Control CLI; needs a logged-in LinkedIn tab attached):

node dev/build-test-bundle.mjs                 # real content script + libs + chrome shim
browser-control execute --session <id> --file dev/linkedin-sweep.js

Edit the SAMPLES array in dev/preview.mjs — when you pre-label real feed posts, label LARP or REAL, not degrees of cringe.

Regenerate icons after editing the crab:

python3 dev/make-icons.py

Roadmap

  • Phase 2 — profile mode: third-person "About" sections, Top Voice flexing, follower bragging (all Jev text signals). The black-and-white headshot can be a pixel-saturation check in the content script; "is that the Golden Gate Bridge" needs a vision model — Jev reads text only.
  • Feed polish: shared/reposted post attribution, "see more" expansion before judging, per-post score history.

Notes

  • Read-only observation of posts already visible in your own feed; no clicking, liking, or scraping. Personal-use tool.
  • Badges are judgments, not verdicts. The tooltip always shows the full probability breakdown so you can tell when Jev is unsure.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#browser-extension · #linkedin · #humor