micro
Skill by openai
Explains how to build lightweight HTTP servers and API endpoints with micro, Vercel's asynchronous Node.js microservices framework. Covers request handlers, body parsing, HTTP errors, and hot reloading with micro-dev.
Install micro
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/vercel/skills/micro ~/.claude/skills/microRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/vercel/skills/micro ~/.gemini/antigravity-cli/skills/microAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance on micro, an asynchronous HTTP microservices framework by Vercel. It explains how to install micro, write request handlers, and run them with npx micro. Handlers can return strings, objects that are serialized to JSON, or Buffers, and they can be async.
The guidance covers the core API: json, text and buffer for parsing request bodies, send for responses, and createError for HTTP errors. It also covers micro-dev for hot reloading during development and composing handlers with higher-order functions for middleware-like behavior. It is aimed at developers building lightweight HTTP servers, API endpoints, or single-purpose microservices. micro has no built-in routing, so multi-route services need a router such as micro-router.
Written from the project's SKILL.md and checked against it.
What it can do
- Write HTTP handlersCreate single-purpose request handlers that return strings, objects, or Buffers.
- Parse request bodiesRead request bodies explicitly with json(), text(), or buffer().
- Send responsesSend a status code and data with send(res, statusCode, data).
- Throw HTTP errorsReturn proper status codes with createError(statusCode, message).
- Hot reload in developmentRun micro-dev to reload the server on changes during development.
- Compose handlersWrap handlers with higher-order functions for middleware-like behavior, such as CORS headers.
What you need
- Node.js
Try asking
- Write a micro handler that parses a JSON body and returns it
- Add a createError 401 check for a missing authorization header in micro
- Set up micro-dev hot reloading for my index.js endpoint
Good to know
- No routing built in. micro is a single-endpoint server.
- Multi-route services need a router such as micro-router.
- Request body parsing must be done explicitly.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/vercel/skills/micro/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
agents/openai.yaml140 B
Alternatives to micro
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
micro: common questions
Does micro have built-in routing?
No. The source says micro is a single-endpoint server and recommends a router like micro-router for multi-route services.
How are request bodies parsed in micro?
Parsing is explicit. Use json(), text(), or buffer() on the request to read the body.
What is micro-dev used for?
The source says micro-dev provides hot reloading for development.
How do I install micro?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is micro free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is micro safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to micro?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
