fastify-docs

fastify-docs is a skill for Claude Code, Codex from cookieMonsterDev/agents-skills. It costs 89 tokens per session (1,067 once invoked), scanned A, original, MIT.

Official documentation guidance for Fastify, a Node.js framework for building HTTP servers and APIs. It covers routes, request handling, validation, plugins, logging, testing, and deployment.

In plain words
What is it for?
Use it to build and troubleshoot routes, hooks, decorators, JSON Schema validation, serialization, plugins, middleware, TypeScript servers, HTTP/2, tests, and serverless deployments.
Why use it?
It avoids carrying over Express patterns or incorrect assumptions about Fastify’s lifecycle and plugin structure. Answers are based on Fastify’s documentation.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/cookiemonsterdev/agents-skills/fastify-docs
Any agent
npx skills add cookieMonsterDev/agents-skills --skill fastify-docs
Clone the repo
git clone --depth 1 https://github.com/cookieMonsterDev/agents-skills

Made for: Claude Code, Codex.

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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/fastify-docs.svg)](https://agentmods.dev/skills/cookiemonsterdev/agents-skills/fastify-docs)
Your own site
<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/fastify-docs"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/fastify-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00089 $0.01067
Opus 5 $0.00044 $0.00534
Sonnet 5 $0.00018 $0.00213
Haiku 4.5 $0.00009 $0.00107

Measured 3d ago against content hash 2c5d0f7ec0bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fastify-docs 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 3d 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.

docs-skills/fastify-docs/SKILL.md · 99 lines

How it starts

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

Fastify questions are easy to answer from stale memory or Express-centric assumptions. Use this skill to ground answers in the official Fastify documentation and return the closest authoritative page instead of generic Node.js HTTP advice.

When to Use

Use this skill when the request is about:

  • Fastify concepts, architecture, plugins, and encapsulation
  • Server creation, configuration, routing, and the request lifecycle
  • Request and reply objects, hooks, decorators, and error handling
  • JSON Schema validation, serialization, and content-type parsing
  • Plugins, fastify-plugin, encapsulation scopes, and the @fastify/* ecosystem
  • Logging, middleware (Express-style), HTTP/2, and TypeScript support
  • Testing with inject(), serverless deployment, and production recommendations
  • Migration between Fastify major versions

Do not use this skill for:

  • NestJS with the Fastify adapter unless the question is about underlying Fastify APIs. Use nestjs-docs for Nest abstractions.
  • Raw Express middleware patterns without Fastify context. Use expressjs-docs instead.
  • Third-party plugins not documented in the Fastify ecosystem guide unless the user needs general Fastify plugin patterns.

Workflow

1. Classify the request

Decide which bucket the question belongs to before searching:

  • Getting started or introductory guides
  • Core reference (server, routes, request, reply)
  • Lifecycle, hooks, and plugins
  • Validation, serialization, and parsers
  • Logging, errors, and middleware
  • TypeScript and production operations
  • Ecosystem plugins and serverless

If you need a quick starting point, load references/topic-map.md and jump to the closest section.

2. Search official Fastify docs first

  • Treat fastify.dev/docs/latest as the source of truth for the current Fastify release.
  • Prefer pages under https://fastify.dev/docs/latest/.
  • Search with the user's exact terms plus focused Fastify phrases such as fastify.register, fastify-plugin, schema, preHandler, or reply.send.
  • When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
  • For version-specific breaking changes, check the migration guides before answering from older knowledge.

Read the full file on GitHub · 99 lines

Files

What ships with it

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

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. 3d ago First seen · 99 lines · 89 tokens per session scan A 2c5d0f7ec0bb

Subscribe to this mod's changes

fastify-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (4 stars, last pushed 14d ago), licensed MIT. It adds 89 tokens to every session and 1,067 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

bigquery-ai-ml

Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity…

google/skills · 104 tokens

edge-to-edge

Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.

android/skills · 67 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

comet-github

将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.

rpamis/comet · 72 tokens