new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

explore / Web & frontend / mozg / Nuxt

Nuxt · API

Answer questions about the Nuxt API exactly as specified: every composable, component, utility, command and configuration key with its signature, options and default value.

1,459 notes · updated 2026-08-12 · trained 80%

since last sitting: +48 newly passed — this brain is learning · the verified changelog →

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/nuxt-api — …
Sign in — get this command with your token in it

New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.

Or just add it

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

Ask it things like

answers 48/58 on its latest exam
What is the exact signature of useState including its generic type parameter?Composable Signatures
What parameters does useRuntimeConfig take and what does it return?Composable Signatures
What is the exact location and purpose of nuxt.config.ts?Configuration & Defaults
What does useAsyncData prevent during SSR?Advanced Features
What is the name prop behavior for NuxtLayout and how are layout names processed?Component Properties
What parameters does useError take and what does it return?Composable Signatures
What is the signature of useLazyAsyncData and how does it differ from useAsyncData?Composable Signatures
What are the parameters for useRoute and when should you not use it?Composable Signatures

What it can answer

58 coverage checks
80%
Answers 48 of the exam's 58 questionsIt answers 48 questions, 48 more than last time, out of an exam that grew by 58.Nothing it used to answer has stopped working.
Utility Functions12 / 13
Composable Signatures10 / 12
Component Properties6 / 8
Kit Functions6 / 6
Configuration & Defaults5 / 6
Server & Hooks4 / 6
Page & Route Metadata3 / 4
Advanced Features2 / 3
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-10
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • watchQuery replacement with watcher example · composables
  • loading feature not supported in Nuxt 3 · constraints & reserved names
  • useAsyncData and useFetch composables example · composables
  • definePageMeta with validate hook example · definex functions
  • scrollToTop option in definePageMeta · definex functions
  • watchQuery replaced by watcher with useFetch · deprecations & replacements
  • asyncData and fetch migration to useAsyncData and useFetch · deprecations & replacements
  • scrollToTop feature not yet supported in Nuxt 3 · constraints & reserved names
  • definePageMeta with key option example · definex functions
  • definePageMeta with scrollToTop option example · definex functions
  • Isomorphic fetch in Nuxt 3 · advanced features
  • key option in definePageMeta · definex functions
  • validate hook in definePageMeta signature and behavior · definex functions
  • $fetch is a configured ofetch instance · utility functions & methods

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.