Netlify Blobs
Netlify Blobs storage guide for files, assets, and cached binaries, with deploy-scoped and site-wide store options.
- CCM score
- 83 of 100
- skills.sh installs
- 3.5K
- GitHub stars
- 57
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers
getStore()andgetDeployStore()usage, CRUD operations, metadata, listing, expiration, and consistency settings - Includes null-checked conditional reads via
etag, atomiconlyIfNewandonlyIfMatchwrites, and paginatedlist()calls - Enforces the rule that a site-wide store is shared across all deploy contexts, so previews can overwrite production data
- Designed for file uploads, cached function output, and downloadable assets in Functions, Edge Functions, and Build Plugins, not for relational or transactional data
Install
$ npx -y skills add netlify/context-and-tools --skill netlify-blobs -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Netlify Blobs
Modern syntax: import from @netlify/blobs, open a store, then call methods on the handle.
import { getStore, getDeployStore, listStores } from "@netlify/blobs";
import type { Context } from "@netlify/functions"; // or "@netlify/edge-functions"
In Functions, Edge Functions, and Build Plugins, siteID, deployID, token (and region for getDeployStore) are injected automatically. Install with npm install @netlify/blobs.
Not a database. For dynamic, per-user, transactional, or relational data, use Netlify DB. Blobs is for objects, files, and cache-like state. It is optimized for frequent reads and infrequent writes.
Store scope is a footgun. Read this first. getStore opens a site-wide store shared across ALL deploy contexts. Code on a deploy preview reads, overwrites, and deletes production data. Never run destructive tests or seed throwaway data from a preview against a site-wide store. Use getDeployStore() or a context-specific store name for isolation.
Choosing a store type
Details
- Repository
- github.com/netlify/context-and-tools
- Categories
- Backend & APIs, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What is the netlify-blobs skill for?
The netlify-blobs skill guides an agent to store and retrieve files, images, documents, uploads, exports and cached binary artifacts with Netlify Blobs. It covers getStore(), CRUD operations, metadata, listing, deploy-scoped versus site-wide stores, and local development.
Is Netlify Blobs a good fit for a dynamic database?
No, the skill says Blobs is not a dynamic data store. For per-user, transactional or relational data, it points to Netlify DB instead, since Blobs is meant for objects, files and cache-like state.
How do I install the netlify-blobs skill?
Run npx -y skills add netlify/context-and-tools --skill netlify-blobs -y in your project. Once installed, the agent can write code that persists uploads, caches function output and serves downloadable assets through @netlify/blobs.
Where does netlify-blobs stand in the Backend and APIs category?
The skill sits in the Backend and APIs category on Claude Marketplaces, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It sets itself apart by focusing on file and object storage with Netlify Blobs rather than databases.
More from netlify/context-and-tools
All 12Similar to Netlify Blobs
More Backend & APIsnetlify-cachingnetlify/context-and-tools3.5K installsNetlify CDN caching controls for function and edge responses, including headers, purges, and the Cache API.
netlify-deploynetlify/context-and-tools4K installsModern Netlify CLI and Git workflow guide for deploying, previewing, and managing web project deploys.
netlify-developmentmindrally/skills711 installsNetlify development guidance covering serverless, edge, background, and scheduled functions, plus Blobs and build config.
azure-storagemicrosoft/azure-skills784.9K installsAzure Storage guidance covering five services, access tiers, redundancy, and CLI or MCP operations.
vercel-storagevercel/vercel-plugin326 installsStorage guidance for choosing and using Blob, Global Config, and Marketplace databases on Vercel.