rpc

rpc is a skill for Claude Code from finom/vovk. It costs 347 tokens per session (5,773 once invoked), scanned A, original, MIT.

A Vovk.ts tool for generating typed client modules from backend controllers. It creates code that matches the API's parameters, request data, responses, and validation rules.

In plain words
What is it for?
Use it to generate composed or per-segment clients, call controller procedures with paths, bodies, queries, and other request options, and customize the generated client's location, imports, fetcher, or validation behavior.
Why use it?
It reduces mismatches between frontend code and the backend by generating the client from the same API schemas.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the vovk plugin — 15 skills shipped together

Good fit Use it to generate composed or per-segment clients, call controller procedures with paths, bodies, queries, and other request options, and customize the generated client's location, imports, fetcher, or validation behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finom/vovk/rpc
Install

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.

Any agent
npx skills add finom/vovk --skill rpc
Clone the repo
git clone --depth 1 https://github.com/finom/vovk

Made for: Claude Code.

Or install vovk, the plugin that ships this one along with the rest of its 15 skills.

Wrote 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.

agentmods badge for rpc

README.md
[![agentmods](https://agentmods.dev/badge/skills/finom/vovk/rpc/github.svg)](https://agentmods.dev/skills/finom/vovk/rpc)
Your own site
<a href="https://agentmods.dev/skills/finom/vovk/rpc"><img src="https://agentmods.dev/badge/skills/finom/vovk/rpc/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.

agentmods 80×15 button for rpc

Your own site · 80×15
<a href="https://agentmods.dev/skills/finom/vovk/rpc"><img src="https://agentmods.dev/badge/skills/finom/vovk/rpc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 347 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 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 MCP Rug Pull · line 52
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Data Exfiltration · line 417
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 490
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00347 $0.05773
Opus 5.5 $0.00139 $0.02309
Sonnet 5.5 $0.00069 $0.01155
Haiku 4.5 $0.00035 $0.00577

Measured 7d ago against content hash 744444fe5f89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rpc 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 7d 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.

skills/rpc/SKILL.md · 441 lines

How it starts

The opening of the file, as written. The whole thing — 441 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vovk.ts RPC client

Every controller procedure with HTTP decorator automatically gets typed client counterpart. vovk generate produces these client modules from segment schemas, emitting TypeScript into the project:

  • Composed client (default): one client for all segments at composedClient.outDir (default ./src/client, or ./client when the app isn't in src/app). Import from '@/client' (standard Next.js alias; alias-less projects use a relative path).
  • Segmented client: per-segment subdirs of segmentedClient.outDir (same default dir). Import from '@/client/<segment>'.

Key identity: client module name = key used in initSegment's controllers map, regardless of import path.

// server
initSegment({ controllers: { UserRPC: UserController } });

// client (composed)
import { UserRPC } from '@/client';
await UserRPC.getUser({ params: { id: '42' } });

Not UserControllerRPC. Not UserController. Whatever the key is.

Generating client

npx vovk generate

What it does:

  • Reads .vovk-schema/**/*.json for every segment (nested segments live in subdirectories, e.g. .vovk-schema/customer/static.json).
  • Emits generated code into configured outDir using selected fromTemplates preset (default ['ts']).
  • Composed client (default): emits index.ts, schema.ts, openapi.ts, openapi.json at outDir root (default ./src/client, or ./client when the app isn't in src/app). Project's own tsc handles the files; import from '@/client'.
  • Segmented client: same four files per segment under <outDir>/<segment>/; import from '@/client/<segment>'.
  • Generated dir is gitignored by vovk init and rebuilt by the prebuild script (vovk generate); no need to commit it.

See "Client layout and import paths" below.

vovk generate does NOT rebuild schemas from controller source. Schema emission = separate step: vovk dev runs alongside Next.js dev server, hits each segment's _schema_ endpoint (only available when NODE_ENV === 'development'), writes JSON into .vovk-schema/. vovk generate reads whatever's there.

Read the full file on GitHub · 441 lines

Changes

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.

  1. 7d ago Changed · -54 lines 744444fe5f89
  2. 13d ago Changed 14b5a5a95eda
  3. 14d ago Changed eddfba002cc0
  4. 19d ago Changed · -8 lines · -7 tokens per session a1a75cf2f6a2
  5. 1mo ago First seen · 503 lines · 354 tokens per session scan A c911fe5d3b36

Subscribe to this mod's changes

rpc is a skill published in the GitHub repository finom/vovk (53 stars, last pushed today), licensed MIT. It adds 347 tokens to every session and 5,773 once invoked, about $0.0014 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

client-setup

Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.

trpc/trpc · 63 tokens

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/trpc · 67 tokens

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.

trpc/trpc · 59 tokens

pinme-email

Use this skill when a PinMe project (Worker TypeScript) needs to integrate email sending (sendemail). Guides AI to generate correct Worker TS code.

glitternetwork/pinme · 35 tokens

node-modern

Use this skill when writing, reviewing, or refactoring Node.js code — modules, async flow, cancellation, file and process I/O, HTTP — on a current Node.js release. Triggers: user mentions "Node", "Node.js", "ESM", "CommonJS", "require", "import", "fetch", "AbortSignal", "AbortController", "stream", "childprocess"…

WrongStack/WrongStack · 93 tokens

nestjs

Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…

ericrisco/rsc-harness · 81 tokens