netlify avatar

Netlify Blobs

This is Netlify's zero-config object storage for files and assets like images, documents, uploads, and cached artifacts. It's available across all Netlify compute contexts without provisioning. The skill covers getStore(), CRUD operations, metadata handling, and the important distinction between site-scoped and deploy-scoped stores. The most useful bit here is the clear guidance on what Blobs is not for: if you need to store queryable records or application state, you want Netlify Database instead. Reach for this when you're dealing with actual file blobs, not structured data. Includes local development setup and the common "environment not configured" error fix.

skills.sh installs
3.3K
GitHub stars
51
last updated
Aug 21, 2026

Install

$ npx -y skills add netlify/context-and-tools --skill netlify-blobs --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/netlify/context-and-tools
Categories
Backend & APIs, DevOps & CI/CD, Documentation, Release Management, Cloud & Infrastructure, Databases
First seen
Jun 3, 2026

More from netlify/context-and-tools

All 14
1heygen-com avatarheygen-videoheygen-com/skillsGenerate HeyGen presenter videos via the v3 Video Agent pipeline — handles Frame Check (aspect ratio correction), prompt engineering, avatar resolution, and voi3.3Kskills.sh installs
2actionbook avatarrust-learneractionbook/rust-skillsUse when asking about Rust versions or crate info. Keywords: latest version, what's new, changelog, Rust 1.x, Rust release, stable, nightly, crate info, crates.3.3Kskills.sh installs
3dpearson2699 avatarmusickitdpearson2699/swift-ios-skillsIntegrate Apple Music playback, catalog search, and Now Playing metadata using MusicKit and MediaPlayer. Use when adding music search, Apple Music subscription 3.3Kskills.sh installs
4astral-sh avatartyastral-sh/claude-code-pluginsGuide for using ty, the extremely fast Python type checker and language server. Use this when type checking Python code or setting up type checking in Python pr3.3Kskills.sh installs
5markdown-viewer avatardata-analyticsmarkdown-viewer/skillsCreate data pipeline and analytics architecture diagrams using PlantUML syntax with database/analytics stencil icons. Best for ETL pipelines, data lakes, real-t3.2Kskills.sh installs
6affaan-m avatarggetaffaan-m/eccgget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evide3.2Kskills.sh installs