Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kensaurus/cursor-kenji --skill backend-realtimegit clone --depth 1 https://github.com/kensaurus/cursor-kenjiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kensaurus/cursor-kenji/backend-realtime)<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/backend-realtime"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/backend-realtime.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.02423 |
| Opus 5 | $0.00032 | $0.01211 |
| Sonnet 5 | $0.00013 | $0.00485 |
| Haiku 4.5 | $0.00006 | $0.00242 |
Grade A, and why
backend-realtime scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 397 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Real-time Features Skill
Degree of freedom: MIXED. Which transport and event [HIGH freedom];
existing-subscription probes and unmount cleanup [LOW freedom — run exactly].
How to reason
- Observe — existing channels, sockets, hooks, cleanup
- Interpret — new subscription vs reuse vs transport mismatch
- Classify — postgres-changes / presence / broadcast / SSE / optimistic
- Severity — leaked or duplicate subscription outranks a missing typing indicator
Worked example
Observe: chat mounts
useRealtimeMessagestwice; no untrack on leave;package.jsonalready has@supabase/supabase-js. Interpret: duplicate INSERT listeners; leftover presence. Classify: one channel hook with unmount cleanup; reuse Supabase Realtime — do not add Socket.io. Verify: onepostgres_changessubscription;removeChannelon unmount; no second socket lib.
Self-critique before reporting
- Existing first — grepped channels/sockets before adding a library
- Cleanup — every subscribe has unmount
removeChannel/close - One listener — no duplicate subscription for the same event
- Right owner — FE↔BE payload mismatch →
debug-fe-be-integration; queue/job instead of live push →backend-patterns
Implement live, collaborative features using WebSockets, Supabase Realtime, and Server-Sent Events.
Code examples assume a Next.js App Router + Supabase stack (
@/lib/supabase/client,'use client'). Adapt import paths and row types to the detected stack.
CRITICAL: Check Existing First [LOW freedom — run exactly]
Before implementing ANY real-time feature, verify:
- Check for existing real-time setup:
cat package.json | grep -i "socket\|realtime\|pusher\|ably"
rg "supabase.*channel|useSubscription|WebSocket" --type ts --type tsx
- Check for existing patterns:
rg "on\('INSERT'\|on\('UPDATE'\|subscribe\(" --type ts
ls -la src/hooks/use*Realtime* src/lib/realtime* 2>/dev/null
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 397 lines · 65 tokens per session scan A 488a2e432865
backend-realtime is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 10d ago), licensed MIT. It adds 65 tokens to every session and 2,423 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
devlab-contract-web-server
A guide for agreeing on how a separate frontend and backend communicate through APIs. An API contract defines field types, optional values, data formatting, error codes, and which configuration belongs on each side.
FAQ Generator
Generates a comprehensive FAQ section for any product, API, or documentation page.
chat-viewer
A design for displaying WeCom chat records. WeCom is an enterprise messaging platform; the service syncs and decrypts messages, downloads media, and can turn voice messages into text.
react-server-components
Implements React Server Components (RSC) patterns with Next.js App Router including data fetching, streaming, selective hydration, and server/client composition. Use when users request "server components", "RSC", "Next.js app router", "server-side rendering", or "streaming".
extract-source-sample
Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…
frontend
Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.