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 finom/vovk --skill decoratorsgit clone --depth 1 https://github.com/finom/vovkWrote 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/finom/vovk/decorators)<a href="https://agentmods.dev/skills/finom/vovk/decorators"><img src="https://agentmods.dev/badge/skills/finom/vovk/decorators/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/finom/vovk/decorators"><img src="https://agentmods.dev/badge/skills/finom/vovk/decorators.svg" alt="Reviewed on agentmods" width="80" 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.00207 | $0.03466 |
| Opus 5.5 | $0.00083 | $0.01386 |
| Sonnet 5.5 | $0.00041 | $0.00693 |
| Haiku 4.5 | $0.00021 | $0.00347 |
Grade A, and why
decorators 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 1mo 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 — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vovk.ts decorators
Decorators wrap static methods on controllers. Three kinds:
- HTTP decorators (
@get,@post,@put,@patch,@del) — mark procedure as HTTP route. Seeprocedureskill. - Metadata decorators (
@prefix,@operation) — attach info, no behavior change. - Custom decorators (
createDecorator) — middleware wrapping handler. How auth, logging, feature flags attach.
One syntax: @decorator. vovk init enables experimentalDecorators in tsconfig.json; a webpack build (next build --webpack, Next.js 15's default) needs it, Turbopack (Next.js 16's default) compiles vovk's decorators either way.
@prefix
Class-level route prefix:
import { prefix, get, procedure } from 'vovk';
@prefix('users')
export default class UserController {
@get('{id}')
static getUser = procedure({ /* ... */ }).handle(/* ... */);
}
// → GET /api/users/{id}
Root-level — @prefix('') or omit (same effect):
export default class RootController {
@get()
static ping = procedure().handle(() => ({ ok: true }));
}
// → GET /api
.auto() — name-derived routes
Use method name instead of path:
@put.auto()
static doSomething = procedure().handle(/* ... */);
// → PUT /api/<prefix>/do-something
Method names → kebab-case. Works with every HTTP decorator (@get.auto(), @post.auto(), etc.), same options.
HTTP decorator options
Second arg: response-header + CORS config.
@put('do-something', {
headers: { 'x-hello': 'world' },
cors: true,
})
static doSomething = procedure().handle(/* ... */);
headers— merged into response.cors: true— permissive CORS for that route (access-control-allow-origin: *, preflight answered). NeedsOPTIONSin segment'sinitSegment()exports — else Next.js answers the preflight itself (204 withAllow, noAccess-Control-*headers), and the browser blocks the cross-origin call. Exact headers and CORS for every route →base.
Custom decorators — createDecorator
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.
- 1mo ago Changed · -20 lines 5045db15bc96
- 1mo ago Changed · +2 lines 4148224003ca
- 2mo ago Changed · -35 lines · -21 tokens per session d59a3ae07a23
- 3mo ago First seen · 329 lines · 228 tokens per session scan A 4727bd26c307
decorators is a skill published in the GitHub repository finom/vovk (57 stars, last pushed 2d ago), licensed MIT. It adds 207 tokens to every session and 3,466 once invoked, about $0.0008 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.
decorators compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| decoratorsfinom/vovk | Skill | 57 | 2d ago | MIT | A | 207 | Claude Code |
| nestjsericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 81 | Claude Code, Codex |
| node-modernWrongStack/WrongStack | Skill | 451 | today | MIT | A | 123 | Claude Code, Codex |
| pinme-emailglitternetwork/pinme | Skill | 3.8k | 2mo ago | MIT | A | 35 | Claude Code, Codex |
| webiny-api-cms-custom-field-typewebiny/webiny-js | Skill | 8.1k | today | none | A | 60 | Claude Code, Codex |
| nodejs-backendiliaal/ai-skills | Skill | 49 | 7d ago | MIT | A | 69 | Claude Code |
| bun-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | 5d ago | MIT | A | 8 | Claude Code |