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 or focus a pill for the full probability
breakdown; click, tap, Enter, or Space pins it open.
- Open
chrome://extensions, enable Developer mode, click Load unpacked, and select this folder. - 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.
- 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.
- 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.
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, newest first, oldest overflow
dropped), the persistent verdict cache, the provider
circuit breaker, 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/5xx with backoff; one
timeout covers headers and body; 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, notdata-urn(LinkedIn droppeddata-urnfrom 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.mjstests 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_reportnoul 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 pill's right offset is measured per card
to clear whichever of LinkedIn's dismiss/menu/Follow buttons share its row
(Follow sits beside the menu on some cards, below it on others), with 96px
as the floor; see
content/content.css. LARP verdicts also slam aLARPstamp across the card that settles into the header strip after 1.8s (underprefers-reduced-motion, the slam animation is skipped and the stamp starts settled). - A failing provider is noticed, not retried per post. A 401/402/403
(bad key, no credits) stops provider calls for 10 minutes and a 429 for a
minute (or its
Retry-After); posts get heuristic verdicts meanwhile. The error shows in the popup and as a red!on the toolbar icon, and survives the worker sleeping (chrome.storage.session). Changing the key, provider, or model, or a successful Test connection, clears it. A chat-model reply with missing or non-numeric answers counts as a failure too, instead of reading as zeros. - Newest posts first. On a fast scroll the posts on screen were requested last, so the worker's queue is LIFO and drops the oldest requests beyond 12; a dropped post is asked for again if it's still on screen.
- No web-accessible resources. Nothing in the extension is exposed to linkedin.com, so the page can't probe for it. If the worker can't answer, the card stays unmarked and the next scan retries.
- Localized LinkedIn. Timestamps (
2d,3 Std.,3日) and connection degrees (• 3rd+,• 3.+) are matched by shape, and the headline parser anchors on the degree line, so both work in any locale. "Promoted" and "Follow" come from per-locale word lists incontent/content.js; the localized parser cases indev/test-headline-parser.mjsare constructed, not sampled from a live non-English feed. - API keys stay in the service worker. They live under their own storage key
(
larp_secrets),chrome.storage.localis closed to content scripts (setAccessLevel), and the worker only hands keys to the options page — content scripts gethasApiKeyflags and nothing else. With no storage access, content scripts learn about settings changes from aSETTINGS_CHANGEDpush from the worker instead ofstorage.onChanged.
lib/questions.js is the product. Guidelines (from the TypeSafe docs):
- One judgment per question. Split compound questions; compose in code.
- Describe situations, not degrees. "Broken feature, workaround exists" beats "moderately severe".
- Give every Choice an escape hatch (
other), and phrase nouls so a high value means yes. - Pin the model version once you've tuned thresholds (
jev-1.13.0instead ofjev-latest) — set it in Options. - Test against labeled posts before trusting a threshold. Every sample in
dev/preview.mjscarries its expected REAL/LARP label and a mismatch fails the run (it's part ofnpm test), so threshold drift shows up in CI. The dev harness:
node dev/preview.mjs # heuristics only, no key needed; asserts labels
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, stamp, navigation, badge a11y
node dev/test-jev-client.mjs # provider adapter: strict chat answers, body timeout, Retry-After
npm test # all of the above + the headline parser
npm run lint # web-ext lint (addons-linter) on the Firefox build
node dev/test-headline-parser.mjs # headline parser vs lines sampled from the live feed- Bump
TAX_VERSIONinbackground/service-worker.jswhenever the question set changes. The verdict cache is keyedtax-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 (orheuristicfor 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.jsEdit the SAMPLES array in dev/preview.mjs — when you pre-label real feed
posts, label LARP or REAL (the expect field), not degrees of cringe.
CI (.github/workflows/ci.yml) runs npm test and npm run lint on every
push to main and every pull request.
Regenerate icons after editing the crab:
python3 dev/make-icons.py- 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.
- 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.
- The version lives in
manifest.jsononly;dev/package.shreads it from there.