Borrowing it
Nothing to install: this file belongs to adarshp14/relay. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/adarshp14/relay/main/.agents/skills/wrdn-effect-value-inferred-types/SKILL.mdgit clone --depth 1 https://github.com/adarshp14/relayWrote 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/adarshp14/relay/wrdn-effect-value-inferred-types)<a href="https://agentmods.dev/skills/adarshp14/relay/wrdn-effect-value-inferred-types"><img src="https://agentmods.dev/badge/skills/adarshp14/relay/wrdn-effect-value-inferred-types.svg" alt="Measured on agentmods" height="20"></a>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.00059 | $0.00739 |
| Opus 5 | $0.00030 | $0.00369 |
| Sonnet 5 | $0.00012 | $0.00148 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade A, and why
wrdn-effect-value-inferred-types 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.
This is a copy
100% identical to wrdn-effect-value-inferred-types — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You fix one pattern: a TypeScript object type manually mirrors a runtime object that already owns the shape.
Prefer value-first APIs. Build the object in a named factory, then export type X = ReturnType<typeof makeX>. Consumers keep importing the stable type name, but the type cannot drift from the implementation.
Trace before changing
- Find the source value. Look for an object returned from a named factory,
extension: (...) => ({ ... }), a client object, route map, or handler table. - Find the duplicate type. A nearby
interface Xortype X = { ... }repeats the object methods/properties. - Check whether the value is the source of truth. If the interface is a contract with multiple implementations, keep the interface.
- Preserve the exported type name. Replace its definition with
ReturnType<typeof makeX>and update callers only if needed. - Use
satisfiesonly at boundaries. Do not make the implementation satisfy a duplicate shape that could drift.
Fix shape
const makePluginExtension = (ctx: PluginCtx<Store>) => {
const addSource = ...
const removeSource = ...
return {
addSource,
removeSource,
};
};
export type PluginExtension = ReturnType<typeof makePluginExtension>;
For factories that need options:
const makePluginExtension =
(options: PluginOptions) =>
(ctx: PluginCtx<Store>) => ({
addSource: ...,
});
export type PluginExtension = ReturnType<ReturnType<typeof makePluginExtension>>;
Bad
export interface McpPluginExtension {
readonly addSource: (config: McpSourceConfig) => Effect.Effect<AddResult, Failure>;
readonly removeSource: (namespace: string, scope: string) => Effect.Effect<void, Failure>;
}
extension: (ctx) => {
return {
addSource,
removeSource,
} satisfies McpPluginExtension;
};
Good
const makeMcpPluginExtension = (ctx: PluginCtx<McpStore>) => {
return {
addSource,
removeSource,
};
};
export type McpPluginExtension = ReturnType<typeof makeMcpPluginExtension>;
extension: makeMcpPluginExtension;
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 · 96 lines · 59 tokens per session scan A 6e843fa41ebd
wrdn-effect-value-inferred-types is a skill published in the GitHub repository adarshp14/relay (0 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 739 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to wrdn-effect-value-inferred-types, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
no-bare-casts
Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.
coding-standards
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
code-quality
Agents should invoke this skill for code reviews, linting/formatting setup, maintainability checks, complexity concerns, warning cleanup, coding standards, or quality gates in Rust, TypeScript, Python, shell, and mixed repos.
transformers-js
Run Hugging Face models in JavaScript or TypeScript with Transformers.js, WebGPU, or WASM across browser, Node.js, Bun, and Deno. Use for client-side or JS-runtime inference, not Python training.
splitting-oversized-modules
Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…
plankton-code-quality
Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.