netlify-blobs
Skill by netlify
Netlify Blobs teaches an AI assistant to store and retrieve files, objects, and cache-like state with the @netlify/blobs module on Netlify. It suits key/value storage from Functions, Edge Functions, or Build Plugins.
Install netlify-blobs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/netlify/context-and-tools /tmp/context-and-tools && mkdir -p ~/.claude/skills && cp -r /tmp/context-and-tools/skills/netlify-blobs ~/.claude/skills/netlify-blobsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/netlify/context-and-tools /tmp/context-and-tools && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/context-and-tools/skills/netlify-blobs ~/.gemini/antigravity-cli/skills/netlify-blobsAntigravity 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
Netlify Blobs is an agent skill that guides an AI assistant through using the @netlify/blobs module. It covers writing and reading objects and JSON values, reading metadata, conditional reads and writes using ETags, listing keys by prefix, deleting, and setting consistency and region options. It also explains file-based uploads from a deploy directory.
The skill is aimed at developers who need key/value or object storage from Netlify Functions, Edge Functions, or Build Plugins. It states that Blobs is not meant for per-user, transactional, or relational data, and points to Netlify DB for that. It also warns that a default site-wide store is shared across all deploy contexts, so previews can reach production data.
Written from the project's SKILL.md and checked against it.
What it can do
- Store and read valuesWrites strings, files, or JSON with set and setJSON, and reads them back with get.
- Metadata and conditional readsReads metadata with getWithMetadata and getMetadata, and skips data when an ETag still matches.
- Conditional writesUses onlyIfNew and onlyIfMatch options to create a key or update it only when the ETag matches.
- List and group keysLists blobs and directories with prefixes, and pages through results for large stores.
- Delete blobs and storesDeletes single keys with delete and removes every object in a store with deleteAll.
- Deploy-specific storesOpens getDeployStore stores that are scoped to one deploy and cleaned up when it is deleted.
- Expiration patternStores an expiration timestamp in metadata and deletes the blob on read once it has passed.
- File-based uploadsPlaces files under .netlify/blobs/deploy so they are uploaded to deploy-specific stores at deploy time.
What you need
- Node.js 18 or later, for the Fetch API
- A Netlify site with Functions, Edge Functions, or Build Plugins
- The @netlify/blobs npm module
Try asking
- Save an uploaded file from my Netlify function into a file-uploads store
- Cache my API results in a Netlify Blobs store with a one-hour expiration
- List all keys under the cats/ prefix in my Netlify Blobs store
Good to know
- Site-wide stores are shared across all deploy contexts, including previews.
- Updates and deletions can take up to 60 seconds to reach all locations under the default consistency.
- There is no concurrency control, so the last write wins.
- Functions written in Go cannot access Netlify Blobs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/netlify-blobs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to netlify-blobs
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
netlify-blobs: common questions
Can I use Netlify Blobs as a database?
No. The skill says Blobs is for objects, files, and cache-like state, and recommends Netlify DB for dynamic, per-user, transactional, or relational data.
Do blobs expire automatically?
No. The skill states that blobs never expire on their own, so you must store an expiration timestamp in metadata and delete the blob yourself.
Why does my store look empty after I change its region?
Changing a region does not move data. The store appears empty in the new region while its data stays in the old one, so entries must be copied to the new region.
How do I install netlify-blobs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is netlify-blobs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is netlify-blobs safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. 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 netlify-blobs?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
