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 agentmods add skills/nevaberry/nevaberry-plugins/better-auth-knowledge-patchnpx skills add Nevaberry/nevaberry-plugins --skill better-auth-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/better-auth-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/better-auth-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/better-auth-knowledge-patch.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 | $0.00009 | $0.02292 |
| Opus 5 | $0.00005 | $0.01146 |
| Sonnet 5 | $0.00002 | $0.00458 |
| Haiku 4.5 | $0.00001 | $0.00229 |
Grade A, and why
better-auth-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 4d 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 — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Better Auth Knowledge Patch
Use this skill when implementing, upgrading, debugging, or reviewing Better Auth applications. Start with the quick references below, then load the topic file that matches the task.
Reference index
| Reference | Topics |
|---|---|
| agent-auth.md | Agent Auth discovery, JWT profiles, grants, approvals, execution, SDK, CLI, and hardening |
| core-authentication.md | Email/password, verification, account linking, social providers, usernames, and account deletion |
| data-model-and-adapters.md | IDs, schema generation, joins, hooks, official adapters, D1, Drizzle, Kysely, SQLite, and PostgreSQL |
| framework-integrations.md | Convex, Electron, Encore, Expo, Express, Lynx, NestJS, Next.js, SvelteKit, TanStack Start, Waku, and Workers |
| identity-and-utility-plugins.md | Two-factor, passkeys, OTP, magic links, phone, API keys, anonymous, bearer, JWT, SIWE, captcha, One Tap, and utility plugins |
| infrastructure-and-observability.md | Managed infrastructure, audit logs, Sentinel, email/SMS, OpenTelemetry, background tasks, and request-state diagnostics |
| migration-guides.md | Schema, package, endpoint, callback, hook, type, and plugin migrations |
| oauth-oidc-and-mcp.md | OAuth 2.1 provider, OIDC, generic OAuth, device authorization, resource servers, and MCP migration |
| organizations-sso-and-scim.md | Organizations, teams, dynamic roles, SSO, SAML, SCIM, provisioning, and domain trust |
| payments.md | Autumn, Stripe, Polar, Creem, Dodo Payments, and Openfort |
| plugin-development-and-testing.md | Middleware, plugin context, error codes, adapter predicates, lifecycle hooks, testing, and OpenAPI |
| sessions-cookies-and-security.md | Stateless auth, session placement, cookie cache, rate limits, CSRF/origin checks, secret rotation, and token storage |
| upgrades-and-cli.md | Standalone CLI, ESM, package alignment, release tracks, runtime compatibility, and migration safety |
What ships with it
14 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.
- coverage.json 1.7 KB
- references/agent-auth.md 7.1 KB
- references/core-authentication.md 4.2 KB
- references/data-model-and-adapters.md 4.0 KB
- references/framework-integrations.md 4.3 KB
- references/identity-and-utility-plugins.md 8.2 KB
- references/infrastructure-and-observability.md 3.6 KB
- references/migration-guides.md 4.2 KB
- references/oauth-oidc-and-mcp.md 5.1 KB
- references/organizations-sso-and-scim.md 6.0 KB
- references/payments.md 5.3 KB
- references/plugin-development-and-testing.md 3.9 KB
- references/sessions-cookies-and-security.md 5.5 KB
- references/upgrades-and-cli.md 2.5 KB
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.
- 4d ago First seen · 198 lines · 9 tokens per session scan A eae1754a8481
better-auth-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (24 stars, last pushed 7d ago), licensed MIT. It adds 9 tokens to every session and 2,292 once invoked, about $0.0000 per session on Opus 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.
Other skills, from other repositories
api-context
Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.enrich, ctx.content), and when to use each.
api-canvas
DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…
api-testing
Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.
api-telemetry
Catalog of OpenTelemetry instrumentation built into framework @cyanheads/mcp-ts-core — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up…
add-test
Scaffold a test file for an existing tool, resource, or service. Use when the user asks to add tests, improve coverage, or when a definition exists without a matching test file.
api-workers
Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.