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 Nevaberry/nevaberry-plugins --skill authjs-knowledge-patchgit clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsWrote 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/nevaberry/nevaberry-plugins/authjs-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/authjs-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/authjs-knowledge-patch/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/nevaberry/nevaberry-plugins/authjs-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/authjs-knowledge-patch.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.00009 | $0.02110 |
| Opus 5.5 | $0.00004 | $0.00844 |
| Sonnet 5.5 | $0.00002 | $0.00422 |
| Haiku 4.5 | $0.00001 | $0.00211 |
Grade A, and why
authjs-knowledge-patch 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 — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auth.js Knowledge Patch
Use this skill when configuring Auth.js providers, sessions, adapters, framework integrations, or operational upgrades. Load the relevant reference for full examples and configuration details.
| Reference | Topics |
|---|---|
| Providers and Authentication | OAuth checks and account fields, Credentials, email providers, experimental Passkey setup, account linking, native OAuth clients |
| Sessions and Framework Integrations | JWT and database sessions, magic-link lifecycle, Qwik, SvelteKit, Express, session endpoint caching |
| Auth.js v5 Migration and Next.js Integration | Next.js Proxy runtime and custom Passkey pages |
| Adapters, Operations, and Security | Token parsing, host precedence, CommonJS, security updates, corporate proxies, token refresh, adapters, framework scaffolding, logging |
| Better Auth Transition | Maintenance and project choice |
Upgrade and compatibility checks
OAuth check cookies and malformed tokens
OAuth state, nonce, and PKCE check cookies are bound to their creating provider. A callback handled by another provider rejects those cookies. Restart OAuth sign-ins in progress during an upgrade if their callbacks fail.
getToken() returns null for a malformed Bearer value in the Authorization
header. Handle it through the same path as a missing token.
Host precedence and CommonJS
In trusted-host mode, an explicit NEXTAUTH_URL takes precedence over the host
auto-detected from forwarded headers.
The 4.24.15 release uses uuid@^11.1.1, restoring support for loading next-auth
via require() on Node.js versions earlier than 20.19.
Package-specific fixes
[email protected] sets the built-in GitHub provider's default issuer to
https://github.com/login/oauth. Upgrade if GitHub sign-in on an older v4 release
fails when openid-client validates the iss authorization callback parameter.
What ships with it
6 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.
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 3dfa7316fbb2
- 3mo ago First seen · 200 lines · 9 tokens per session scan A 93367134087b
authjs-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 2,110 once invoked, about $0.0000 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.
authjs-knowledge-patch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| authjs-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | yesterday | MIT | A | 9 | Claude Code |
| design-mcp-servercyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 62 | Claude Code |
| add-toolcyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 35 | Claude Code |
| api-contextcyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 84 | Claude Code |
| api-errorscyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 54 | Claude Code |
| api-telemetrycyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 85 | Claude Code |
| api-mirrorcyanheads/obsidian-mcp-server | Skill | 722 | 21d ago | Apache-2.0 | A | 68 | Claude Code |