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/clerk-knowledge-patchnpx skills add Nevaberry/nevaberry-plugins --skill clerk-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/clerk-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/clerk-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/clerk-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.02701 |
| Opus 5 | $0.00005 | $0.01350 |
| Sonnet 5 | $0.00002 | $0.00540 |
| Haiku 4.5 | $0.00001 | $0.00270 |
Grade A, and why
clerk-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 — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clerk Knowledge Patch
Use this guide when implementing, upgrading, or debugging Clerk authentication, authorization, Organizations, Billing, SDKs, components, or deployment architecture. Start with the migration notes, then open the matching reference.
Reference index
| Reference | Topics |
|---|---|
| Architecture and deployment | Account Portal, FAPI, cookies, handshake, environments, routing, Astro, Next.js, Dashboard roles, Platform API |
| Authentication and sessions | Factors, SSO, OAuth/OIDC, passkeys, pending sessions, reverification, JWT claims, restrictions |
| Billing | Plans, Features, Subscriptions, trials, checkout, discounts, hooks, administration |
| Components | Sign-in-or-up, Waitlist, Google One Tap, Show, loading controls, redirects, Billing drawers |
| Core 3 migration | Signal API, Expo native UI and hooks, attempt errors, MFA, transfer handling |
| Customization | Appearance, themes, Tailwind, iOS theming, localization, templates, Elements, profile extensions |
| Frontend resources | Browser API keys, Web3, email links, token cache, user refresh, listeners, multi-session behavior |
| Go Backend SDK | v2 setup, clients, middleware, resources, JWTs, roles, machines, settings |
| Integrations and webhooks | Svix webhooks, Inngest, framework middleware, MCP, FAPI proxies, satellites, Chrome extensions |
| JavaScript Backend SDK | Request authentication, Next.js token types, user migration, metadata, JWT templates, API keys |
| Organizations and enterprise | Tenant scoping, roles, permissions, role sets, invitations, Verified Domains, enterprise connections |
| Python Backend SDK | Authentication, retries, API keys, agent tasks, Billing, machines, releases and breaking schemas |
What ships with it
13 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 2.0 KB
- references/architecture-and-deployment.md 6.8 KB
- references/authentication-and-sessions.md 7.5 KB
- references/billing.md 4.5 KB
- references/components.md 3.2 KB
- references/core-3-migration.md 3.6 KB
- references/customization.md 7.4 KB
- references/frontend-resources.md 4.1 KB
- references/go-backend-sdk.md 4.3 KB
- references/integrations-and-webhooks.md 5.1 KB
- references/javascript-backend-sdk.md 5.0 KB
- references/organizations-and-enterprise.md 6.5 KB
- references/python-backend-sdk.md 6.4 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 · 247 lines · 9 tokens per session scan A cced7baf2077
clerk-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,701 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.