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 nifrajs/nifra --skill nifra-errorsgit clone --depth 1 https://github.com/nifrajs/nifraWrote 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/nifrajs/nifra/nifra-errors)<a href="https://agentmods.dev/skills/nifrajs/nifra/nifra-errors"><img src="https://agentmods.dev/badge/skills/nifrajs/nifra/nifra-errors/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/nifrajs/nifra/nifra-errors"><img src="https://agentmods.dev/badge/skills/nifrajs/nifra/nifra-errors.svg" alt="Reviewed on agentmods" width="80" 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.00079 | $0.17285 |
| Opus 5.5 | $0.00032 | $0.06914 |
| Sonnet 5.5 | $0.00016 | $0.03457 |
| Haiku 4.5 | $0.00008 | $0.01728 |
Grade A, and why
nifra-errors 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 today.
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 — 1,521 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nifra: repairing from an error code
Generated from the catalogs nifra explain answers from; do not edit by hand (bun run gen:errors).
Find the code in the error or finding, jump to its heading (the lower-cased code), apply the fix, then
run the verify step. A code is stable forever: it is never renumbered or reused.
nifra explain <code-or-message> returns the same entry live, with the frame in your source.
Runtime and build errors
NIFRA_BACKEND_ONLY_IN_CLIENT
Cause: A module that imports the @nifrajs/web/backend-only marker was reachable from a client entry, so it would ship to the browser.
Fix: Follow the import chain in the message and move the module under backend/, reached from the route's x.backend.ts (loader/action) or a *.fn.ts server function.
Ways to fix it:
- Load it on the server: Move the module under backend/ and call it from the route's x.backend.ts loader or action; the page receives the result through loaderOutput/actionOutput.
- Make it a server function: Move the call into a backend/*.fn.ts server function and import that from the page; the browser bundle gets a stub that calls the server.
Docs: https://nifra.dev/docs/errors#backend-only-in-client
NIFRA_BACKEND_IN_CLIENT
Cause: Browser code imported a module the zones keep on the server: backend/, a route's x.backend.ts, a server package, or a module outside every zone.
Fix: Reach backend code through the route's x.backend.ts (loader/action) or a *.fn.ts server function; put code both sides need in shared/. The message names the import chain.
Ways to fix it:
- Load it on the server: Call the backend code from the route's x.backend.ts loader or action and pass the result to the page through loaderOutput/actionOutput.
- Make it a server function: Wrap the call in a backend/*.fn.ts server function and import that from the page; the browser bundle gets a stub that calls the server.
- Share pure code: If the imported code needs nothing from the server (no secrets, database or Node APIs), move it to shared/ so both sides may import it.
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.
- today Changed · +8 lines dc573cb9d074
- 2d ago Changed · +60 lines 8b77f32183b9
- 9d ago First seen · 1,453 lines · 79 tokens per session scan A 11dfddc54c1b
nifra-errors is a skill published in the GitHub repository nifrajs/nifra (7 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 17,285 once invoked, about $0.0003 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-11-21.
nifra-errors compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nifra-errorsnifrajs/nifra | Skill | 7 | today | MIT | A | 79 | Claude Code |
| flywheelveryfront/veryfront-code | Skill | 20 | today | Apache-2.0 | A | 26 | Claude Code, Codex |
| detect-ssr-leakcabloy/cabloy | Skill | 987 | 2d ago | MIT | C | 75 | Claude Code |
| debug-buildveryfront/veryfront-code | Skill | 20 | today | Apache-2.0 | A | 14 | Claude Code, Codex |
| debug-runtimeveryfront/veryfront-code | Skill | 20 | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| deep-investigationvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 28 | Claude Code, Codex |
| suggest-follow-upsvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 49 | Claude Code, Codex |