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 pproenca/dot-skills --skill trpcgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/trpc)<a href="https://agentmods.dev/skills/pproenca/dot-skills/trpc"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/trpc/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/trpc"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/trpc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 79 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 79 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00208 | $0.02720 |
| Opus 5 | $0.00104 | $0.01360 |
| Sonnet 5 | $0.00042 | $0.00544 |
| Haiku 4.5 | $0.00021 | $0.00272 |
Grade A, and why
trpc 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 6d 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tRPC v11
The decisions tRPC forces and how to settle them, written so an agent applies them while writing or reviewing code. Every rule names the wrong default it corrects; there is no rule for what the model already gets right.
Pinned to tRPC v11, verified against 11.18.0 (2026-06-17). There is no v12 — but several APIs here carry @deprecated … will be removed in v12 and still ship today. Peers: typescript >=5.7.2, @tanstack/react-query ^5.80.3, react >=18.2.0.
When to Apply
Use this skill when:
- Code imports
initTRPC,createTRPCContext,createTRPCOptionsProxy,createTRPCReact,createTRPCClient,httpBatchLink,httpSubscriptionLink,splitLink,fetchRequestHandler,createCallerFactory, orTRPCError— or defines procedures with.input()/.output()/.use()/.query()/.mutation()/.subscription() - The user says "everything types as
any", "invalidation isn't working", "contextMap[utilName] is not a function", "the transformer property moved", "414 / 413 on the dashboard", "subscriptions won't connect", "the prefetch isn't hydrating", or "it 404s every procedure" - Migrating a codebase from tRPC v10, or reviewing tRPC code written against v10-era examples — the highest-yield moment, because the recommended React client changed and stale code often still compiles
- Adding the first subscription, the first file upload, or the first RSC prefetch to an existing router — each crosses into a surface where v11 replaced the v10 approach outright
- Reviewing a batched client as the app grows, where the uncapped defaults turn into intermittent production failures
This skill is NOT for:
- General TanStack Query semantics — cache lifetimes, retry,
useMutationergonomics (→tanstack-query) - Authoring or migrating the Zod schemas used as validators (→
zod) - Next.js App Router routing, streaming, or caching beyond the tRPC handler (→
nextjs) - General TypeScript narrowing and generics (→
typescript)
Rule Categories
What ships with it
37 files 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.
- AGENTS.md 8.4 KB
- assets/templates/_template.md 1.3 KB
- metadata.json 3.3 KB
- references/_sections.md 3.7 KB
- references/client-derive-query-keys.md 2.4 KB
- references/client-invalidate-with-query-filters.md 2.7 KB
- references/client-subscription-options.md 2.3 KB
- references/client-tanstack-integration.md 2.4 KB
- references/err-format-standard-schema-issues.md 2.7 KB
- references/err-nullish-cursor.md 2.1 KB
- references/err-output-strips-fields.md 2.1 KB
- references/err-set-isdev-explicitly.md 1.7 KB
- references/link-cap-batch-size.md 2.6 KB
- references/link-default-to-httpbatchlink.md 2.5 KB
- references/link-endpoint-matches-mount-path.md 1.6 KB
- references/link-gate-cache-headers.md 2.4 KB
- references/link-read-batch-headers-from-oplist.md 1.8 KB
- references/link-route-subscriptions-separately.md 1.7 KB
- references/link-scope-body-parsers.md 1.8 KB
- references/link-transformer-on-terminating-links.md 2.8 KB
- references/mig-await-get-raw-input.md 2.1 KB
- references/mig-formdata-is-native.md 2.5 KB
- references/mig-renamed-type-exports.md 3.3 KB
- references/mig-typescript-version-floor.md 1.9 KB
- references/proc-concat-over-standalone-middleware.md 2.3 KB
- references/proc-input-before-use.md 2.5 KB
- references/proc-merge-only-object-inputs.md 2.1 KB
- references/proc-narrow-ctx-in-middleware.md 2.2 KB
- references/proc-single-trpc-instance.md 2.2 KB
- references/rsc-dehydrate-pending-queries.md 2.0 KB
- references/rsc-prefetch-through-options-proxy.md 3.1 KB
- references/rsc-query-client-per-request.md 2.4 KB
- references/rsc-share-logic-not-callers.md 2.4 KB
- references/sub-attach-listener-before-backlog.md 2.7 KB
- references/sub-enable-sse-keepalive.md 2.3 KB
- references/sub-keep-credentials-out-of-urls.md 2.4 KB
- references/sub-write-async-generators.md 2.0 KB
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.
- 6d ago First seen · 115 lines · 208 tokens per session scan A 8f244e80aa3c
trpc is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 208 tokens to every session and 2,720 once invoked, about $0.0010 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
adapter-express
Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.
trpc-router
Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
chat-sdk
Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…
nestjs-expert
Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating…
fastify-best-practices
Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication…