nitro
An agent skill by antfu, from antfu/skills. Tags: api, cloud, deployment, serverless, web.
What it does
Nitro is the framework-agnostic server toolkit (powering Nuxt) for building and deploying web servers anywhere. Use when working with nitro.config, server routes/event handlers, route rules, caching, storage, tasks, websockets, or deploying to Node/Bun/Deno/Cloudflare/Vercel.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add antfu/skills --skill nitro
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/antfu/skills
cp -r skills/skills/nitro ~/.claude/skills/nitro
Safety box score
Grade B, low risk: 16 of 100 risk points, rated 2026-10-21. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill is documentation for Nitro’s server, API, storage, task, and deployment features; it does not ship executable code or native scripts. The main risk is indirect: it teaches the agent to wire up server-side features that can read environment files, expose remote endpoints, and schedule or trigger task execution inside the user’s project.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 0 (none) | The skill ships only markdown reference files; there are no scripts, installers, or code that would execute on the machine. |
| Network access | 1 (low) | The docs cover remote-facing features like `proxy`, WebSockets/SSE, OpenAPI exposure, and task endpoints, e.g. `production: "runtime"` and `GET|POST /_nitro/tasks/:name`. |
| Filesystem reach | 1 (low) | It describes normal project-scoped file locations such as `routes/`, `middleware/`, `public/`, `assets/`, and `serverDir`, but nothing that writes outside the workspace or deletes broadly. |
| Secrets & credentials | 1 (low) | The configuration guide explicitly says `.env` / `.env.local` are loaded during config resolution and shows `NITRO_*` overrides like `NITRO_API_TOKEN`, so the agent may read or wire secret-bearing env values. |
| Privilege & persistence | 0 (none) | There is no sudo, service registration, global install, shell startup editing, or other privilege-escalation behavior in the shipped files. |
| Instruction hijack surface | 0 (none) | I found no prompt-injection style instructions to ignore rules, hide behavior, or follow remote content; the text is framework guidance only. |
| Irreversible actions | 1 (low) | The docs describe scheduled tasks and programmatic execution (`scheduledTasks`, `runTask`, `GET|POST /_nitro/tasks/:name`), which can cause autonomous app actions if a project enables them. |
| Transparency | 0 (none) | All shipped content is readable markdown; there are no binaries, obfuscated blobs, or decoded-at-runtime scripts. |
Before installing
- Check `references/core-configuration.md` for `.env` / `NITRO_*` handling before using real credentials.
- Read `references/features-tasks.md` before enabling `scheduledTasks` or `runTask` in any project with side effects.
- Review `references/features-openapi.md` and `references/core-routing.md` before exposing docs, proxy routes, or task endpoints in production.
Rated 2026-10-21 by an automated review of 15 files from the skill's repository.
Source
- Repository
- antfu/skills (all skills from this repository)
- Path
- skills/nitro/SKILL.md
- Branch
- main
- Updated
- 2026-09-22
Related skills
- django-storages-s3 — Use when configuring Django to store static and media files on AWS S3 with django-storages.
- salesforce-developer — Writes and debugs Apex code, builds Lightning Web Components, optimizes SOQL queries, implements triggers, batch jobs, platform events.
- agents-deploy — Use when deploying your agent to AWS, or when a deploy has failed.
- ai-services — Configure DigitalOcean Gradient AI serverless inference and Agent Development Kit.
- amazon-bedrock — Builds generative AI applications on Amazon Bedrock.
- aws-ai-ml — Selects, deploys, and customizes AI models on Amazon SageMaker.