qauth: Skill for Claude Code

.claude/skills/fastify/SKILL.md

fastify is a skill for Claude Code from qauth-labs/qauth. It costs 71 tokens per session (1,667 once invoked), scanned A, original, Apache-2.0.

A guide to using Fastify, a Node.js framework for building web servers. It covers plugins, route validation, server startup, reverse proxies, and the order in which server components are registered.

In plain words
What is it for?
Use it when creating Fastify plugins, connecting shared services, defining routes, reviewing registration order, or configuring deployment behind a reverse proxy.
Why use it?
It helps avoid broken plugin dependencies, unsafe production exposure, and routes that accept invalid data.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is qauth-labs/qauth's own configuration. It tells Claude Code how to work on qauth itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything qauth configures →

Reuse

Borrowing it

Nothing to install: this file belongs to qauth-labs/qauth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/qauth-labs/qauth/main/.claude/skills/fastify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/qauth-labs/qauth

Made for: Claude Code.

Wrote 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.

agentmods badge for fastify

README.md
[![agentmods](https://agentmods.dev/badge/skills/qauth-labs/qauth/fastify/github.svg)](https://agentmods.dev/skills/qauth-labs/qauth/fastify)
Your own site
<a href="https://agentmods.dev/skills/qauth-labs/qauth/fastify"><img src="https://agentmods.dev/badge/skills/qauth-labs/qauth/fastify/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.

agentmods 80×15 button for fastify

Your own site · 80×15
<a href="https://agentmods.dev/skills/qauth-labs/qauth/fastify"><img src="https://agentmods.dev/badge/skills/qauth-labs/qauth/fastify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.01667
Opus 5.5 $0.00028 $0.00667
Sonnet 5.5 $0.00014 $0.00333
Haiku 4.5 $0.00007 $0.00167

Measured 1mo ago against content hash 00d338521b4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fastify 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 1mo 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.

.claude/skills/fastify/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fastify (QAuth)

Standards-aligned Fastify usage for QAuth: plugin authoring, route validation, and production deployment. Use this skill when creating plugins, wiring routes, reviewing Fastify code, or configuring the server for production.

When to Use This Skill

  • Adding a new @qauth-labs/fastify-plugin-* library
  • Wrapping a shared utility (DB, cache, JWT, PKCE, etc.) as a Fastify plugin
  • Defining or reviewing routes (schemas, type provider, validation)
  • Configuring the server for production (reverse proxy, listen address, CVE/version)
  • Reviewing or refactoring plugin registration order or decorator availability
  • Questions about encapsulation, fastify-plugin, or lifecycle hooks

Production

  • Use a reverse proxy (e.g. Nginx, HAProxy). Do not expose the Fastify app directly to the internet. Handle TLS, HTTP→HTTPS redirects, and static assets at the proxy.
  • Listen on 0.0.0.0 in containers/Kubernetes so readiness/liveness probes can reach the app (the default 127.0.0.1 is unreachable from the pod network).
  • Trust proxy: behind a reverse proxy, configure trustProxy so request.ip and X-Forwarded-* headers are correct.

Routes and Validation

  • Schema: register schema.body, schema.querystring, schema.params, and schema.response (e.g. response: { 200: responseSchema }). Fastify v5 uses schemas for both validation and types.
  • Type provider: call fastify.withTypeProvider<ZodTypeProvider>() before defining routes when using Zod schemas.
  • See the validation skill for schema organization and Zod v4 validators.
fastify.withTypeProvider<ZodTypeProvider>().post(
  '/login',
  {
    schema: {
      body: loginSchema,
      response: { 200: loginResponseSchema },
    },
    config: { rateLimit: { max: env.LOGIN_RATE_LIMIT, timeWindow: env.LOGIN_RATE_WINDOW * 1000 } },
  },
  async (request, reply) => {
    /* ... */
  }
);

Security and Dependencies

  • Fastify version: keep Fastify ≥ 5.3.2 to avoid CVE-2025-32442 (content-type parsing bypass in 5.0.0–5.3.0). Do not rely on content-type-specific validation without normalizing the header.
  • Audit: run pnpm audit regularly; fix or document high/critical vulnerabilities (see the security skill).
  • Node: Fastify v5 requires Node.js v20+; this project uses >=24.7.0.

Read the full file on GitHub · 132 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 1mo ago First seen · 132 lines · 71 tokens per session scan A 00d338521b4a

Subscribe to this mod's changes

fastify is a skill published in the GitHub repository qauth-labs/qauth (26 stars, last pushed today), licensed Apache-2.0. It adds 71 tokens to every session and 1,667 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-08-30.

Related

Other skills, from other repositories

theauth

Install and use theAuth (@glinr/theauth), the TypeScript auth SDK for AI agents and humans. Use when adding agent identity, scoped permissions, delegation, audit logs, human sign-in plugins, or an MCP OAuth 2.1 authorization server to a Node, Bun, Deno or edge project.

glincker/theauth · 67 tokens

crudauth

Use when building or modifying authentication in a FastAPI app with crudauth (the crudauth PyPI package) — covers CRUDAuth, the AuthUserMixin / makeauthidentity user model, IdentityConfig, currentuser(...) gates, session + bearer transports, OAuth (Google/GitHub), email verification / password reset / change, custom…

benavlabs/crudauth · 199 tokens

nextjs-authentication

Secure token storage (HttpOnly Cookies) and Middleware patterns. Use when implementing authentication, secure session storage, or auth middleware in Next.js.

FilippoDeSilva/skills · 33 tokens

api-integration-architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

sickn33/agentic-awesome-skills · 33 tokens

coding-directives

Implement or review caddy-security Go code, Caddy modules, parsers, lifecycle, and HTTP delegation. Use for app/plugin boundaries, authcrunch integration, errors, logging, and code conventions.

greenpau/caddy-security · 45 tokens

configuration-authentication-cookies

Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides. Use for cookie precedence and coordination with authorization token discovery.

greenpau/caddy-security · 34 tokens